• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.ext.MissShader.rmiss
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 94
5
6                              Capability MinLod
7                              Capability GroupNonUniform
8                              Capability GroupNonUniformBallot
9                              Capability SubgroupBallotKHR
10                              Capability RayTracingKHR
11                              Capability ShaderSMBuiltinsNV
12                              Capability RayCullMaskKHR
13                              Extension  "SPV_KHR_ray_cull_mask"
14                              Extension  "SPV_KHR_ray_tracing"
15                              Extension  "SPV_KHR_shader_ballot"
16                              Extension  "SPV_NV_shader_sm_builtins"
17               1:             ExtInstImport  "GLSL.std.450"
18                              MemoryModel Logical GLSL450
19                              EntryPoint MissKHR 4  "main" 11 14 21 24 29 32 37 41 56 57 62 67 78 82 89 93
20                              Source GLSL 460
21                              SourceExtension  "GL_ARB_shader_ballot"
22                              SourceExtension  "GL_ARB_sparse_texture_clamp"
23                              SourceExtension  "GL_EXT_ray_cull_mask"
24                              SourceExtension  "GL_EXT_ray_tracing"
25                              SourceExtension  "GL_KHR_shader_subgroup_ballot"
26                              SourceExtension  "GL_KHR_shader_subgroup_basic"
27                              SourceExtension  "GL_NV_shader_sm_builtins"
28                              Name 4  "main"
29                              Name 9  "v0"
30                              Name 11  "gl_LaunchIDEXT"
31                              Name 13  "v1"
32                              Name 14  "gl_LaunchSizeEXT"
33                              Name 19  "v2"
34                              Name 21  "gl_WorldRayOriginEXT"
35                              Name 23  "v3"
36                              Name 24  "gl_WorldRayDirectionEXT"
37                              Name 27  "v4"
38                              Name 29  "gl_RayTminEXT"
39                              Name 31  "v5"
40                              Name 32  "gl_RayTmaxEXT"
41                              Name 35  "v6"
42                              Name 37  "gl_CullMaskEXT"
43                              Name 41  "accEXT"
44                              Name 56  "incomingPayload"
45                              Name 57  "gl_SubGroupSizeARB"
46                              Name 62  "gl_SubgroupEqMask"
47                              Name 67  "gl_WarpIDNV"
48                              Name 74  "texel"
49                              Name 78  "s2D"
50                              Name 82  "c2"
51                              Name 89  "lodClamp"
52                              Name 93  "localPayload"
53                              Decorate 11(gl_LaunchIDEXT) BuiltIn LaunchIdKHR
54                              Decorate 14(gl_LaunchSizeEXT) BuiltIn LaunchSizeKHR
55                              Decorate 21(gl_WorldRayOriginEXT) BuiltIn WorldRayOriginKHR
56                              Decorate 24(gl_WorldRayDirectionEXT) BuiltIn WorldRayDirectionKHR
57                              Decorate 29(gl_RayTminEXT) BuiltIn RayTminKHR
58                              Decorate 32(gl_RayTmaxEXT) BuiltIn RayTmaxKHR
59                              Decorate 37(gl_CullMaskEXT) BuiltIn CullMaskKHR
60                              Decorate 41(accEXT) DescriptorSet 0
61                              Decorate 41(accEXT) Binding 0
62                              Decorate 57(gl_SubGroupSizeARB) BuiltIn SubgroupSize
63                              Decorate 57(gl_SubGroupSizeARB) Volatile
64                              Decorate 57(gl_SubGroupSizeARB) Coherent
65                              Decorate 62(gl_SubgroupEqMask) BuiltIn SubgroupEqMaskKHR
66                              Decorate 62(gl_SubgroupEqMask) Volatile
67                              Decorate 62(gl_SubgroupEqMask) Coherent
68                              Decorate 67(gl_WarpIDNV) BuiltIn WarpIDNV
69                              Decorate 67(gl_WarpIDNV) Volatile
70                              Decorate 67(gl_WarpIDNV) Coherent
71                              Decorate 78(s2D) DescriptorSet 0
72                              Decorate 78(s2D) Binding 1
73                              Decorate 82(c2) Location 2
74                              Decorate 89(lodClamp) Location 3
75               2:             TypeVoid
76               3:             TypeFunction 2
77               6:             TypeInt 32 0
78               7:             TypeVector 6(int) 3
79               8:             TypePointer Function 7(ivec3)
80              10:             TypePointer Input 7(ivec3)
8111(gl_LaunchIDEXT):     10(ptr) Variable Input
8214(gl_LaunchSizeEXT):     10(ptr) Variable Input
83              16:             TypeFloat 32
84              17:             TypeVector 16(float) 3
85              18:             TypePointer Function 17(fvec3)
86              20:             TypePointer Input 17(fvec3)
8721(gl_WorldRayOriginEXT):     20(ptr) Variable Input
8824(gl_WorldRayDirectionEXT):     20(ptr) Variable Input
89              26:             TypePointer Function 16(float)
90              28:             TypePointer Input 16(float)
9129(gl_RayTminEXT):     28(ptr) Variable Input
9232(gl_RayTmaxEXT):     28(ptr) Variable Input
93              34:             TypePointer Function 6(int)
94              36:             TypePointer Input 6(int)
9537(gl_CullMaskEXT):     36(ptr) Variable Input
96              39:             TypeAccelerationStructureKHR
97              40:             TypePointer UniformConstant 39
98      41(accEXT):     40(ptr) Variable UniformConstant
99              43:      6(int) Constant 0
100              44:      6(int) Constant 1
101              45:      6(int) Constant 2
102              46:      6(int) Constant 3
103              47:   16(float) Constant 1056964608
104              48:   17(fvec3) ConstantComposite 47 47 47
105              49:   16(float) Constant 1065353216
106              50:   17(fvec3) ConstantComposite 49 49 49
107              51:   16(float) Constant 1061158912
108              52:             TypeInt 32 1
109              53:     52(int) Constant 1
110              54:             TypeVector 16(float) 4
111              55:             TypePointer IncomingRayPayloadKHR 54(fvec4)
11256(incomingPayload):     55(ptr) Variable IncomingRayPayloadKHR
11357(gl_SubGroupSizeARB):     36(ptr) Variable Input
114              60:             TypeVector 6(int) 4
115              61:             TypePointer Input 60(ivec4)
11662(gl_SubgroupEqMask):     61(ptr) Variable Input
117 67(gl_WarpIDNV):     36(ptr) Variable Input
118              71:             TypePointer IncomingRayPayloadKHR 16(float)
119              73:             TypePointer Function 54(fvec4)
120              75:             TypeImage 16(float) 2D sampled format:Unknown
121              76:             TypeSampledImage 75
122              77:             TypePointer UniformConstant 76
123         78(s2D):     77(ptr) Variable UniformConstant
124              80:             TypeVector 16(float) 2
125              81:             TypePointer Input 80(fvec2)
126          82(c2):     81(ptr) Variable Input
127              86:             TypeVector 52(int) 2
128              87:     52(int) Constant 5
129              88:   86(ivec2) ConstantComposite 87 87
130    89(lodClamp):     28(ptr) Variable Input
131              92:             TypePointer RayPayloadKHR 54(fvec4)
13293(localPayload):     92(ptr) Variable RayPayloadKHR
133         4(main):           2 Function None 3
134               5:             Label
135           9(v0):      8(ptr) Variable Function
136          13(v1):      8(ptr) Variable Function
137          19(v2):     18(ptr) Variable Function
138          23(v3):     18(ptr) Variable Function
139          27(v4):     26(ptr) Variable Function
140          31(v5):     26(ptr) Variable Function
141          35(v6):     34(ptr) Variable Function
142       74(texel):     73(ptr) Variable Function
143              12:    7(ivec3) Load 11(gl_LaunchIDEXT)
144                              Store 9(v0) 12
145              15:    7(ivec3) Load 14(gl_LaunchSizeEXT)
146                              Store 13(v1) 15
147              22:   17(fvec3) Load 21(gl_WorldRayOriginEXT)
148                              Store 19(v2) 22
149              25:   17(fvec3) Load 24(gl_WorldRayDirectionEXT)
150                              Store 23(v3) 25
151              30:   16(float) Load 29(gl_RayTminEXT)
152                              Store 27(v4) 30
153              33:   16(float) Load 32(gl_RayTmaxEXT)
154                              Store 31(v5) 33
155              38:      6(int) Load 37(gl_CullMaskEXT)
156                              Store 35(v6) 38
157              42:          39 Load 41(accEXT)
158                              TraceRayKHR 42 43 44 45 46 43 48 47 50 51 56(incomingPayload)
159              58:      6(int) Load 57(gl_SubGroupSizeARB)
160              59:   16(float) ConvertUToF 58
161              63:   60(ivec4) Load 62(gl_SubgroupEqMask)
162              64:   54(fvec4) ConvertUToF 63
163              65:   16(float) CompositeExtract 64 0
164              66:   16(float) FAdd 59 65
165              68:      6(int) Load 67(gl_WarpIDNV)
166              69:   16(float) ConvertUToF 68
167              70:   16(float) FAdd 66 69
168              72:     71(ptr) AccessChain 56(incomingPayload) 43
169                              Store 72 70
170              79:          76 Load 78(s2D)
171              83:   80(fvec2) Load 82(c2)
172              84:   80(fvec2) Load 82(c2)
173              85:   80(fvec2) Load 82(c2)
174              90:   16(float) Load 89(lodClamp)
175              91:   54(fvec4) ImageSampleExplicitLod 79 83 Grad ConstOffset MinLod 84 85 88 90
176                              Store 74(texel) 91
177                              Return
178                              FunctionEnd
179