// 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.00000000.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kConvertIndex_comp_00000000[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xcd,0x4b,0x94,0x51, 0x14,0xc6,0xef,0xbc,0xf3,0xce,0x68,0x08,0x7d,0x90,0xe6,0x08,0x35,0x33,0x36,0xb4, 0xb1,0xd0,0x18,0x2a,0x82,0x28,0x2b,0xc1,0xa9,0x54,0x08,0xac,0xd9,0x07,0x6d,0x32, 0x1c,0x17,0xb5,0x1c,0xd3,0x20,0x4c,0xfb,0x03,0x2a,0x2a,0x02,0x6b,0x1f,0x6d,0xc2, 0x22,0xb0,0x88,0xb2,0x16,0xd5,0x7f,0x13,0x7d,0x11,0x75,0x9e,0xeb,0xef,0x95,0x93, 0x03,0x87,0x73,0xcf,0x73,0x9e,0xf3,0x79,0xef,0x3b,0xf9,0xa4,0xd6,0x11,0x42,0x2e, 0x74,0x85,0xce,0xf0,0x35,0xac,0xff,0x76,0x84,0xc4,0x90,0x60,0x58,0x31,0xea,0xc6, 0xf8,0xe4,0xf8,0xe0,0xb5,0xeb,0x97,0x07,0x0f,0x1d,0x3e,0x28,0xff,0xd6,0x90,0x8f, 0x3c,0xf9,0xb6,0x19,0xa7,0x60,0x3a,0x35,0x99,0xbe,0x74,0xa5,0x25,0xfc,0x8c,0xc9, 0x76,0xc3,0xd3,0x98,0x2b,0x84,0x93,0x70,0x63,0x2e,0x8b,0xed,0x36,0x9d,0x44,0x5e, 0x21,0x9e,0xf5,0xab,0xa1,0x33,0x2c,0x07,0x96,0x3a,0x2c,0x01,0xeb,0x8c,0x79,0xd2, 0x50,0x36,0x5d,0x84,0xa3,0xbc,0x15,0xd3,0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9b, 0xe0,0xd9,0x5e,0x6e,0x81,0x8d,0xb9,0x1d,0x2c,0xf0,0x9d,0x95,0xf0,0x9f,0xb0,0x3d, 0x2f,0x50,0xcb,0xbf,0x37,0xe9,0x3f,0xf6,0x15,0x1f,0x35,0xf9,0x07,0xec,0xf1,0x7e, 0x43,0xe4,0x06,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; // // 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; // // }