yum-mirror/glslang

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

Ralph PotterMake printf require that the first parameter be a string literal6fd3b430

main
1.7 KiB34 linesraw
1spv.debugPrintf.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 20
5
6                              Capability Shader
7                              Extension  "SPV_KHR_non_semantic_info"
8               1:             ExtInstImport  "GLSL.std.450"
9              11:             ExtInstImport  "NonSemantic.DebugPrintf"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main"
12                              ExecutionMode 4 OriginUpperLeft
13               6:             String  "ASDF \ ? \ %d %d %d"
14              13:             String  "ABAZ"
15              15:             String  "B#$B1Z"
16              17:             String  "macro expanded: %d"
17                              Source GLSL 450
18                              SourceExtension  "GL_EXT_debug_printf"
19                              Name 4  "main"
20               2:             TypeVoid
21               3:             TypeFunction 2
22               7:             TypeInt 32 1
23               8:      7(int) Constant 1
24               9:      7(int) Constant 2
25              10:      7(int) Constant 3
26              18:      7(int) Constant 4
27         4(main):           2 Function None 3
28               5:             Label
29              12:           2 ExtInst 11(NonSemantic.DebugPrintf) 1(DebugPrintf) 6 8 9 10
30              14:           2 ExtInst 11(NonSemantic.DebugPrintf) 1(DebugPrintf) 13
31              16:           2 ExtInst 11(NonSemantic.DebugPrintf) 1(DebugPrintf) 15
32              19:           2 ExtInst 11(NonSemantic.DebugPrintf) 1(DebugPrintf) 17 18
33                              Return
34                              FunctionEnd