yum-mirror/glslang

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

Greg FischerMerge pull request #2685 from kevin-mccullough/FixIsIoResizeArrayTesselationStageHandlingc2604615

main
392 B21 linesraw
1#version 440
2
3layout(location = 0) in Primitive
4{
5    vec2 texCoord;
6} IN[];
7
8layout(location = 0) out Primitive
9{
10    vec2 texCoord;
11} OUT[];
12
13layout(vertices = 3) out;
14void main()
15{
16    OUT[gl_InvocationID].texCoord = IN[gl_InvocationID].texCoord;
17
18    float tessLevel = 10.0;
19    gl_TessLevelOuter[gl_InvocationID] = tessLevel;
20    gl_TessLevelInner[0] = tessLevel;
21}