yum-mirror/glslang

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

alelenvUpdate glslang for SPIRV issue 373458ff50a

main
11.6 KiB222 linesraw
1spv.ext.hitobject-allops.rgen
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 116
5
6                              Capability RayQueryKHR
7                              Capability RayTracingKHR
8                              Capability ShaderInvocationReorderEXT
9                              Extension  "SPV_EXT_shader_invocation_reorder"
10                              Extension  "SPV_KHR_ray_query"
11                              Extension  "SPV_KHR_ray_tracing"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical GLSL450
14                              EntryPoint RayGenerationKHR 4  "main" 9 14 22 25 36 42 43 44 49 56 112
15                              Source GLSL 460
16                              SourceExtension  "GL_EXT_ray_query"
17                              SourceExtension  "GL_EXT_ray_tracing"
18                              SourceExtension  "GL_EXT_shader_invocation_reorder"
19                              SourceExtension  "GL_NV_ray_tracing_motion_blur"
20                              Name 4  "main"
21                              Name 9  "attr"
22                              Name 12  "hBlock"
23                              MemberName 12(hBlock) 0  "attrval"
24                              Name 14  ""
25                              Name 22  "hObj"
26                              Name 25  "as"
27                              Name 36  "payload"
28                              Name 40  "pBlock"
29                              MemberName 40(pBlock) 0  "val1"
30                              MemberName 40(pBlock) 1  "val2"
31                              Name 42  ""
32                              Name 43  "hObjNop"
33                              Name 44  "hObjMiss"
34                              Name 49  "hObjHit"
35                              Name 54  "block"
36                              MemberName 54(block) 0  "op"
37                              Name 56  ""
38                              Name 71  "rayflags"
39                              Name 74  "tmin"
40                              Name 76  "tmax"
41                              Name 79  "orig"
42                              Name 81  "dir"
43                              Name 83  "oorig"
44                              Name 85  "odir"
45                              Name 89  "otw"
46                              Name 91  "wto"
47                              Name 94  "cid"
48                              Name 96  "iid"
49                              Name 98  "pid"
50                              Name 100  "gid"
51                              Name 102  "hkind"
52                              Name 106  "handle"
53                              Name 108  "rid"
54                              Name 112  "rq"
55                              Decorate 12(hBlock) Block
56                              Decorate 25(as) Binding 0
57                              Decorate 25(as) DescriptorSet 0
58                              Decorate 40(pBlock) Block
59                              Decorate 54(block) Block
60                              MemberDecorate 54(block) 0 Offset 0
61                              Decorate 56 Binding 1
62                              Decorate 56 DescriptorSet 0
63               2:             TypeVoid
64               3:             TypeFunction 2
65               6:             TypeFloat 32
66               7:             TypeVector 6(float) 2
67               8:             TypePointer HitObjectAttributeEXT 7(fvec2)
68         9(attr):      8(ptr) Variable HitObjectAttributeEXT
69              10:    6(float) Constant 1065353216
70              11:    7(fvec2) ConstantComposite 10 10
71      12(hBlock):             TypeStruct 6(float)
72              13:             TypePointer HitObjectAttributeEXT 12(hBlock)
73              14:     13(ptr) Variable HitObjectAttributeEXT
74              15:             TypeInt 32 1
75              16:     15(int) Constant 0
76              17:    6(float) Constant 1073741824
77              18:             TypePointer HitObjectAttributeEXT 6(float)
78              20:             TypeHitObjectEXT
79              21:             TypePointer Private 20
80        22(hObj):     21(ptr) Variable Private
81              23:             TypeAccelerationStructureKHR
82              24:             TypePointer UniformConstant 23
83          25(as):     24(ptr) Variable UniformConstant
84              27:             TypeInt 32 0
85              28:     27(int) Constant 1
86              29:             TypeVector 6(float) 3
87              30:    6(float) Constant 1056964608
88              31:   29(fvec3) ConstantComposite 30 30 30
89              32:   29(fvec3) ConstantComposite 10 10 10
90              33:     15(int) Constant 1
91              34:             TypeVector 6(float) 4
92              35:             TypePointer RayPayloadKHR 34(fvec4)
93     36(payload):     35(ptr) Variable RayPayloadKHR
94              38:    6(float) Constant 1092616192
95              39:     15(int) Constant 2
96      40(pBlock):             TypeStruct 7(fvec2) 7(fvec2)
97              41:             TypePointer RayPayloadKHR 40(pBlock)
98              42:     41(ptr) Variable RayPayloadKHR
99     43(hObjNop):     21(ptr) Variable Private
100    44(hObjMiss):     21(ptr) Variable Private
101              45:    6(float) Constant 1069547520
102              46:   29(fvec3) ConstantComposite 45 45 45
103              47:    6(float) Constant 1084227584
104              48:    6(float) Constant 1090519040
105     49(hObjHit):     21(ptr) Variable Private
106              50:             TypeBool
107       54(block):             TypeStruct 6(float)
108              55:             TypePointer StorageBuffer 54(block)
109              56:     55(ptr) Variable StorageBuffer
110              57:             TypePointer StorageBuffer 6(float)
111              68:    6(float) Constant 1077936128
112              70:             TypePointer Function 27(int)
113              73:             TypePointer Function 6(float)
114              78:             TypePointer Function 29(fvec3)
115              87:             TypeMatrix 29(fvec3) 4
116              88:             TypePointer Function 87
117              93:             TypePointer Function 15(int)
118             104:             TypeVector 27(int) 2
119             105:             TypePointer Function 104(ivec2)
120             110:             TypeRayQueryKHR
121             111:             TypePointer Private 110
122         112(rq):    111(ptr) Variable Private
123             113:     27(int) Constant 254
124             114:     27(int) Constant 4
125             115:     27(int) Constant 2
126         4(main):           2 Function None 3
127               5:             Label
128    71(rayflags):     70(ptr) Variable Function
129        74(tmin):     73(ptr) Variable Function
130        76(tmax):     73(ptr) Variable Function
131        79(orig):     78(ptr) Variable Function
132         81(dir):     78(ptr) Variable Function
133       83(oorig):     78(ptr) Variable Function
134        85(odir):     78(ptr) Variable Function
135         89(otw):     88(ptr) Variable Function
136         91(wto):     88(ptr) Variable Function
137         94(cid):     93(ptr) Variable Function
138         96(iid):     93(ptr) Variable Function
139         98(pid):     93(ptr) Variable Function
140        100(gid):     93(ptr) Variable Function
141      102(hkind):     70(ptr) Variable Function
142     106(handle):    105(ptr) Variable Function
143        108(rid):     70(ptr) Variable Function
144                              Store 9(attr) 11
145              19:     18(ptr) AccessChain 14 16
146                              Store 19 17
147              26:          23 Load 25(as)
148                              HitObjectTraceRayEXT 22(hObj) 26 28 28 28 28 28 31 30 32 10 36(payload)
149              37:          23 Load 25(as)
150                              HitObjectTraceRayMotionEXT 22(hObj) 37 28 28 28 28 28 31 30 32 10 38 42
151                              HitObjectRecordEmptyEXT 43(hObjNop)
152                              HitObjectRecordMissEXT 44(hObjMiss) 28 28 31 17 46 47
153                              HitObjectRecordMissMotionEXT 44(hObjMiss) 28 28 31 17 46 47 48
154                              HitObjectExecuteShaderEXT 49(hObjHit) 36(payload)
155              51:    50(bool) HitObjectIsHitEXT 22(hObj)
156                              SelectionMerge 53 None
157                              BranchConditional 51 52 59
158              52:               Label
159              58:     57(ptr)   AccessChain 56 16
160                                Store 58 10
161                                Branch 53
162              59:               Label
163              60:    50(bool)   HitObjectIsMissEXT 22(hObj)
164                                SelectionMerge 62 None
165                                BranchConditional 60 61 64
166              61:                 Label
167              63:     57(ptr)     AccessChain 56 16
168                                  Store 63 17
169                                  Branch 62
170              64:                 Label
171              65:    50(bool)     HitObjectIsEmptyEXT 22(hObj)
172                                  SelectionMerge 67 None
173                                  BranchConditional 65 66 67
174              66:                   Label
175              69:     57(ptr)       AccessChain 56 16
176                                    Store 69 68
177                                    Branch 67
178              67:                 Label
179                                  Branch 62
180              62:               Label
181                                Branch 53
182              53:             Label
183              72:     27(int) HitObjectGetRayFlagsEXT 49(hObjHit)
184                              Store 71(rayflags) 72
185              75:    6(float) HitObjectGetRayTMinEXT 49(hObjHit)
186                              Store 74(tmin) 75
187              77:    6(float) HitObjectGetRayTMaxEXT 49(hObjHit)
188                              Store 76(tmax) 77
189              80:   29(fvec3) HitObjectGetWorldRayOriginEXT 49(hObjHit)
190                              Store 79(orig) 80
191              82:   29(fvec3) HitObjectGetWorldRayDirectionEXT 49(hObjHit)
192                              Store 81(dir) 82
193              84:   29(fvec3) HitObjectGetObjectRayOriginEXT 49(hObjHit)
194                              Store 83(oorig) 84
195              86:   29(fvec3) HitObjectGetObjectRayDirectionEXT 49(hObjHit)
196                              Store 85(odir) 86
197              90:          87 HitObjectGetObjectToWorldEXT 49(hObjHit)
198                              Store 89(otw) 90
199              92:          87 HitObjectGetWorldToObjectEXT 49(hObjHit)
200                              Store 91(wto) 92
201              95:     15(int) HitObjectGetInstanceCustomIndexEXT 44(hObjMiss)
202                              Store 94(cid) 95
203              97:     15(int) HitObjectGetInstanceIdEXT 43(hObjNop)
204                              Store 96(iid) 97
205              99:     15(int) HitObjectGetPrimitiveIndexEXT 22(hObj)
206                              Store 98(pid) 99
207             101:     15(int) HitObjectGetGeometryIndexEXT 22(hObj)
208                              Store 100(gid) 101
209             103:     27(int) HitObjectGetHitKindEXT 22(hObj)
210                              Store 102(hkind) 103
211                              HitObjectGetAttributesEXT 22(hObj) 9(attr)
212             107:  104(ivec2) HitObjectGetShaderRecordBufferHandleEXT 22(hObj)
213                              Store 106(handle) 107
214             109:     27(int) HitObjectGetShaderBindingTableRecordIndexEXT 22(hObj)
215                              Store 108(rid) 109
216                              HitObjectRecordFromQueryEXT 49(hObjHit) 112(rq) 28 9(attr)
217                              HitObjectRecordFromQueryEXT 49(hObjHit) 112(rq) 28 9(attr) 113
218                              ReorderThreadWithHintEXT 114 114
219                              ReorderThreadWithHitObjectEXT 49(hObjHit)
220                              ReorderThreadWithHitObjectEXT 49(hObjHit) 114 115
221                              Return
222                              FunctionEnd