SPV: Fix #1016: Don't allow non-GLSL-extension protected Layer and ViewportIndex members.
This commit is contained in:
@@ -9,4 +9,6 @@ layout(invocations = 4) in;
|
||||
void main()
|
||||
{
|
||||
gl_PointSize = gl_in[1].gl_PointSize;
|
||||
gl_Layer = 2;
|
||||
gl_ViewportIndex = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user