Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git] / Test / spv.shadingRate.frag
1 #version 450
2
3 #extension GL_NV_shading_rate_image : require
4
5 layout (location = 0) out vec2 FragmentSize;
6 layout (location = 2) out int InvocationsPerPixel;
7
8 void main () {
9     FragmentSize = gl_FragmentSizeNV;
10     InvocationsPerPixel = gl_InvocationsPerPixelNV;
11 }