// GENERATED FILE - DO NOT EDIT. // Generated by gen_vk_internal_shaders.py. // // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // shaders/gen/ConvertIndex.comp.00000001.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kConvertIndex_comp_00000001[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0x4d,0x6b,0x53,0x51, 0x10,0x86,0x4f,0xee,0xbd,0xbd,0xad,0x14,0xfc,0xc0,0xd6,0x26,0xa0,0x49,0x6a,0x70, 0x53,0xa5,0x15,0xb1,0x62,0x10,0x45,0x17,0x45,0x0b,0xa9,0x5a,0x02,0x82,0x66,0x55, 0x70,0xe3,0x42,0x2b,0x26,0x3f,0xc0,0xd4,0x2a,0x48,0x6d,0xfd,0x01,0x2a,0x2a,0x42, 0xd5,0x2e,0xc4,0x5f,0x20,0xb5,0x54,0xa2,0xb8,0x2c,0xae,0xfd,0xfa,0x0d,0xe2,0x17, 0x52,0x67,0x4e,0x9e,0x13,0xc7,0x06,0x86,0x73,0xe6,0x9d,0x77,0x66,0xce,0xbc,0xe7, 0xdc,0xc4,0x51,0xa9,0xdb,0xb9,0x8c,0xeb,0x75,0x3d,0xee,0xab,0x6b,0xff,0xb6,0xb9, 0x48,0x10,0x27,0x58,0xea,0xd7,0x93,0x95,0x6a,0x65,0xb8,0xde,0xb8,0x38,0x7c,0x70, 0x74,0xbf,0xc6,0x37,0xbb,0xd8,0xf3,0x34,0xb6,0x45,0x38,0x5d,0xb2,0x26,0x62,0x97, 0xa7,0x2e,0x5d,0x51,0xfc,0xb4,0xd8,0x56,0xc1,0x13,0x5f,0xcb,0xb9,0xe3,0x70,0x7d, 0x2d,0xc9,0xed,0x93,0x35,0x12,0x3b,0x25,0x99,0x7d,0xf4,0x2c,0xb1,0x06,0x2c,0x03, 0x96,0x18,0x2c,0x02,0xeb,0xf1,0x75,0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,0x83,0x5b, 0x5d,0xbe,0x80,0x97,0x89,0x85,0x3e,0x6b,0xc4,0xf4,0xfd,0xbf,0x01,0xfb,0x80,0x8e, 0x6b,0xbc,0x9f,0xa0,0x81,0xae,0xdf,0x5c,0xb7,0xe7,0x7c,0x84,0x53,0x83,0x5f,0x37, 0x6f,0xeb,0x26,0x6f,0xab,0x6a,0x66,0xbe,0x05,0x1e,0x34,0xbc,0x0d,0x36,0x69,0xf4, 0x9a,0xe3,0xfb,0xcd,0x12,0x3f,0x26,0x77,0x32,0x47,0x2f,0xfb,0x8e,0x75,0xfd,0x23, 0xff,0x0e,0x87,0xc5,0xfe,0x02,0xc2,0xd4,0x28,0x70,0x4c,0x07,0x00,0x00 }; // Generated from: // // #version 450 core // // layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in; // // layout(set = 0, binding = 0) buffer dst // { // // uint dstIndexBuf[]; // }; // // layout(set = 0, binding = 1) readonly buffer src // { // // uint srcIndexBuf[]; // }; // // layout(push_constant) uniform PushConstants // { // // uint srcIndexOffset; // // uint dstIndexBufOffsetDiv4; // // uint maxIndex; // // uint _padding; // }; // // uint PullIndex(uint index) // { // uint srcIndex = index + srcIndexOffset; // uint srcBlock = srcIndexBuf[srcIndex >> 2]; // uint srcComponent = (srcIndex & 3); // // uint value = (srcBlock >> (srcComponent << 3)) & 0xFF; // // if (value == 0xFF) // value = 0xFFFF; // // return value; // } // // void PackIndexValue(uint srcValue, uint indexIndex, inout uint dstValue) // { // // dstValue |= srcValue << (indexIndex << 4); // } // // void main() // { // // uint firstIndex = 0; // uint endIndex = firstIndex + maxIndex; // // uint index = ( (gl_GlobalInvocationID.x + (firstIndex >> 1)) << 1); // // if (index >= endIndex) // return; // // uint dstValue = 0; // // if (index >= firstIndex) // { // uint srcValue = PullIndex(index); // PackIndexValue(srcValue, 0, dstValue); // } // // if (index + 1 < endIndex) // { // uint srcValue = PullIndex(index + 1); // PackIndexValue(srcValue, 1, dstValue); // } // // dstIndexBuf[dstIndexBufOffsetDiv4 + gl_GlobalInvocationID.x] = dstValue; // // }