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

12 lines
281 B
GLSL

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