blob: decaf383c7c7e7b7046d258969575d1649299068 [file] [log] [blame]
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_vk_internal_shaders.py.
//
// Copyright 2020 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/ConvertIndirectLineLoop.comp.00000000.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kConvertIndirectLineLoop_comp_00000000[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x94,0x6b,0x4b,0xd4,0x51,
0x10,0xc6,0x8f,0xbb,0xeb,0x7a,0xc9,0xd6,0xcd,0x34,0x8b,0xbc,0x5b,0x5b,0x59,0xad,
0xbd,0x70,0xb7,0x35,0x31,0x5c,0x14,0x77,0x8b,0x45,0xf2,0x52,0x08,0x82,0x25,0x28,
0xa8,0xa0,0x60,0x9a,0xf6,0x46,0xf2,0x03,0x45,0xf4,0xe5,0xba,0x13,0x34,0x73,0xfc,
0x8d,0x4c,0x7f,0x14,0x8e,0xe7,0x3f,0xcf,0xcc,0xf3,0xcc,0xe5,0x9c,0xb3,0xe9,0xd4,
0x68,0x4b,0x08,0x4d,0xa1,0x3d,0xb4,0x86,0xb3,0x70,0xfe,0x77,0x2d,0xa4,0x04,0x09,
0xe1,0x4a,0xc8,0xc6,0xbd,0xd6,0x58,0x6e,0x14,0x0f,0x8f,0x36,0x8b,0x13,0xa5,0x27,
0xea,0xcf,0x85,0x74,0x8c,0x53,0x5f,0xa7,0xc4,0x34,0xcb,0x9e,0x91,0xb5,0xb7,0xb1,
0xb3,0xaf,0xf8,0xb0,0xac,0xbc,0xe0,0x99,0xa8,0x15,0xc2,0x0c,0xb1,0x51,0x4b,0xd0,
0x36,0xd9,0xb3,0x70,0xea,0xf2,0xbf,0x9d,0xbc,0x37,0xa3,0xdd,0x7c,0x61,0x8f,0xb2,
0xd7,0x24,0x9f,0x62,0x69,0xf8,0x1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x57,0xf7,0x82,0xab,
0xbb,0x41,0xdd,0x0b,0xf4,0x67,0xbc,0x57,0x70,0xac,0x6e,0xcb,0x5f,0x77,0x67,0xf4,
0x89,0x98,0x71,0xe2,0x7d,0x6d,0xaf,0xa9,0x6d,0xd6,0xd5,0xf6,0x06,0xdc,0xea,0x58,
0xe5,0xfd,0xe5,0xf0,0x69,0x1d,0xab,0xe8,0x5a,0x1d,0x6b,0xf8,0x0a,0x0e,0x5b,0xe7,
0x4e,0x17,0x9c,0xd6,0x5b,0x77,0xa7,0xd7,0x5d,0xce,0x77,0xf8,0x2c,0x6e,0xc3,0xe5,
0x5c,0x23,0xe7,0x06,0x71,0xa6,0xbf,0x49,0x4e,0xff,0x66,0xb6,0x1c,0x6f,0x13,0xde,
0x16,0x77,0xd4,0x78,0x3b,0xf0,0xb6,0x1d,0x6f,0xd7,0xf1,0x76,0xe0,0xed,0x26,0x78,
0xfb,0xf0,0xf6,0x1c,0x76,0x40,0x8f,0x5e,0xeb,0xbd,0xeb,0xf1,0xc0,0xf5,0x78,0x88,
0xcf,0xe2,0x8e,0x5c,0xce,0x7d,0x72,0x1e,0x11,0xe7,0xdf,0x9f,0xee,0x7f,0xe5,0x57,
0xb3,0x22,0xeb,0x1f,0x6b,0xef,0x11,0x8d,0xb0,0x08,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)readonly buffer srcIndirectBuf
// {
//
// uint indirectBuf[];
// };
//
// layout(set = 0, binding = 1)buffer dstIndirectBuf
// {
//
// uint indexIndirectBuf[];
// };
//
// layout(set = 0, binding = 2)buffer dstIndexBuf
// {
//
// uint dstData[];
// };
//
// layout(push_constant)uniform PushConstants
// {
//
// uint indirectBufferOffsetDiv4;
//
// uint indexIndirectBufOffsetDiv4;
//
// uint dstDataOffsetDiv4;
// };
//
// void main()
// {
//
// uint vertexCount = indirectBuf[indirectBufferOffsetDiv4];
// uint firstVertex = indirectBuf[indirectBufferOffsetDiv4 + 2];
//
// if(gl_GlobalInvocationID . x >= 1)
// return;
//
// for(uint i = 0;i < vertexCount;i ++)
// {
// dstData[dstDataOffsetDiv4 + i]= firstVertex + i;
// }
// if(vertexCount > 1)
// {
// dstData[dstDataOffsetDiv4 + vertexCount]= firstVertex;
// vertexCount ++;
// }
//
// indexIndirectBuf[indexIndirectBufOffsetDiv4]= vertexCount;
// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 1]= indirectBuf[indirectBufferOffsetDiv4 + 1];
// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 2]= 0;
// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 3]= 0;
// indexIndirectBuf[indexIndirectBufOffsetDiv4 + 4]= indirectBuf[indirectBufferOffsetDiv4 + 3];
// }