• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.MissShader.rmiss
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 59
5
6                              Capability RayTracingNV
7                              Extension  "SPV_NV_ray_tracing"
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint MissKHR 4  "main" 11 14 21 24 29 34 37
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 19  "v2"
19                              Name 21  "gl_WorldRayOriginNV"
20                              Name 23  "v3"
21                              Name 24  "gl_WorldRayDirectionNV"
22                              Name 27  "v4"
23                              Name 29  "gl_IncomingRayFlagsNV"
24                              Name 32  "v6"
25                              Name 34  "gl_RayTminNV"
26                              Name 36  "v7"
27                              Name 37  "gl_RayTmaxNV"
28                              Name 41  "accNV"
29                              Name 56  "localPayload"
30                              Name 58  "incomingPayload"
31                              Decorate 11(gl_LaunchIDNV) BuiltIn LaunchIdKHR
32                              Decorate 14(gl_LaunchSizeNV) BuiltIn LaunchSizeKHR
33                              Decorate 21(gl_WorldRayOriginNV) BuiltIn WorldRayOriginKHR
34                              Decorate 24(gl_WorldRayDirectionNV) BuiltIn WorldRayDirectionKHR
35                              Decorate 29(gl_IncomingRayFlagsNV) BuiltIn IncomingRayFlagsKHR
36                              Decorate 34(gl_RayTminNV) BuiltIn RayTminKHR
37                              Decorate 37(gl_RayTmaxNV) BuiltIn RayTmaxKHR
38                              Decorate 41(accNV) DescriptorSet 0
39                              Decorate 41(accNV) Binding 0
40                              Decorate 56(localPayload) Location 0
41                              Decorate 58(incomingPayload) Location 1
42               2:             TypeVoid
43               3:             TypeFunction 2
44               6:             TypeInt 32 0
45               7:             TypeVector 6(int) 3
46               8:             TypePointer Function 7(ivec3)
47              10:             TypePointer Input 7(ivec3)
4811(gl_LaunchIDNV):     10(ptr) Variable Input
4914(gl_LaunchSizeNV):     10(ptr) Variable Input
50              16:             TypeFloat 32
51              17:             TypeVector 16(float) 3
52              18:             TypePointer Function 17(fvec3)
53              20:             TypePointer Input 17(fvec3)
5421(gl_WorldRayOriginNV):     20(ptr) Variable Input
5524(gl_WorldRayDirectionNV):     20(ptr) Variable Input
56              26:             TypePointer Function 6(int)
57              28:             TypePointer Input 6(int)
5829(gl_IncomingRayFlagsNV):     28(ptr) Variable Input
59              31:             TypePointer Function 16(float)
60              33:             TypePointer Input 16(float)
6134(gl_RayTminNV):     33(ptr) Variable Input
6237(gl_RayTmaxNV):     33(ptr) Variable Input
63              39:             TypeAccelerationStructureKHR
64              40:             TypePointer UniformConstant 39
65       41(accNV):     40(ptr) Variable UniformConstant
66              43:      6(int) Constant 0
67              44:      6(int) Constant 1
68              45:      6(int) Constant 2
69              46:      6(int) Constant 3
70              47:   16(float) Constant 1056964608
71              48:   17(fvec3) ConstantComposite 47 47 47
72              49:   16(float) Constant 1065353216
73              50:   17(fvec3) ConstantComposite 49 49 49
74              51:   16(float) Constant 1061158912
75              52:             TypeInt 32 1
76              53:     52(int) Constant 1
77              54:             TypeVector 16(float) 4
78              55:             TypePointer RayPayloadKHR 54(fvec4)
7956(localPayload):     55(ptr) Variable RayPayloadKHR
80              57:             TypePointer IncomingRayPayloadKHR 54(fvec4)
8158(incomingPayload):     57(ptr) Variable IncomingRayPayloadKHR
82         4(main):           2 Function None 3
83               5:             Label
84           9(v0):      8(ptr) Variable Function
85          13(v1):      8(ptr) Variable Function
86          19(v2):     18(ptr) Variable Function
87          23(v3):     18(ptr) Variable Function
88          27(v4):     26(ptr) Variable Function
89          32(v6):     31(ptr) Variable Function
90          36(v7):     31(ptr) Variable Function
91              12:    7(ivec3) Load 11(gl_LaunchIDNV)
92                              Store 9(v0) 12
93              15:    7(ivec3) Load 14(gl_LaunchSizeNV)
94                              Store 13(v1) 15
95              22:   17(fvec3) Load 21(gl_WorldRayOriginNV)
96                              Store 19(v2) 22
97              25:   17(fvec3) Load 24(gl_WorldRayDirectionNV)
98                              Store 23(v3) 25
99              30:      6(int) Load 29(gl_IncomingRayFlagsNV)
100                              Store 27(v4) 30
101              35:   16(float) Load 34(gl_RayTminNV)
102                              Store 32(v6) 35
103              38:   16(float) Load 37(gl_RayTmaxNV)
104                              Store 36(v7) 38
105              42:          39 Load 41(accNV)
106                              TraceNV 42 43 44 45 46 43 48 47 50 51 53
107                              Return
108                              FunctionEnd
109