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