yum-mirror/glslang

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

Thomas NiblerPreprocessor: Implement stringify operator66de1f9f

main
580 B36 linesraw
1#version 450
2#extension GL_EXT_debug_printf : enable
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18bool before, after;
19
20void main() {
21               8 == 9 ? 9 : 8;
22                  "12 3";
23    debugPrintfEXT("%d", (before, "letters_too", "letters_too", after, 1));
24                             debugPrintfEXT("aaa1");
25
26    int pasted_symbol;
27    float pasted_symbol2;
28                    debugPrintfEXT("string");
29                         "3 == 4 ? 4 :3";
30                     "3 == 4 ? 4 :3";
31                "aaa";
32                  "hello";
33    debugPrintfEXT("regular string");
34    debugPrintfEXT("");
35}
36