const rayFlag defs used in the test cases in stead of numerical values
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
rayQuery-initialize.rgen
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80008
|
||||
// Id's are bound by 103
|
||||
// Id's are bound by 105
|
||||
|
||||
Capability RayQueryProvisionalKHR
|
||||
Capability RayTracingNV
|
||||
@@ -26,32 +26,32 @@ rayQuery-initialize.rgen
|
||||
Name 23 "gl_LaunchIDNV"
|
||||
Name 28 "gl_LaunchSizeNV"
|
||||
Name 50 "rtas"
|
||||
Name 68 "index"
|
||||
Name 70 "ray"
|
||||
Name 71 "Ray"
|
||||
MemberName 71(Ray) 0 "pos"
|
||||
MemberName 71(Ray) 1 "tmin"
|
||||
MemberName 71(Ray) 2 "dir"
|
||||
MemberName 71(Ray) 3 "tmax"
|
||||
Name 73 "Rays"
|
||||
MemberName 73(Rays) 0 "rays"
|
||||
Name 75 ""
|
||||
Name 88 "rayQuery"
|
||||
Name 89 "param"
|
||||
Name 91 "param"
|
||||
Name 69 "index"
|
||||
Name 71 "ray"
|
||||
Name 72 "Ray"
|
||||
MemberName 72(Ray) 0 "pos"
|
||||
MemberName 72(Ray) 1 "tmin"
|
||||
MemberName 72(Ray) 2 "dir"
|
||||
MemberName 72(Ray) 3 "tmax"
|
||||
Name 74 "Rays"
|
||||
MemberName 74(Rays) 0 "rays"
|
||||
Name 76 ""
|
||||
Name 89 "rayQuery"
|
||||
Name 90 "param"
|
||||
Name 92 "param"
|
||||
Decorate 23(gl_LaunchIDNV) BuiltIn LaunchIdKHR
|
||||
Decorate 28(gl_LaunchSizeNV) BuiltIn LaunchSizeKHR
|
||||
Decorate 50(rtas) DescriptorSet 0
|
||||
Decorate 50(rtas) Binding 0
|
||||
MemberDecorate 71(Ray) 0 Offset 0
|
||||
MemberDecorate 71(Ray) 1 Offset 12
|
||||
MemberDecorate 71(Ray) 2 Offset 16
|
||||
MemberDecorate 71(Ray) 3 Offset 28
|
||||
Decorate 72 ArrayStride 32
|
||||
MemberDecorate 73(Rays) 0 Offset 0
|
||||
Decorate 73(Rays) BufferBlock
|
||||
Decorate 75 DescriptorSet 0
|
||||
Decorate 75 Binding 2
|
||||
MemberDecorate 72(Ray) 0 Offset 0
|
||||
MemberDecorate 72(Ray) 1 Offset 12
|
||||
MemberDecorate 72(Ray) 2 Offset 16
|
||||
MemberDecorate 72(Ray) 3 Offset 28
|
||||
Decorate 73 ArrayStride 32
|
||||
MemberDecorate 74(Rays) 0 Offset 0
|
||||
Decorate 74(Rays) BufferBlock
|
||||
Decorate 76 DescriptorSet 0
|
||||
Decorate 76 Binding 2
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 0
|
||||
@@ -74,59 +74,61 @@ rayQuery-initialize.rgen
|
||||
48: TypeAccelerationStructureKHR
|
||||
49: TypePointer UniformConstant 48
|
||||
50(rtas): 49(ptr) Variable UniformConstant
|
||||
52: TypeInt 32 1
|
||||
53: 52(int) Constant 0
|
||||
54: TypePointer Function 13(fvec3)
|
||||
57: 52(int) Constant 1
|
||||
58: TypePointer Function 12(float)
|
||||
61: 52(int) Constant 2
|
||||
64: 52(int) Constant 3
|
||||
67: TypePointer Function 6(int)
|
||||
71(Ray): TypeStruct 13(fvec3) 12(float) 13(fvec3) 12(float)
|
||||
72: TypeRuntimeArray 71(Ray)
|
||||
73(Rays): TypeStruct 72
|
||||
74: TypePointer Uniform 73(Rays)
|
||||
75: 74(ptr) Variable Uniform
|
||||
77: TypePointer Uniform 71(Ray)
|
||||
52: 6(int) Constant 16
|
||||
53: TypeInt 32 1
|
||||
54: 53(int) Constant 0
|
||||
55: TypePointer Function 13(fvec3)
|
||||
58: 53(int) Constant 1
|
||||
59: TypePointer Function 12(float)
|
||||
62: 53(int) Constant 2
|
||||
65: 53(int) Constant 3
|
||||
68: TypePointer Function 6(int)
|
||||
72(Ray): TypeStruct 13(fvec3) 12(float) 13(fvec3) 12(float)
|
||||
73: TypeRuntimeArray 72(Ray)
|
||||
74(Rays): TypeStruct 73
|
||||
75: TypePointer Uniform 74(Rays)
|
||||
76: 75(ptr) Variable Uniform
|
||||
78: TypePointer Uniform 72(Ray)
|
||||
96: 6(int) Constant 32
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
68(index): 67(ptr) Variable Function
|
||||
70(ray): 15(ptr) Variable Function
|
||||
88(rayQuery): 11(ptr) Variable Function
|
||||
89(param): 11(ptr) Variable Function
|
||||
91(param): 15(ptr) Variable Function
|
||||
69: 6(int) FunctionCall 8(launchIndex()
|
||||
Store 68(index) 69
|
||||
76: 6(int) Load 68(index)
|
||||
78: 77(ptr) AccessChain 75 53 76
|
||||
79: 71(Ray) Load 78
|
||||
80: 13(fvec3) CompositeExtract 79 0
|
||||
81: 54(ptr) AccessChain 70(ray) 53
|
||||
Store 81 80
|
||||
82: 12(float) CompositeExtract 79 1
|
||||
83: 58(ptr) AccessChain 70(ray) 57
|
||||
Store 83 82
|
||||
84: 13(fvec3) CompositeExtract 79 2
|
||||
85: 54(ptr) AccessChain 70(ray) 61
|
||||
Store 85 84
|
||||
86: 12(float) CompositeExtract 79 3
|
||||
87: 58(ptr) AccessChain 70(ray) 64
|
||||
Store 87 86
|
||||
90: 10 Load 88(rayQuery)
|
||||
Store 89(param) 90
|
||||
92: 14(Ray) Load 70(ray)
|
||||
Store 91(param) 92
|
||||
93: 2 FunctionCall 19(doInitialize(rq1;struct-Ray-vf3-f1-vf3-f11;) 89(param) 91(param)
|
||||
94: 48 Load 50(rtas)
|
||||
95: 54(ptr) AccessChain 70(ray) 53
|
||||
96: 13(fvec3) Load 95
|
||||
97: 58(ptr) AccessChain 70(ray) 57
|
||||
98: 12(float) Load 97
|
||||
99: 54(ptr) AccessChain 70(ray) 61
|
||||
100: 13(fvec3) Load 99
|
||||
101: 58(ptr) AccessChain 70(ray) 64
|
||||
102: 12(float) Load 101
|
||||
RayQueryInitializeKHR 88(rayQuery) 94 33 24 96 98 100 102
|
||||
69(index): 68(ptr) Variable Function
|
||||
71(ray): 15(ptr) Variable Function
|
||||
89(rayQuery): 11(ptr) Variable Function
|
||||
90(param): 11(ptr) Variable Function
|
||||
92(param): 15(ptr) Variable Function
|
||||
70: 6(int) FunctionCall 8(launchIndex()
|
||||
Store 69(index) 70
|
||||
77: 6(int) Load 69(index)
|
||||
79: 78(ptr) AccessChain 76 54 77
|
||||
80: 72(Ray) Load 79
|
||||
81: 13(fvec3) CompositeExtract 80 0
|
||||
82: 55(ptr) AccessChain 71(ray) 54
|
||||
Store 82 81
|
||||
83: 12(float) CompositeExtract 80 1
|
||||
84: 59(ptr) AccessChain 71(ray) 58
|
||||
Store 84 83
|
||||
85: 13(fvec3) CompositeExtract 80 2
|
||||
86: 55(ptr) AccessChain 71(ray) 62
|
||||
Store 86 85
|
||||
87: 12(float) CompositeExtract 80 3
|
||||
88: 59(ptr) AccessChain 71(ray) 65
|
||||
Store 88 87
|
||||
91: 10 Load 89(rayQuery)
|
||||
Store 90(param) 91
|
||||
93: 14(Ray) Load 71(ray)
|
||||
Store 92(param) 93
|
||||
94: 2 FunctionCall 19(doInitialize(rq1;struct-Ray-vf3-f1-vf3-f11;) 90(param) 92(param)
|
||||
95: 48 Load 50(rtas)
|
||||
97: 55(ptr) AccessChain 71(ray) 54
|
||||
98: 13(fvec3) Load 97
|
||||
99: 59(ptr) AccessChain 71(ray) 58
|
||||
100: 12(float) Load 99
|
||||
101: 55(ptr) AccessChain 71(ray) 62
|
||||
102: 13(fvec3) Load 101
|
||||
103: 59(ptr) AccessChain 71(ray) 65
|
||||
104: 12(float) Load 103
|
||||
RayQueryInitializeKHR 89(rayQuery) 95 33 96 98 100 102 104
|
||||
Return
|
||||
FunctionEnd
|
||||
8(launchIndex(): 6(int) Function None 7
|
||||
@@ -155,14 +157,14 @@ rayQuery-initialize.rgen
|
||||
18(ray): 15(ptr) FunctionParameter
|
||||
20: Label
|
||||
51: 48 Load 50(rtas)
|
||||
55: 54(ptr) AccessChain 18(ray) 53
|
||||
56: 13(fvec3) Load 55
|
||||
59: 58(ptr) AccessChain 18(ray) 57
|
||||
60: 12(float) Load 59
|
||||
62: 54(ptr) AccessChain 18(ray) 61
|
||||
63: 13(fvec3) Load 62
|
||||
65: 58(ptr) AccessChain 18(ray) 64
|
||||
66: 12(float) Load 65
|
||||
RayQueryInitializeKHR 17(rayQuery) 51 29 33 56 60 63 66
|
||||
56: 55(ptr) AccessChain 18(ray) 54
|
||||
57: 13(fvec3) Load 56
|
||||
60: 59(ptr) AccessChain 18(ray) 58
|
||||
61: 12(float) Load 60
|
||||
63: 55(ptr) AccessChain 18(ray) 62
|
||||
64: 13(fvec3) Load 63
|
||||
66: 59(ptr) AccessChain 18(ray) 65
|
||||
67: 12(float) Load 66
|
||||
RayQueryInitializeKHR 17(rayQuery) 51 29 52 57 61 64 67
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user