Add-support-for-SPV_NV_shading_rate
This commit is contained in:
parent
b50c02ef53
commit
5b2203db04
10 changed files with 93 additions and 1 deletions
11
Test/spv.shadingRate.frag
Normal file
11
Test/spv.shadingRate.frag
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue