yum-mirror/glslang

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

Qingyuan ZhengAdd AST node for variable declarators for better quality debug info (#4074)0a8b2975

main
303 B24 linesraw
1#version 460
2
3uniform UBO {
4    int x;
5};
6
7out vec4 outColor;
8
9void main() {
10    int x = 41;
11    {
12        int x = 42;
13
14        while (bool test = x < 45) {
15            x += 1;
16        }
17
18        for (int x = 50; bool test = x < 53; ) {
19            x += 1;
20        }
21
22        outColor = vec4(x);
23    }
24}