// 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.00000002.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kConvertIndexIndirectLineLoop_comp_00000002[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x95,0x6d,0x68,0x95,0x65, 0x18,0xc7,0xef,0xf3,0xb2,0xe3,0x5b,0x94,0xb5,0xad,0x17,0xf0,0xcc,0x93,0x7e,0xd8, 0xda,0x42,0x82,0x1d,0xd7,0x1b,0x4d,0xf7,0xc5,0xb9,0xda,0xa9,0x46,0xdf,0x72,0x83, 0x8a,0x26,0x24,0x95,0x96,0x61,0x1b,0x6d,0x14,0x41,0x1b,0x7d,0xd9,0xb7,0x90,0xdc, 0xb7,0xb6,0x66,0x8d,0x0c,0x4b,0x50,0x98,0x60,0x19,0x13,0x2c,0x73,0x7d,0x2b,0x89, 0xa2,0x08,0x29,0x44,0x0a,0x91,0x6c,0x4d,0x2d,0xbb,0xae,0x67,0xbf,0x7b,0xfd,0x7d, 0x38,0x07,0x6e,0x9e,0x73,0xfd,0xff,0xd7,0xf5,0xbf,0xde,0xee,0xf3,0x9c,0x5c,0x76, 0xfd,0xb2,0x10,0x32,0x61,0x65,0x58,0x1e,0xea,0x32,0x21,0xf9,0xdc,0x1c,0xb2,0xc1, 0xbf,0xae,0x0a,0x85,0xe4,0xd9,0xd9,0xfd,0x44,0xf7,0x86,0xdd,0xaf,0x3c,0xbb,0xa1, 0xbc,0xf1,0x1e,0xe7,0x6f,0x0c,0xb9,0xc4,0xcf,0xb9,0x9b,0xcc,0xa7,0xc6,0x9e,0x79, 0x3b,0x2f,0x3c,0xfd,0xdc,0x8b,0x8e,0x6f,0xb5,0xb3,0xda,0xf0,0x7c,0xa2,0x15,0xc2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0x9f,0xc2,0x45,0xbf,0x43,0x92,0xf3, 0x00,0x39,0x0f,0xe1,0x17,0xf5,0x0f,0x2f,0xd5,0xf3,0x7f,0xdc,0x11,0x89,0x3b,0x4c, 0xdc,0x11,0x7e,0x83,0x31,0xee,0x28,0x71,0x33,0x82,0x1d,0xa3,0xd6,0x19,0xd1,0xfa, 0x4c,0x6a,0x3d,0x26,0xb5,0x7e,0x0e,0x17,0xfd,0x8e,0x4b,0xce,0xa3,0xe4,0x3c,0x8e, 0x5f,0xd4,0x3f,0x41,0xce,0x59,0xc1,0x4e,0x92,0x73,0x56,0xb4,0xbe,0x94,0x9c,0x27, 0x25,0xe7,0x57,0x70,0xd1,0xef,0x94,0xe4,0x3c,0x41,0xce,0x53,0xf8,0xe9,0xff,0xf2, 0x5c,0x72,0x5f,0x32,0x96,0x27,0x13,0xfe,0x03,0x09,0x62,0xa1,0x7f,0xc0,0x0d,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 - 0); // // return srcData[index]; // // } // // void PutIndexValue(uint index, uint value) // { // // dstData[dstOffsetDiv4 + index]= value; // // } // // 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 = 0xffffffff; // 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]; // }