2018-09-19 18:42:24 +00:00
|
|
|
spv.MissShader.rmiss
|
|
|
|
// Module Version 10000
|
2022-10-13 00:16:41 +00:00
|
|
|
// Generated by (magic number): 8000b
|
2020-11-30 16:57:34 +00:00
|
|
|
// Id's are bound by 59
|
2018-09-19 18:42:24 +00:00
|
|
|
|
2018-10-22 23:41:44 +00:00
|
|
|
Capability RayTracingNV
|
|
|
|
Extension "SPV_NV_ray_tracing"
|
2018-09-19 18:42:24 +00:00
|
|
|
1: ExtInstImport "GLSL.std.450"
|
|
|
|
MemoryModel Logical GLSL450
|
2020-11-30 16:57:34 +00:00
|
|
|
EntryPoint MissKHR 4 "main" 11 14 21 24 29 34 37
|
2018-09-19 18:42:24 +00:00
|
|
|
Source GLSL 460
|
2018-10-22 23:41:44 +00:00
|
|
|
SourceExtension "GL_NV_ray_tracing"
|
2018-09-19 18:42:24 +00:00
|
|
|
Name 4 "main"
|
|
|
|
Name 9 "v0"
|
2018-10-22 23:41:44 +00:00
|
|
|
Name 11 "gl_LaunchIDNV"
|
2018-09-19 18:42:24 +00:00
|
|
|
Name 13 "v1"
|
2018-10-22 23:41:44 +00:00
|
|
|
Name 14 "gl_LaunchSizeNV"
|
2018-09-19 18:42:24 +00:00
|
|
|
Name 19 "v2"
|
2018-10-22 23:41:44 +00:00
|
|
|
Name 21 "gl_WorldRayOriginNV"
|
2018-09-19 18:42:24 +00:00
|
|
|
Name 23 "v3"
|
2018-10-22 23:41:44 +00:00
|
|
|
Name 24 "gl_WorldRayDirectionNV"
|
2020-11-30 16:57:34 +00:00
|
|
|
Name 27 "v4"
|
|
|
|
Name 29 "gl_IncomingRayFlagsNV"
|
|
|
|
Name 32 "v6"
|
|
|
|
Name 34 "gl_RayTminNV"
|
|
|
|
Name 36 "v7"
|
|
|
|
Name 37 "gl_RayTmaxNV"
|
|
|
|
Name 41 "accNV"
|
|
|
|
Name 56 "localPayload"
|
|
|
|
Name 58 "incomingPayload"
|
2020-03-18 00:42:47 +00:00
|
|
|
Decorate 11(gl_LaunchIDNV) BuiltIn LaunchIdKHR
|
|
|
|
Decorate 14(gl_LaunchSizeNV) BuiltIn LaunchSizeKHR
|
|
|
|
Decorate 21(gl_WorldRayOriginNV) BuiltIn WorldRayOriginKHR
|
|
|
|
Decorate 24(gl_WorldRayDirectionNV) BuiltIn WorldRayDirectionKHR
|
2020-11-30 16:57:34 +00:00
|
|
|
Decorate 29(gl_IncomingRayFlagsNV) BuiltIn IncomingRayFlagsKHR
|
|
|
|
Decorate 34(gl_RayTminNV) BuiltIn RayTminKHR
|
|
|
|
Decorate 37(gl_RayTmaxNV) BuiltIn RayTmaxKHR
|
|
|
|
Decorate 41(accNV) DescriptorSet 0
|
|
|
|
Decorate 41(accNV) Binding 0
|
|
|
|
Decorate 56(localPayload) Location 0
|
|
|
|
Decorate 58(incomingPayload) Location 1
|
2018-09-19 18:42:24 +00:00
|
|
|
2: TypeVoid
|
|
|
|
3: TypeFunction 2
|
|
|
|
6: TypeInt 32 0
|
2018-10-22 23:41:44 +00:00
|
|
|
7: TypeVector 6(int) 3
|
|
|
|
8: TypePointer Function 7(ivec3)
|
|
|
|
10: TypePointer Input 7(ivec3)
|
|
|
|
11(gl_LaunchIDNV): 10(ptr) Variable Input
|
|
|
|
14(gl_LaunchSizeNV): 10(ptr) Variable Input
|
2018-09-19 18:42:24 +00:00
|
|
|
16: TypeFloat 32
|
|
|
|
17: TypeVector 16(float) 3
|
|
|
|
18: TypePointer Function 17(fvec3)
|
|
|
|
20: TypePointer Input 17(fvec3)
|
2018-10-22 23:41:44 +00:00
|
|
|
21(gl_WorldRayOriginNV): 20(ptr) Variable Input
|
|
|
|
24(gl_WorldRayDirectionNV): 20(ptr) Variable Input
|
2020-11-30 16:57:34 +00:00
|
|
|
26: TypePointer Function 6(int)
|
|
|
|
28: TypePointer Input 6(int)
|
|
|
|
29(gl_IncomingRayFlagsNV): 28(ptr) Variable Input
|
|
|
|
31: TypePointer Function 16(float)
|
|
|
|
33: TypePointer Input 16(float)
|
|
|
|
34(gl_RayTminNV): 33(ptr) Variable Input
|
|
|
|
37(gl_RayTmaxNV): 33(ptr) Variable Input
|
|
|
|
39: TypeAccelerationStructureKHR
|
|
|
|
40: TypePointer UniformConstant 39
|
|
|
|
41(accNV): 40(ptr) Variable UniformConstant
|
|
|
|
43: 6(int) Constant 0
|
|
|
|
44: 6(int) Constant 1
|
|
|
|
45: 6(int) Constant 2
|
|
|
|
46: 6(int) Constant 3
|
|
|
|
47: 16(float) Constant 1056964608
|
|
|
|
48: 17(fvec3) ConstantComposite 47 47 47
|
|
|
|
49: 16(float) Constant 1065353216
|
|
|
|
50: 17(fvec3) ConstantComposite 49 49 49
|
|
|
|
51: 16(float) Constant 1061158912
|
|
|
|
52: TypeInt 32 1
|
|
|
|
53: 52(int) Constant 1
|
|
|
|
54: TypeVector 16(float) 4
|
|
|
|
55: TypePointer RayPayloadKHR 54(fvec4)
|
|
|
|
56(localPayload): 55(ptr) Variable RayPayloadKHR
|
|
|
|
57: TypePointer IncomingRayPayloadKHR 54(fvec4)
|
|
|
|
58(incomingPayload): 57(ptr) Variable IncomingRayPayloadKHR
|
2018-09-19 18:42:24 +00:00
|
|
|
4(main): 2 Function None 3
|
|
|
|
5: Label
|
|
|
|
9(v0): 8(ptr) Variable Function
|
|
|
|
13(v1): 8(ptr) Variable Function
|
|
|
|
19(v2): 18(ptr) Variable Function
|
|
|
|
23(v3): 18(ptr) Variable Function
|
2020-11-30 16:57:34 +00:00
|
|
|
27(v4): 26(ptr) Variable Function
|
|
|
|
32(v6): 31(ptr) Variable Function
|
|
|
|
36(v7): 31(ptr) Variable Function
|
2018-10-22 23:41:44 +00:00
|
|
|
12: 7(ivec3) Load 11(gl_LaunchIDNV)
|
2018-09-19 18:42:24 +00:00
|
|
|
Store 9(v0) 12
|
2018-10-22 23:41:44 +00:00
|
|
|
15: 7(ivec3) Load 14(gl_LaunchSizeNV)
|
2018-09-19 18:42:24 +00:00
|
|
|
Store 13(v1) 15
|
2018-10-22 23:41:44 +00:00
|
|
|
22: 17(fvec3) Load 21(gl_WorldRayOriginNV)
|
2018-09-19 18:42:24 +00:00
|
|
|
Store 19(v2) 22
|
2018-10-22 23:41:44 +00:00
|
|
|
25: 17(fvec3) Load 24(gl_WorldRayDirectionNV)
|
2018-09-19 18:42:24 +00:00
|
|
|
Store 23(v3) 25
|
2020-11-30 16:57:34 +00:00
|
|
|
30: 6(int) Load 29(gl_IncomingRayFlagsNV)
|
|
|
|
Store 27(v4) 30
|
|
|
|
35: 16(float) Load 34(gl_RayTminNV)
|
|
|
|
Store 32(v6) 35
|
|
|
|
38: 16(float) Load 37(gl_RayTmaxNV)
|
|
|
|
Store 36(v7) 38
|
|
|
|
42: 39 Load 41(accNV)
|
|
|
|
TraceNV 42 43 44 45 46 43 48 47 50 51 53
|
2018-09-19 18:42:24 +00:00
|
|
|
Return
|
|
|
|
FunctionEnd
|