Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
12 lines
265 B
GLSL
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;
|
|
}
|