yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

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

main
243 B14 linesraw
1#version 450 core
2
3layout(triangles) in;
4
5layout(line_strip) out;
6layout(max_vertices = 127) out;
7layout(invocations = 4) in;
8
9void main()
10{
11    gl_PointSize = gl_in[1].gl_PointSize;
12    gl_Layer = 2;
13    gl_ViewportIndex = 3;
14}