xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/spv.ext.IntersectShader.rint.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1spv.ext.IntersectShader.rint
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 84
5
6                              Capability RayTracingKHR
7                              Capability RayCullMaskKHR
8                              Extension  "SPV_KHR_ray_cull_mask"
9                              Extension  "SPV_KHR_ray_tracing"
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint IntersectionKHR 4  "main" 11 14 20 23 26 33 36 39 42 47 50 56 59 73 76
13                              Source GLSL 460
14                              SourceExtension  "GL_EXT_ray_cull_mask"
15                              SourceExtension  "GL_EXT_ray_tracing"
16                              Name 4  "main"
17                              Name 9  "v0"
18                              Name 11  "gl_LaunchIDEXT"
19                              Name 13  "v1"
20                              Name 14  "gl_LaunchSizeEXT"
21                              Name 18  "v2"
22                              Name 20  "gl_PrimitiveID"
23                              Name 22  "v3"
24                              Name 23  "gl_InstanceID"
25                              Name 25  "v4"
26                              Name 26  "gl_InstanceCustomIndexEXT"
27                              Name 31  "v5"
28                              Name 33  "gl_WorldRayOriginEXT"
29                              Name 35  "v6"
30                              Name 36  "gl_WorldRayDirectionEXT"
31                              Name 38  "v7"
32                              Name 39  "gl_ObjectRayOriginEXT"
33                              Name 41  "v8"
34                              Name 42  "gl_ObjectRayDirectionEXT"
35                              Name 45  "v9"
36                              Name 47  "gl_RayTminEXT"
37                              Name 49  "v10"
38                              Name 50  "gl_RayTmaxEXT"
39                              Name 54  "v11"
40                              Name 56  "gl_ObjectToWorldEXT"
41                              Name 58  "v12"
42                              Name 59  "gl_WorldToObjectEXT"
43                              Name 64  "v13"
44                              Name 67  "v14"
45                              Name 71  "v15"
46                              Name 73  "gl_CullMaskEXT"
47                              Name 76  "iAttr"
48                              Decorate 11(gl_LaunchIDEXT) BuiltIn LaunchIdKHR
49                              Decorate 14(gl_LaunchSizeEXT) BuiltIn LaunchSizeKHR
50                              Decorate 20(gl_PrimitiveID) BuiltIn PrimitiveId
51                              Decorate 23(gl_InstanceID) BuiltIn InstanceId
52                              Decorate 26(gl_InstanceCustomIndexEXT) BuiltIn InstanceCustomIndexKHR
53                              Decorate 33(gl_WorldRayOriginEXT) BuiltIn WorldRayOriginKHR
54                              Decorate 36(gl_WorldRayDirectionEXT) BuiltIn WorldRayDirectionKHR
55                              Decorate 39(gl_ObjectRayOriginEXT) BuiltIn ObjectRayOriginKHR
56                              Decorate 42(gl_ObjectRayDirectionEXT) BuiltIn ObjectRayDirectionKHR
57                              Decorate 47(gl_RayTminEXT) BuiltIn RayTminKHR
58                              Decorate 50(gl_RayTmaxEXT) BuiltIn RayTmaxKHR
59                              Decorate 50(gl_RayTmaxEXT) Volatile
60                              Decorate 50(gl_RayTmaxEXT) Coherent
61                              Decorate 56(gl_ObjectToWorldEXT) BuiltIn ObjectToWorldKHR
62                              Decorate 59(gl_WorldToObjectEXT) BuiltIn WorldToObjectKHR
63                              Decorate 73(gl_CullMaskEXT) BuiltIn CullMaskKHR
64               2:             TypeVoid
65               3:             TypeFunction 2
66               6:             TypeInt 32 0
67               7:             TypeVector 6(int) 3
68               8:             TypePointer Function 7(ivec3)
69              10:             TypePointer Input 7(ivec3)
7011(gl_LaunchIDEXT):     10(ptr) Variable Input
7114(gl_LaunchSizeEXT):     10(ptr) Variable Input
72              16:             TypeInt 32 1
73              17:             TypePointer Function 16(int)
74              19:             TypePointer Input 16(int)
7520(gl_PrimitiveID):     19(ptr) Variable Input
7623(gl_InstanceID):     19(ptr) Variable Input
7726(gl_InstanceCustomIndexEXT):     19(ptr) Variable Input
78              28:             TypeFloat 32
79              29:             TypeVector 28(float) 3
80              30:             TypePointer Function 29(fvec3)
81              32:             TypePointer Input 29(fvec3)
8233(gl_WorldRayOriginEXT):     32(ptr) Variable Input
8336(gl_WorldRayDirectionEXT):     32(ptr) Variable Input
8439(gl_ObjectRayOriginEXT):     32(ptr) Variable Input
8542(gl_ObjectRayDirectionEXT):     32(ptr) Variable Input
86              44:             TypePointer Function 28(float)
87              46:             TypePointer Input 28(float)
8847(gl_RayTminEXT):     46(ptr) Variable Input
8950(gl_RayTmaxEXT):     46(ptr) Variable Input
90              52:             TypeMatrix 29(fvec3) 4
91              53:             TypePointer Function 52
92              55:             TypePointer Input 52
9356(gl_ObjectToWorldEXT):     55(ptr) Variable Input
9459(gl_WorldToObjectEXT):     55(ptr) Variable Input
95              61:             TypeVector 28(float) 4
96              62:             TypeMatrix 61(fvec4) 3
97              63:             TypePointer Function 62
98              70:             TypePointer Function 6(int)
99              72:             TypePointer Input 6(int)
10073(gl_CullMaskEXT):     72(ptr) Variable Input
101              75:             TypePointer HitAttributeKHR 61(fvec4)
102       76(iAttr):     75(ptr) Variable HitAttributeKHR
103              77:   28(float) Constant 1056964608
104              78:   28(float) Constant 0
105              79:   28(float) Constant 1065353216
106              80:   61(fvec4) ConstantComposite 77 77 78 79
107              81:      6(int) Constant 1
108              82:             TypeBool
109         4(main):           2 Function None 3
110               5:             Label
111           9(v0):      8(ptr) Variable Function
112          13(v1):      8(ptr) Variable Function
113          18(v2):     17(ptr) Variable Function
114          22(v3):     17(ptr) Variable Function
115          25(v4):     17(ptr) Variable Function
116          31(v5):     30(ptr) Variable Function
117          35(v6):     30(ptr) Variable Function
118          38(v7):     30(ptr) Variable Function
119          41(v8):     30(ptr) Variable Function
120          45(v9):     44(ptr) Variable Function
121         49(v10):     44(ptr) Variable Function
122         54(v11):     53(ptr) Variable Function
123         58(v12):     53(ptr) Variable Function
124         64(v13):     63(ptr) Variable Function
125         67(v14):     63(ptr) Variable Function
126         71(v15):     70(ptr) Variable Function
127              12:    7(ivec3) Load 11(gl_LaunchIDEXT)
128                              Store 9(v0) 12
129              15:    7(ivec3) Load 14(gl_LaunchSizeEXT)
130                              Store 13(v1) 15
131              21:     16(int) Load 20(gl_PrimitiveID)
132                              Store 18(v2) 21
133              24:     16(int) Load 23(gl_InstanceID)
134                              Store 22(v3) 24
135              27:     16(int) Load 26(gl_InstanceCustomIndexEXT)
136                              Store 25(v4) 27
137              34:   29(fvec3) Load 33(gl_WorldRayOriginEXT)
138                              Store 31(v5) 34
139              37:   29(fvec3) Load 36(gl_WorldRayDirectionEXT)
140                              Store 35(v6) 37
141              40:   29(fvec3) Load 39(gl_ObjectRayOriginEXT)
142                              Store 38(v7) 40
143              43:   29(fvec3) Load 42(gl_ObjectRayDirectionEXT)
144                              Store 41(v8) 43
145              48:   28(float) Load 47(gl_RayTminEXT)
146                              Store 45(v9) 48
147              51:   28(float) Load 50(gl_RayTmaxEXT)
148                              Store 49(v10) 51
149              57:          52 Load 56(gl_ObjectToWorldEXT)
150                              Store 54(v11) 57
151              60:          52 Load 59(gl_WorldToObjectEXT)
152                              Store 58(v12) 60
153              65:          52 Load 56(gl_ObjectToWorldEXT)
154              66:          62 Transpose 65
155                              Store 64(v13) 66
156              68:          52 Load 59(gl_WorldToObjectEXT)
157              69:          62 Transpose 68
158                              Store 67(v14) 69
159              74:      6(int) Load 73(gl_CullMaskEXT)
160                              Store 71(v15) 74
161                              Store 76(iAttr) 80
162              83:    82(bool) ReportIntersectionKHR 77 81
163                              Return
164                              FunctionEnd
165