third_party/spirv-cross/reference/shaders-no-opt/comp/shader_ballot_nonuniform_invocations.invalid.comp
raw| 1 | #version 450 |
| 2 | #extension GL_AMD_shader_ballot : require |
| 3 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 4 | |
| 5 | void main() |
| 6 | { |
| 7 | float addInvocations = addInvocationsNonUniformAMD(0.0); |
| 8 | int minInvocations = minInvocationsNonUniformAMD(1); |
| 9 | uint maxInvocations = uint(maxInvocationsNonUniformAMD(4)); |
| 10 | } |
| 11 |