Merge pull request #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git] / Test / spv.fragmentDensity.vert
1 #version 450
2
3 // try using a fragment-only extension in a vertex shader
4 #extension GL_EXT_fragment_invocation_density : require
5
6 layout (location = 0) out uvec2 FragSize;
7 layout (location = 2) out int FragInvocationCount;
8
9 void main () {
10     FragSize = gl_FragSizeEXT;
11     FragInvocationCount = gl_FragInvocationCountEXT;
12 }