blob: 805e15c33dfacabd736b0090ba5660a166a3b67c [file] [log] [blame]
// 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,0x6d,0x94,0xdb,0x4b,0x94,0x61,
0x10,0xc6,0x67,0xbf,0x3d,0x68,0x07,0x3a,0xd0,0x9a,0x2b,0xd4,0xee,0xda,0xd2,0x8d,
0x85,0x86,0x54,0x04,0x51,0x56,0x82,0x6b,0xa9,0x10,0x98,0x7b,0x1f,0x74,0x93,0xe1,
0x7a,0x51,0x97,0xbb,0xad,0x41,0x98,0xf6,0x07,0x54,0x54,0x04,0xd6,0x95,0x04,0xd1,
0x4d,0x58,0x04,0x16,0x51,0x96,0xf5,0xf7,0x44,0x27,0xa2,0x66,0x5e,0x7f,0xaf,0x4c,
0xd2,0xc2,0xcb,0x7c,0xf3,0xcc,0xcc,0x33,0x33,0xcf,0xf7,0x7e,0x9b,0x4e,0x2a,0x6d,
0x22,0x29,0xd9,0x2c,0xed,0xf2,0x45,0xd6,0x7e,0x3b,0x25,0x51,0x44,0x64,0x8b,0xe4,
0x82,0xad,0x8e,0x8e,0x8f,0xf6,0x5e,0xbd,0x76,0xa9,0xf7,0xf0,0x91,0x43,0x16,0xdf,
0x26,0xe9,0x90,0x67,0xb1,0xed,0x9a,0x93,0x55,0x9b,0xd1,0x33,0x75,0xf1,0x72,0xdd,
0xf0,0x61,0x3d,0x3b,0x14,0xcf,0x04,0x2e,0x91,0x53,0xe4,0xa6,0x42,0x2c,0x2b,0x79,
0xfa,0x54,0xb0,0x11,0x4b,0x81,0x65,0x1c,0x96,0x80,0xb5,0x3b,0x2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0x7c,
0xd5,0x69,0xf2,0x09,0x5d,0x56,0xb8,0x0f,0x71,0x2f,0xb3,0x5f,0xa5,0x2d,0xe4,0x7c,
0x26,0xa7,0x46,0x7e,0xdd,0xdd,0x95,0x19,0xee,0xca,0x98,0xdb,0xe3,0x06,0x78,0xd4,
0xe5,0x26,0xd8,0x88,0xd3,0x60,0x96,0xef,0xb1,0x40,0xfc,0xa4,0xea,0x3c,0x4b,0x2f,
0x7f,0x2f,0xcd,0xfe,0xd6,0xaf,0xfd,0x98,0x9e,0xbf,0x3d,0x58,0x8f,0xf2,0x18,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;
//
// 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;
//
// }