glslang/Test/spv.shadingRate.frag

11 lines
264 B
GLSL
Raw Permalink Normal View History

2018-09-19 18:43:21 +00:00
#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;
}