SPV: Fix #1016: Don't allow non-GLSL-extension protected Layer and ViewportIndex members.
This commit is contained in:
parent
03e63fa805
commit
d6be6da031
5 changed files with 124 additions and 57 deletions
|
|
@ -9,4 +9,6 @@ layout(invocations = 4) in;
|
|||
void main()
|
||||
{
|
||||
gl_PointSize = gl_in[1].gl_PointSize;
|
||||
gl_Layer = 2;
|
||||
gl_ViewportIndex = 3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue