glslang/Test/spv.shadingRate.frag
2018-09-19 13:07:43 -07:00

11 lines
264 B
GLSL

#version 450
#extension GL_NV_shading_rate_image : require
layout (location = 0) out vec2 FragmentSize;
layout (location = 2) out int InvocationsPerPixel;
void main () {
FragmentSize = gl_FragmentSizeNV;
InvocationsPerPixel = gl_InvocationsPerPixelNV;
}