const rayFlag defs used in the test cases in stead of numerical values
This commit is contained in:
parent
65c81bf236
commit
7f689bebec
17 changed files with 1413 additions and 1408 deletions
|
|
@ -1,7 +1,7 @@
|
|||
rayQuery-array-2d-dynamic.rgen
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80008
|
||||
// Id's are bound by 126
|
||||
// Id's are bound by 128
|
||||
|
||||
Capability RayQueryProvisionalKHR
|
||||
Capability RayTracingNV
|
||||
|
|
@ -26,35 +26,35 @@ rayQuery-array-2d-dynamic.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 90 "rayQuery"
|
||||
Name 92 "param"
|
||||
Name 95 "param"
|
||||
Name 118 "C"
|
||||
Name 120 "param"
|
||||
Name 123 "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 91 "rayQuery"
|
||||
Name 93 "param"
|
||||
Name 96 "param"
|
||||
Name 120 "C"
|
||||
Name 122 "param"
|
||||
Name 125 "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
|
||||
|
|
@ -77,87 +77,89 @@ rayQuery-array-2d-dynamic.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)
|
||||
88: TypeArray 10 24
|
||||
89: TypePointer Function 88
|
||||
117: TypePointer Private 52(int)
|
||||
118(C): 117(ptr) Variable Private
|
||||
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)
|
||||
89: TypeArray 10 24
|
||||
90: TypePointer Function 89
|
||||
110: 6(int) Constant 32
|
||||
119: TypePointer Private 53(int)
|
||||
120(C): 119(ptr) Variable Private
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
68(index): 67(ptr) Variable Function
|
||||
70(ray): 15(ptr) Variable Function
|
||||
90(rayQuery): 89(ptr) Variable Function
|
||||
92(param): 11(ptr) Variable Function
|
||||
95(param): 15(ptr) Variable Function
|
||||
120(param): 11(ptr) Variable Function
|
||||
123(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
|
||||
91: 6(int) Load 68(index)
|
||||
93: 11(ptr) AccessChain 90(rayQuery) 53
|
||||
94: 10 Load 93
|
||||
Store 92(param) 94
|
||||
96: 77(ptr) AccessChain 75 53 91
|
||||
97: 71(Ray) Load 96
|
||||
98: 13(fvec3) CompositeExtract 97 0
|
||||
99: 54(ptr) AccessChain 95(param) 53
|
||||
Store 99 98
|
||||
100: 12(float) CompositeExtract 97 1
|
||||
101: 58(ptr) AccessChain 95(param) 57
|
||||
Store 101 100
|
||||
102: 13(fvec3) CompositeExtract 97 2
|
||||
103: 54(ptr) AccessChain 95(param) 61
|
||||
Store 103 102
|
||||
104: 12(float) CompositeExtract 97 3
|
||||
105: 58(ptr) AccessChain 95(param) 64
|
||||
Store 105 104
|
||||
106: 2 FunctionCall 19(doInitialize(rq1;struct-Ray-vf3-f1-vf3-f11;) 92(param) 95(param)
|
||||
107: 11(ptr) AccessChain 90(rayQuery) 57
|
||||
108: 48 Load 50(rtas)
|
||||
109: 54(ptr) AccessChain 70(ray) 53
|
||||
110: 13(fvec3) Load 109
|
||||
111: 58(ptr) AccessChain 70(ray) 57
|
||||
112: 12(float) Load 111
|
||||
113: 54(ptr) AccessChain 70(ray) 61
|
||||
114: 13(fvec3) Load 113
|
||||
115: 58(ptr) AccessChain 70(ray) 64
|
||||
116: 12(float) Load 115
|
||||
RayQueryInitializeKHR 107 108 33 24 110 112 114 116
|
||||
119: 52(int) Load 118(C)
|
||||
121: 11(ptr) AccessChain 90(rayQuery) 119
|
||||
122: 10 Load 121
|
||||
Store 120(param) 122
|
||||
124: 14(Ray) Load 70(ray)
|
||||
Store 123(param) 124
|
||||
125: 2 FunctionCall 19(doInitialize(rq1;struct-Ray-vf3-f1-vf3-f11;) 120(param) 123(param)
|
||||
69(index): 68(ptr) Variable Function
|
||||
71(ray): 15(ptr) Variable Function
|
||||
91(rayQuery): 90(ptr) Variable Function
|
||||
93(param): 11(ptr) Variable Function
|
||||
96(param): 15(ptr) Variable Function
|
||||
122(param): 11(ptr) Variable Function
|
||||
125(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
|
||||
92: 6(int) Load 69(index)
|
||||
94: 11(ptr) AccessChain 91(rayQuery) 54
|
||||
95: 10 Load 94
|
||||
Store 93(param) 95
|
||||
97: 78(ptr) AccessChain 76 54 92
|
||||
98: 72(Ray) Load 97
|
||||
99: 13(fvec3) CompositeExtract 98 0
|
||||
100: 55(ptr) AccessChain 96(param) 54
|
||||
Store 100 99
|
||||
101: 12(float) CompositeExtract 98 1
|
||||
102: 59(ptr) AccessChain 96(param) 58
|
||||
Store 102 101
|
||||
103: 13(fvec3) CompositeExtract 98 2
|
||||
104: 55(ptr) AccessChain 96(param) 62
|
||||
Store 104 103
|
||||
105: 12(float) CompositeExtract 98 3
|
||||
106: 59(ptr) AccessChain 96(param) 65
|
||||
Store 106 105
|
||||
107: 2 FunctionCall 19(doInitialize(rq1;struct-Ray-vf3-f1-vf3-f11;) 93(param) 96(param)
|
||||
108: 11(ptr) AccessChain 91(rayQuery) 58
|
||||
109: 48 Load 50(rtas)
|
||||
111: 55(ptr) AccessChain 71(ray) 54
|
||||
112: 13(fvec3) Load 111
|
||||
113: 59(ptr) AccessChain 71(ray) 58
|
||||
114: 12(float) Load 113
|
||||
115: 55(ptr) AccessChain 71(ray) 62
|
||||
116: 13(fvec3) Load 115
|
||||
117: 59(ptr) AccessChain 71(ray) 65
|
||||
118: 12(float) Load 117
|
||||
RayQueryInitializeKHR 108 109 33 110 112 114 116 118
|
||||
121: 53(int) Load 120(C)
|
||||
123: 11(ptr) AccessChain 91(rayQuery) 121
|
||||
124: 10 Load 123
|
||||
Store 122(param) 124
|
||||
126: 14(Ray) Load 71(ray)
|
||||
Store 125(param) 126
|
||||
127: 2 FunctionCall 19(doInitialize(rq1;struct-Ray-vf3-f1-vf3-f11;) 122(param) 125(param)
|
||||
Return
|
||||
FunctionEnd
|
||||
8(launchIndex(): 6(int) Function None 7
|
||||
|
|
@ -186,14 +188,14 @@ rayQuery-array-2d-dynamic.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue