SPIRV-Cross/reference/opt/shaders/amd/shader_group_vote.comp

15 lines
291 B
Plaintext
Raw Normal View History

2017-11-23 08:57:30 +00:00
#version 450
#extension GL_ARB_shader_group_vote : require
2017-11-23 08:57:30 +00:00
layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in;
layout(binding = 0, std430) buffer inputData
{
float inputDataArray[];
} _12;
2017-11-23 08:57:30 +00:00
void main()
{
bool _31 = _12.inputDataArray[gl_LocalInvocationID.x] > 0.0;
2017-11-23 08:57:30 +00:00
}