12 lines
281 B
GLSL
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;
|
|
}
|