1// GENERATED FILE - DO NOT EDIT. 2// Generated by gen_vk_internal_shaders.py. 3// 4// Copyright 2018 The ANGLE Project Authors. All rights reserved. 5// Use of this source code is governed by a BSD-style license that can be 6// found in the LICENSE file. 7// 8// shaders/gen/ConvertIndirectLineLoop.comp.00000000.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kConvertIndirectLineLoop_comp_00000000[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x94,0x6b,0x4b,0xd4,0x51, 14 0x10,0xc6,0x8f,0xbb,0xeb,0x7a,0xc9,0xd6,0xcd,0x34,0x8b,0xbc,0x5b,0x5b,0x59,0xad, 15 0xbd,0x70,0xb7,0x35,0x31,0x5c,0x14,0x77,0x8b,0x45,0xf2,0x52,0x08,0x82,0x25,0x28, 16 0xa8,0xa0,0x60,0x9a,0xf6,0x46,0xf2,0x03,0x45,0xf4,0xe5,0xba,0x13,0x34,0x73,0xfc, 17 0x8d,0x4c,0x7f,0x14,0x8e,0xe7,0x3f,0xcf,0xcc,0xf3,0xcc,0xe5,0x9c,0xb3,0xe9,0xd4, 18 0x68,0x4b,0x08,0x4d,0xa1,0x3d,0xb4,0x86,0xb3,0x70,0xfe,0x77,0x2d,0xa4,0x04,0x09, 19 0xe1,0x4a,0xc8,0xc6,0xbd,0xd6,0x58,0x6e,0x14,0x0f,0x8f,0x36,0x8b,0x13,0xa5,0x27, 20 0xea,0xcf,0x85,0x74,0x8c,0x53,0x5f,0xa7,0xc4,0x34,0xcb,0x9e,0x91,0xb5,0xb7,0xb1, 21 0xb3,0xaf,0xf8,0xb0,0xac,0xbc,0xe0,0x99,0xa8,0x15,0xc2,0x0c,0xb1,0x51,0x4b,0xd0, 22 0x36,0xd9,0xb3,0x70,0xea,0xf2,0xbf,0x9d,0xbc,0x37,0xa3,0xdd,0x7c,0x61,0x8f,0xb2, 23 0xd7,0x24,0x9f,0x62,0x69,0xf8,0x1d,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e5,0xc5,0x25,0xbd,0xbc,0x04,0xb7,0xfc,0x0d,0xb0,0x5e,0x57,0xf7,0x82,0xab, 51 0xbb,0x41,0xdd,0x0b,0xf4,0x67,0xbc,0x57,0x70,0xac,0x6e,0xcb,0x5f,0x77,0x67,0xf4, 52 0x89,0x98,0x71,0xe2,0x7d,0x6d,0xaf,0xa9,0x6d,0xd6,0xd5,0xf6,0x06,0xdc,0xea,0x58, 53 0xe5,0xfd,0xe5,0xf0,0x69,0x1d,0xab,0xe8,0x5a,0x1d,0x6b,0xf8,0x0a,0x0e,0x5b,0xe7, 54 0x4e,0x17,0x9c,0xd6,0x5b,0x77,0xa7,0xd7,0x5d,0xce,0x77,0xf8,0x2c,0x6e,0xc3,0xe5, 55 0x5c,0x23,0xe7,0x06,0x71,0xa6,0xbf,0x49,0x4e,0xff,0x66,0xb6,0x1c,0x6f,0x13,0xde, 56 0x16,0x77,0xd4,0x78,0x3b,0xf0,0xb6,0x1d,0x6f,0xd7,0xf1,0x76,0xe0,0xed,0x26,0x78, 57 0xfb,0xf0,0xf6,0x1c,0x76,0x40,0x8f,0x5e,0xeb,0xbd,0xeb,0xf1,0xc0,0xf5,0x78,0x88, 58 0xcf,0xe2,0x8e,0x5c,0xce,0x7d,0x72,0x1e,0x11,0xe7,0xdf,0x9f,0xee,0x7f,0xe5,0x57, 59 0xb3,0x22,0xeb,0x1f,0x6b,0xef,0x11,0x8d,0xb0,0x08,0x00,0x00 60}; 61 62// Generated from: 63// 64// #version 450 core 65// 66// layout(local_size_x = 64, local_size_y = 1, local_size_z = 1)in; 67// 68// layout(set = 0, binding = 0)readonly buffer srcIndirectBuf 69// { 70// 71// uint indirectBuf[]; 72// }; 73// 74// layout(set = 0, binding = 1)buffer dstIndirectBuf 75// { 76// 77// uint indexIndirectBuf[]; 78// }; 79// 80// layout(set = 0, binding = 2)buffer dstIndexBuf 81// { 82// 83// uint dstData[]; 84// }; 85// 86// layout(push_constant)uniform PushConstants 87// { 88// 89// uint indirectBufferOffsetDiv4; 90// 91// uint indexIndirectBufOffsetDiv4; 92// 93// uint dstDataOffsetDiv4; 94// }; 95// 96// void main() 97// { 98// 99// uint vertexCount = indirectBuf[indirectBufferOffsetDiv4]; 100// uint firstVertex = indirectBuf[indirectBufferOffsetDiv4 + 2]; 101// 102// if(gl_GlobalInvocationID . x >= 1) 103// return; 104// 105// for(uint i = 0;i < vertexCount;i ++) 106// { 107// dstData[dstDataOffsetDiv4 + i]= firstVertex + i; 108// } 109// if(vertexCount > 1) 110// { 111// dstData[dstDataOffsetDiv4 + vertexCount]= firstVertex; 112// vertexCount ++; 113// } 114// 115// indexIndirectBuf[indexIndirectBufOffsetDiv4]= vertexCount; 116// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 1]= indirectBuf[indirectBufferOffsetDiv4 + 1]; 117// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 2]= 0; 118// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 3]= 0; 119// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 4]= indirectBuf[indirectBufferOffsetDiv4 + 3]; 120// } 121