3 //make sure the builtins don't exist if the extension isn't enabled.
4 //#extension GL_EXT_fragment_invocation_density : require
6 layout (location = 0) out vec2 FragSize;
7 layout (location = 2) out int FragInvocationCount;
10 FragSize = gl_FragSizeEXT;
11 FragInvocationCount = gl_FragInvocationCountEXT;