• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.ext.MissShader.rmiss
2// Module Version 10400
3// Generated by (magic number): 8000a
4// Id's are bound by 54
5
6                              Capability RayTracingProvisionalKHR
7                              Extension  "SPV_KHR_ray_tracing"
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint MissKHR 4  "main" 11 14 21 24 29 32 36 51 53
11                              Source GLSL 460
12                              SourceExtension  "GL_EXT_ray_tracing"
13                              Name 4  "main"
14                              Name 9  "v0"
15                              Name 11  "gl_LaunchIDEXT"
16                              Name 13  "v1"
17                              Name 14  "gl_LaunchSizeEXT"
18                              Name 19  "v2"
19                              Name 21  "gl_WorldRayOriginEXT"
20                              Name 23  "v3"
21                              Name 24  "gl_WorldRayDirectionEXT"
22                              Name 27  "v4"
23                              Name 29  "gl_RayTminEXT"
24                              Name 31  "v5"
25                              Name 32  "gl_RayTmaxEXT"
26                              Name 36  "accEXT"
27                              Name 51  "localPayload"
28                              Name 53  "incomingPayload"
29                              Decorate 11(gl_LaunchIDEXT) BuiltIn LaunchIdKHR
30                              Decorate 14(gl_LaunchSizeEXT) BuiltIn LaunchSizeKHR
31                              Decorate 21(gl_WorldRayOriginEXT) BuiltIn WorldRayOriginKHR
32                              Decorate 24(gl_WorldRayDirectionEXT) BuiltIn WorldRayDirectionKHR
33                              Decorate 29(gl_RayTminEXT) BuiltIn RayTminKHR
34                              Decorate 32(gl_RayTmaxEXT) BuiltIn RayTmaxKHR
35                              Decorate 36(accEXT) DescriptorSet 0
36                              Decorate 36(accEXT) Binding 0
37                              Decorate 51(localPayload) Location 0
38                              Decorate 53(incomingPayload) Location 1
39               2:             TypeVoid
40               3:             TypeFunction 2
41               6:             TypeInt 32 0
42               7:             TypeVector 6(int) 3
43               8:             TypePointer Function 7(ivec3)
44              10:             TypePointer Input 7(ivec3)
4511(gl_LaunchIDEXT):     10(ptr) Variable Input
4614(gl_LaunchSizeEXT):     10(ptr) Variable Input
47              16:             TypeFloat 32
48              17:             TypeVector 16(float) 3
49              18:             TypePointer Function 17(fvec3)
50              20:             TypePointer Input 17(fvec3)
5121(gl_WorldRayOriginEXT):     20(ptr) Variable Input
5224(gl_WorldRayDirectionEXT):     20(ptr) Variable Input
53              26:             TypePointer Function 16(float)
54              28:             TypePointer Input 16(float)
5529(gl_RayTminEXT):     28(ptr) Variable Input
5632(gl_RayTmaxEXT):     28(ptr) Variable Input
57              34:             TypeAccelerationStructureKHR
58              35:             TypePointer UniformConstant 34
59      36(accEXT):     35(ptr) Variable UniformConstant
60              38:      6(int) Constant 0
61              39:      6(int) Constant 1
62              40:      6(int) Constant 2
63              41:      6(int) Constant 3
64              42:   16(float) Constant 1056964608
65              43:   17(fvec3) ConstantComposite 42 42 42
66              44:   16(float) Constant 1065353216
67              45:   17(fvec3) ConstantComposite 44 44 44
68              46:   16(float) Constant 1061158912
69              47:             TypeInt 32 1
70              48:     47(int) Constant 1
71              49:             TypeVector 16(float) 4
72              50:             TypePointer RayPayloadKHR 49(fvec4)
7351(localPayload):     50(ptr) Variable RayPayloadKHR
74              52:             TypePointer IncomingRayPayloadKHR 49(fvec4)
7553(incomingPayload):     52(ptr) Variable IncomingRayPayloadKHR
76         4(main):           2 Function None 3
77               5:             Label
78           9(v0):      8(ptr) Variable Function
79          13(v1):      8(ptr) Variable Function
80          19(v2):     18(ptr) Variable Function
81          23(v3):     18(ptr) Variable Function
82          27(v4):     26(ptr) Variable Function
83          31(v5):     26(ptr) Variable Function
84              12:    7(ivec3) Load 11(gl_LaunchIDEXT)
85                              Store 9(v0) 12
86              15:    7(ivec3) Load 14(gl_LaunchSizeEXT)
87                              Store 13(v1) 15
88              22:   17(fvec3) Load 21(gl_WorldRayOriginEXT)
89                              Store 19(v2) 22
90              25:   17(fvec3) Load 24(gl_WorldRayDirectionEXT)
91                              Store 23(v3) 25
92              30:   16(float) Load 29(gl_RayTminEXT)
93                              Store 27(v4) 30
94              33:   16(float) Load 32(gl_RayTmaxEXT)
95                              Store 31(v5) 33
96              37:          34 Load 36(accEXT)
97                              TraceRayKHR 37 38 39 40 41 38 43 42 45 46 48
98                              Return
99                              FunctionEnd
100