First Commit
This commit is contained in:
11
externals/glslang/Test/spv.shadingRate.frag
vendored
Normal file
11
externals/glslang/Test/spv.shadingRate.frag
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_NV_shading_rate_image : require
|
||||
|
||||
layout (location = 0) out vec2 FragmentSize;
|
||||
layout (location = 2) out int InvocationsPerPixel;
|
||||
|
||||
void main () {
|
||||
FragmentSize = gl_FragmentSizeNV;
|
||||
InvocationsPerPixel = gl_InvocationsPerPixelNV;
|
||||
}
|
||||
Reference in New Issue
Block a user