// 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/ConvertIndexIndirectLineLoop.comp.00000000.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kConvertIndexIndirectLineLoop_comp_00000000[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x56,0x7f,0x68,0x55,0x65, 0x18,0x3e,0xef,0xbd,0xd7,0x3b,0xd3,0x28,0xa7,0xbb,0xe9,0xad,0xdc,0xdd,0x52,0x82, 0xb1,0x58,0x4d,0xb4,0x46,0xba,0xb9,0xe1,0x1f,0x0a,0x0d,0xa5,0x1f,0xa3,0xdd,0x56, 0xab,0x70,0x45,0xb2,0x1f,0xe6,0x75,0x8e,0xc0,0x24,0xb7,0x5c,0x30,0x09,0x59,0x69, 0x05,0x73,0xa3,0x8d,0xfe,0x88,0x6d,0xd5,0x1f,0xfb,0x2f,0x22,0x07,0x51,0x6d,0xad, 0x10,0x04,0x4b,0x50,0x10,0x2c,0x61,0x82,0x65,0x2e,0xe8,0x77,0x59,0xdf,0x7b,0xde, 0xe7,0x93,0xc7,0xc3,0x19,0x1c,0xce,0xbe,0xe7,0x7d,0xdf,0xe7,0x7d,0xbf,0xe7,0xf9, 0xce,0xb9,0x27,0x99,0x58,0x53,0x14,0x04,0x12,0x2c,0x09,0x16,0x07,0xc7,0x25,0x08, 0xff,0x8a,0x83,0x44,0xa0,0xff,0x2e,0x0d,0xd2,0xe1,0x7d,0x6b,0xe3,0xa3,0x8d,0x55, 0x7b,0xbb,0xdb,0xaa,0xd6,0x6f,0xb8,0x4f,0xe3,0xb7,0x04,0xc9,0x30,0x4f,0x63,0xb7, 0xba,0x9c,0x45,0xee,0x9e,0x72,0x57,0xe7,0xb3,0xbb,0xba,0x14,0xef,0x74,0xd7,0x32, 0x87,0xa7,0x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xbb,0x1f, 0xfe,0xea,0x7c,0x07,0xc8,0xdf,0x2f,0xc9,0x5f,0xd5,0xdc,0x6b,0x37,0x4d,0x7e,0xf5, 0x63,0x1f,0xbd,0xc8,0x67,0x5d,0xbf,0xc6,0x6f,0xdd,0x00,0xe9,0xfa,0x0d,0x70,0xaf, 0xd7,0x49,0x7c,0x9f,0x66,0x11,0xd3,0x39,0x4e,0x82,0xd7,0xcf,0x71,0x0a,0xb1,0x02, 0x69,0x7f,0x1a,0xdf,0x80,0x05,0xe2,0xfa,0x96,0xbe,0x01,0x4f,0x53,0xcf,0xef,0x10, 0xf3,0x79,0x67,0xa8,0xe7,0x29,0xf4,0x3c,0x83,0x3c,0xcf,0x7f,0x16,0x3d,0xf9,0x1b, 0xf3,0x1c,0xd5,0x9d,0x45,0xdd,0x39,0x7c,0x4b,0xfa,0xba,0xf3,0xa8,0xab,0x20,0xec, 0x02,0x66,0xad,0x20,0xae,0xef,0x69,0xd6,0x0b,0x34,0xeb,0x0f,0x88,0xf9,0xbc,0x8b, 0xd4,0xf3,0x3c,0x7a,0x5e,0x44,0x9e,0xe7,0xbf,0x84,0x9e,0xf3,0x84,0x5d,0x46,0xcf, 0x79,0xe2,0xfa,0x91,0x7a,0x5e,0xa6,0x9e,0x3f,0x21,0xe6,0xf3,0xae,0x50,0xcf,0x4b, 0xe8,0x79,0x05,0x79,0xfc,0xad,0xbb,0x10,0x7e,0xcf,0x49,0x50,0xe3,0xae,0xff,0x01, 0xcd,0xfd,0x4e,0x8c,0x24,0x11,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 dstData[]; // }; // // layout(set = 0, binding = 1)readonly buffer src // { // // uint srcData[]; // }; // // layout(set = 0, binding = 2)readonly buffer cmd // { // // uint cmdData[]; // }; // // layout(set = 0, binding = 3)buffer dstCmd // { // // uint dstCmdData[]; // }; // // layout(push_constant)uniform PushConstants // { // // uint cmdOffsetDiv4; // // uint dstCmdOffsetDiv4; // // uint srcOffset; // // uint dstOffsetDiv4; // // uint isRestartEnabled; // }; // // uint GetIndexValue(uint index) // { // // index += srcOffset >>(2 - 2); // // uint srcBlock = srcData[index >> 2]; // // uint srcShift =((index & 0x3)<< 3); // // uint value =(srcBlock >> srcShift)& 0xff; // return value; // // } // // void PutIndexValue(uint index, uint value) // { // // uint dstIndex = dstOffsetDiv4 +(index >> 2); // // uint srcBlock = dstData[dstIndex]; // // uint srcShift =((index & 0x3)<< 3); // // srcBlock &= ~(0xff << srcShift); // // srcBlock |= value << srcShift; // // dstData[dstIndex]= srcBlock; // // } // // void main() // { // // uint indexCount = cmdData[cmdOffsetDiv4]; // uint firstIndex = cmdData[cmdOffsetDiv4 + 2]; // uint endIndex = firstIndex + indexCount; // // if(gl_GlobalInvocationID . x >= 1) // return; // // uint workingCount = 0; // uint srcIdx = firstIndex; // uint indicesRemaining = indexCount; // uint lineSize = 0; // uint firstIndexValue = 0; // while(indicesRemaining > 0) // { // uint indexValue; // uint restartValue = 0xff; // indexValue = GetIndexValue(srcIdx ++); // if(lineSize == 0) // { // firstIndexValue = indexValue; // } // indicesRemaining --; // if((isRestartEnabled == 1)&&(indexValue == restartValue)) // { // // if(lineSize > 1) // { // PutIndexValue(workingCount ++, firstIndexValue); // } // if(lineSize > 0) // { // PutIndexValue(workingCount ++, restartValue); // } // lineSize = 0; // } else { // PutIndexValue(workingCount, indexValue); // workingCount ++; // lineSize ++; // } // } // if(lineSize > 1) // { // PutIndexValue(workingCount, firstIndexValue); // workingCount ++; // } // // dstCmdData[dstCmdOffsetDiv4]= workingCount; // dstCmdData[dstCmdOffsetDiv4 + 1]= cmdData[cmdOffsetDiv4 + 1]; // dstCmdData[dstCmdOffsetDiv4 + 2]= 0; // dstCmdData[dstCmdOffsetDiv4 + 3]= cmdData[cmdOffsetDiv4 + 3]; // dstCmdData[dstCmdOffsetDiv4 + 4]= cmdData[cmdOffsetDiv4 + 4]; // }