SPIRV-Cross/reference/shaders-no-opt/comp/shader_ballot_nonuniform_invocations.invalid.comp

12 lines
320 B
Plaintext
Raw Normal View History

2017-11-23 08:57:30 +00:00
#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));
}