12 lines
320 B
Plaintext
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));
|
|
}
|
|
|