mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
18 lines
237 B
GLSL
18 lines
237 B
GLSL
#version 460 core
|
|
|
|
struct S {
|
|
float f;
|
|
vec4 v;
|
|
};
|
|
|
|
in S s;
|
|
|
|
void main()
|
|
{
|
|
interpolateAtCentroid(s.v);
|
|
bool b1;
|
|
b1 = anyInvocation(b1);
|
|
b1 = allInvocations(b1);
|
|
b1 = allInvocationsEqual(b1);
|
|
}
|