SPIRV-Cross-Vulnerable/reference/shaders/amd/shader_ballot_nonuniform_invocations.invalid.comp
2017-11-22 19:05:38 +01:00

12 lines
320 B
Plaintext

#version 450
#extension GL_AMD_shader_ballot : require
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main()
{
float addInvocations = addInvocationsNonUniformAMD(0.0);
int minInvocations = minInvocationsNonUniformAMD(1);
uint maxInvocations = uint(maxInvocationsNonUniformAMD(4));
}