First Commit
This commit is contained in:
12
externals/glslang/Test/spv.fragmentDensity-neg.frag
vendored
Normal file
12
externals/glslang/Test/spv.fragmentDensity-neg.frag
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#version 450
|
||||
|
||||
//make sure the builtins don't exist if the extension isn't enabled.
|
||||
//#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;
|
||||
}
|
||||
Reference in New Issue
Block a user