bgfx/3rdparty/glslang/Test/spv.fragmentDensity.frag
Branimir Karadžić b9b9393a94 Updated glslang.
2018-12-02 20:13:19 -08:00

12 lines
265 B
GLSL

#version 450
#extension GL_EXT_fragment_invocation_density : require
layout (location = 0) out vec2 FragSize;
layout (location = 2) out int FragInvocationCount;
void main () {
FragSize = gl_FragSizeEXT;
FragInvocationCount = gl_FragInvocationCountEXT;
}