blob: 6f1209028b3b6ea4cec2ae168faf5f6540756d3f [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/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,0x6f,0x68,0x95,0x65,
0x18,0xc6,0x9f,0x73,0xce,0x76,0x9c,0x25,0xa5,0x35,0x4f,0x06,0xed,0x38,0x9b,0x7d,
0xb2,0x9d,0x56,0x59,0xcc,0x46,0xb1,0x69,0x75,0xac,0xf9,0x2d,0xdd,0x20,0x82,0x63,
0x30,0x84,0x59,0x86,0x6d,0xb5,0xd1,0x27,0x5d,0x7e,0xd9,0xb7,0x88,0xdc,0xb7,0xb6,
0xa6,0x08,0xc3,0xa5,0xa1,0x30,0xc1,0x12,0x26,0x58,0xa6,0x7e,0x34,0x8a,0x90,0x42,
0xa4,0x10,0x29,0xc4,0x7f,0xfd,0xd1,0x16,0xb9,0xee,0xfb,0x3d,0xbf,0x47,0x2e,0x5f,
0xce,0xe0,0xd9,0x73,0xee,0xeb,0xba,0xef,0xeb,0xfe,0xf3,0x3c,0xef,0xfb,0xe6,0xb2,
0x2d,0x0b,0x42,0xc8,0x84,0x7b,0x42,0x43,0x58,0x98,0x09,0xc9,0xdf,0x92,0x90,0x0d,
0xfe,0xf3,0xde,0x90,0x4f,0xf6,0xf2,0x86,0xd7,0x36,0x94,0x06,0xdf,0xeb,0x2b,0xad,
0x7e,0xa6,0xcd,0xf9,0xfb,0x42,0x2e,0xf1,0x73,0xee,0x7e,0xf3,0xa9,0xb7,0xbd,0xce,
0xd6,0xb6,0x37,0xfb,0xdf,0x71,0x7c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0xdc,
0x11,0xe2,0x66,0x04,0x3b,0x4a,0xad,0x33,0xa2,0xf5,0xa5,0xd4,0x7a,0x54,0x6a,0xfd,
0x0a,0x2e,0xfa,0x1d,0x93,0x9c,0x47,0xc8,0x79,0x0c,0xbf,0xa8,0x7f,0x9c,0x9c,0xb3,
0x82,0x9d,0x20,0xe7,0xac,0x68,0x7d,0x2d,0x39,0x4f,0x48,0xce,0x6f,0xe0,0xa2,0xdf,
0x49,0xc9,0x79,0x9c,0x9c,0x27,0xf1,0xd3,0x6f,0xa9,0xef,0xff,0xd9,0xc3,0xd0,0x6e,
0xeb,0x7f,0x75,0xf2,0xd9,0xb4,0x4c,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 dstOffsetDiv4;
//
// uint isRestartEnabled;
// };
//
// uint GetIndexValue(uint index)
// {
//
// 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];
// }