bloat-buster/dependencies/glslang-15.0.0/Test/baseResults/spv.debuginfo.multiline.glsl.frag.out
David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

166 lines
8.7 KiB
Plaintext

spv.debuginfo.multiline.glsl.frag
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 109
Capability Shader
Extension "SPV_KHR_non_semantic_info"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 14 "main" 75 81
ExecutionMode 14 OriginUpperLeft
2: String "spv.debuginfo.multiline.glsl.frag"
8: String "uint"
17: String "float"
29: String "add"
32: String "// OpModuleProcessed auto-map-locations
// OpModuleProcessed auto-map-bindings
// OpModuleProcessed client vulkan100
// OpModuleProcessed target-env vulkan1.0
// OpModuleProcessed keep-uncalled
// OpModuleProcessed entry-point main
#line 1
#version 460
in float inx;
out float outx;
float add(float x, float y, float z) {
return
x
+
y
+
z
;
}
void main() {
outx
=
add(
inx+1,
inx+2,
inx+3
)
;
}"
38: String "x"
44: String "y"
47: String "z"
49: String "main"
77: String "outx"
83: String "inx"
Name 14 "main"
Name 27 "add(f1;f1;f1;"
Name 24 "x"
Name 25 "y"
Name 26 "z"
Name 75 "outx"
Name 81 "inx"
Name 99 "param"
Name 102 "param"
Name 103 "param"
Decorate 75(outx) Location 0
Decorate 81(inx) Location 0
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
10: 7(int) Constant 32
11: 7(int) Constant 6
12: 7(int) Constant 0
9: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
13: 7(int) Constant 3
6: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
16: TypeFloat 32
18: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12
19: TypePointer Function 16(float)
20: 7(int) Constant 7
21: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 20 12
22: TypeFunction 16(float) 19(ptr) 19(ptr) 19(ptr)
23: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 18 18 18
31: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 32
34: 7(int) Constant 1
35: 7(int) Constant 4
36: 7(int) Constant 2
33: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 34 35 31 36
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 29 23 31 11 12 33 29 13 11
37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 38 18 31 11 12 30 35 34
40: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
43: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 44 18 31 11 12 30 35 36
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 18 31 11 12 30 35 13
51: 7(int) Constant 16
50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 49 6 31 51 12 33 49 13 51
55: 7(int) Constant 8
58: 7(int) Constant 10
62: 7(int) Constant 12
69: 7(int) Constant 14
73: TypePointer Output 16(float)
74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12
75(outx): 73(ptr) Variable Output
78: 7(int) Constant 17
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 18 31 78 12 33 77 75(outx) 55
79: TypePointer Input 16(float)
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 34 12
81(inx): 79(ptr) Variable Input
84: 7(int) Constant 20
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 83 18 31 84 12 33 83 81(inx) 55
87: 16(float) Constant 1065353216
91: 7(int) Constant 21
92: 16(float) Constant 1073741824
96: 7(int) Constant 22
97: 16(float) Constant 1077936128
101: 7(int) Constant 23
106: 7(int) Constant 18
108: 7(int) Constant 25
14(main): 4 Function None 5
15: Label
99(param): 19(ptr) Variable Function
102(param): 19(ptr) Variable Function
103(param): 19(ptr) Variable Function
71: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 50
72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 51 51 12 12
70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 50 14(main)
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 84 84 12 12
85: 16(float) Load 81(inx)
88: 16(float) FAdd 85 87
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 91 91 12 12
89: 16(float) Load 81(inx)
93: 16(float) FAdd 89 92
95: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 96 96 12 12
94: 16(float) Load 81(inx)
98: 16(float) FAdd 94 97
100: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 101 101 12 12
Store 99(param) 88
Store 102(param) 93
Store 103(param) 98
104: 16(float) FunctionCall 27(add(f1;f1;f1;) 99(param) 102(param) 103(param)
105: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 106 106 12 12
Store 75(outx) 104
107: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 108 108 12 12
Return
FunctionEnd
27(add(f1;f1;f1;): 16(float) Function None 22
24(x): 19(ptr) FunctionParameter
25(y): 19(ptr) FunctionParameter
26(z): 19(ptr) FunctionParameter
28: Label
41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30
42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 11 11 12 12
39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 37 24(x) 40
45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 43 25(y) 40
48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 46 26(z) 40
52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 30 27(add(f1;f1;f1;)
54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 55 55 12 12
53: 16(float) Load 24(x)
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 58 58 12 12
56: 16(float) Load 25(y)
59: 16(float) FAdd 53 56
61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 62 62 12 12
60: 16(float) Load 26(z)
63: 16(float) FAdd 59 60
64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 20 20 12 12
ReturnValue 63
FunctionEnd