SPV: Fix #1016: Don't allow non-GLSL-extension protected Layer and ViewportIndex members.

This commit is contained in:
John Kessenich
2017-08-17 23:49:39 -06:00
parent 03e63fa805
commit d6be6da031
5 changed files with 124 additions and 57 deletions

View File

@@ -9,4 +9,6 @@ layout(invocations = 4) in;
void main()
{
gl_PointSize = gl_in[1].gl_PointSize;
gl_Layer = 2;
gl_ViewportIndex = 3;
}