SPV: Fix issue #376; declare Geometry capability for fragment use of gl_Layer.
This commit is contained in:
parent
91e4aa5900
commit
78a4557621
4 changed files with 84 additions and 16 deletions
10
Test/spv.430.frag
Normal file
10
Test/spv.430.frag
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 430 core
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = vec4(1.0);
|
||||
color *= gl_Layer;
|
||||
color *= gl_ViewportIndex;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue