David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06: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;
}