1spv.IntersectShader.rint
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 71
5
6                              Capability RayTracingNV
7                              Extension  "SPV_NV_ray_tracing"
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint IntersectionKHR 4  "main" 11 14 20 23 26 33 36 39 42 47 50 56 59
11                              Source GLSL 460
12                              SourceExtension  "GL_NV_ray_tracing"
13                              Name 4  "main"
14                              Name 9  "v0"
15                              Name 11  "gl_LaunchIDNV"
16                              Name 13  "v1"
17                              Name 14  "gl_LaunchSizeNV"
18                              Name 18  "v2"
19                              Name 20  "gl_PrimitiveID"
20                              Name 22  "v3"
21                              Name 23  "gl_InstanceID"
22                              Name 25  "v4"
23                              Name 26  "gl_InstanceCustomIndexNV"
24                              Name 31  "v5"
25                              Name 33  "gl_WorldRayOriginNV"
26                              Name 35  "v6"
27                              Name 36  "gl_WorldRayDirectionNV"
28                              Name 38  "v7"
29                              Name 39  "gl_ObjectRayOriginNV"
30                              Name 41  "v8"
31                              Name 42  "gl_ObjectRayDirectionNV"
32                              Name 45  "v9"
33                              Name 47  "gl_RayTminNV"
34                              Name 49  "v10"
35                              Name 50  "gl_RayTmaxNV"
36                              Name 54  "v11"
37                              Name 56  "gl_ObjectToWorldNV"
38                              Name 58  "v12"
39                              Name 59  "gl_WorldToObjectNV"
40                              Name 63  "iAttr"
41                              Decorate 11(gl_LaunchIDNV) BuiltIn LaunchIdKHR
42                              Decorate 14(gl_LaunchSizeNV) BuiltIn LaunchSizeKHR
43                              Decorate 20(gl_PrimitiveID) BuiltIn PrimitiveId
44                              Decorate 23(gl_InstanceID) BuiltIn InstanceId
45                              Decorate 26(gl_InstanceCustomIndexNV) BuiltIn InstanceCustomIndexKHR
46                              Decorate 33(gl_WorldRayOriginNV) BuiltIn WorldRayOriginKHR
47                              Decorate 36(gl_WorldRayDirectionNV) BuiltIn WorldRayDirectionKHR
48                              Decorate 39(gl_ObjectRayOriginNV) BuiltIn ObjectRayOriginKHR
49                              Decorate 42(gl_ObjectRayDirectionNV) BuiltIn ObjectRayDirectionKHR
50                              Decorate 47(gl_RayTminNV) BuiltIn RayTminKHR
51                              Decorate 50(gl_RayTmaxNV) BuiltIn RayTmaxKHR
52                              Decorate 56(gl_ObjectToWorldNV) BuiltIn ObjectToWorldKHR
53                              Decorate 59(gl_WorldToObjectNV) BuiltIn WorldToObjectKHR
54               2:             TypeVoid
55               3:             TypeFunction 2
56               6:             TypeInt 32 0
57               7:             TypeVector 6(int) 3
58               8:             TypePointer Function 7(ivec3)
59              10:             TypePointer Input 7(ivec3)
6011(gl_LaunchIDNV):     10(ptr) Variable Input
6114(gl_LaunchSizeNV):     10(ptr) Variable Input
62              16:             TypeInt 32 1
63              17:             TypePointer Function 16(int)
64              19:             TypePointer Input 16(int)
6520(gl_PrimitiveID):     19(ptr) Variable Input
6623(gl_InstanceID):     19(ptr) Variable Input
6726(gl_InstanceCustomIndexNV):     19(ptr) Variable Input
68              28:             TypeFloat 32
69              29:             TypeVector 28(float) 3
70              30:             TypePointer Function 29(fvec3)
71              32:             TypePointer Input 29(fvec3)
7233(gl_WorldRayOriginNV):     32(ptr) Variable Input
7336(gl_WorldRayDirectionNV):     32(ptr) Variable Input
7439(gl_ObjectRayOriginNV):     32(ptr) Variable Input
7542(gl_ObjectRayDirectionNV):     32(ptr) Variable Input
76              44:             TypePointer Function 28(float)
77              46:             TypePointer Input 28(float)
7847(gl_RayTminNV):     46(ptr) Variable Input
7950(gl_RayTmaxNV):     46(ptr) Variable Input
80              52:             TypeMatrix 29(fvec3) 4
81              53:             TypePointer Function 52
82              55:             TypePointer Input 52
8356(gl_ObjectToWorldNV):     55(ptr) Variable Input
8459(gl_WorldToObjectNV):     55(ptr) Variable Input
85              61:             TypeVector 28(float) 4
86              62:             TypePointer HitAttributeKHR 61(fvec4)
87       63(iAttr):     62(ptr) Variable HitAttributeKHR
88              64:   28(float) Constant 1056964608
89              65:   28(float) Constant 0
90              66:   28(float) Constant 1065353216
91              67:   61(fvec4) ConstantComposite 64 64 65 66
92              68:      6(int) Constant 1
93              69:             TypeBool
94         4(main):           2 Function None 3
95               5:             Label
96           9(v0):      8(ptr) Variable Function
97          13(v1):      8(ptr) Variable Function
98          18(v2):     17(ptr) Variable Function
99          22(v3):     17(ptr) Variable Function
100          25(v4):     17(ptr) Variable Function
101          31(v5):     30(ptr) Variable Function
102          35(v6):     30(ptr) Variable Function
103          38(v7):     30(ptr) Variable Function
104          41(v8):     30(ptr) Variable Function
105          45(v9):     44(ptr) Variable Function
106         49(v10):     44(ptr) Variable Function
107         54(v11):     53(ptr) Variable Function
108         58(v12):     53(ptr) Variable Function
109              12:    7(ivec3) Load 11(gl_LaunchIDNV)
110                              Store 9(v0) 12
111              15:    7(ivec3) Load 14(gl_LaunchSizeNV)
112                              Store 13(v1) 15
113              21:     16(int) Load 20(gl_PrimitiveID)
114                              Store 18(v2) 21
115              24:     16(int) Load 23(gl_InstanceID)
116                              Store 22(v3) 24
117              27:     16(int) Load 26(gl_InstanceCustomIndexNV)
118                              Store 25(v4) 27
119              34:   29(fvec3) Load 33(gl_WorldRayOriginNV)
120                              Store 31(v5) 34
121              37:   29(fvec3) Load 36(gl_WorldRayDirectionNV)
122                              Store 35(v6) 37
123              40:   29(fvec3) Load 39(gl_ObjectRayOriginNV)
124                              Store 38(v7) 40
125              43:   29(fvec3) Load 42(gl_ObjectRayDirectionNV)
126                              Store 41(v8) 43
127              48:   28(float) Load 47(gl_RayTminNV)
128                              Store 45(v9) 48
129              51:   28(float) Load 50(gl_RayTmaxNV)
130                              Store 49(v10) 51
131              57:          52 Load 56(gl_ObjectToWorldNV)
132                              Store 54(v11) 57
133              60:          52 Load 59(gl_WorldToObjectNV)
134                              Store 58(v12) 60
135                              Store 63(iAttr) 67
136              70:    69(bool) ReportIntersectionKHR 64 68
137                              Return
138                              FunctionEnd
139