Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git] / Test / spv.fragmentDensity-neg.frag
1 #version 450
2
3 //make sure the builtins don't exist if the extension isn't enabled.
4 //#extension GL_EXT_fragment_invocation_density : require
5
6 layout (location = 0) out vec2 FragSize;
7 layout (location = 2) out int FragInvocationCount;
8
9 void main () {
10     FragSize = gl_FragSizeEXT;
11     FragInvocationCount = gl_FragInvocationCountEXT;
12 }