yum-mirror/glslang

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

Qingyuan ZhengFix function call line number for calls spanning multiple lines.704107fd

main
274 B25 linesraw
1#version 460
2
3in float inx;
4out float outx;
5
6float add(float x, float y, float z) {
7    return 
8        x
9        +
10        y
11        +
12        z
13    ;
14}
15
16void main() {
17    outx
18        =
19        add(
20            inx+1,
21            inx+2,
22            inx+3
23        )
24    ;
25}