File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,12 @@ impl RayQuery {
219
219
ray_tmax : f32 ,
220
220
) {
221
221
asm ! {
222
+ "%acceleration_structure = OpLoad _ {acceleration_structure}" ,
222
223
"%origin = OpLoad _ {ray_origin}" ,
223
224
"%direction = OpLoad _ {ray_direction}" ,
224
225
"OpRayQueryInitializeKHR \
225
226
{ray_query} \
226
- { acceleration_structure} \
227
+ % acceleration_structure \
227
228
{ray_flags} \
228
229
{cull_mask} \
229
230
%origin \
@@ -256,7 +257,7 @@ impl RayQuery {
256
257
"%u32_0 = OpConstant %u32 0" ,
257
258
"%u32_1 = OpConstant %u32 1" ,
258
259
"%result = OpRayQueryProceedKHR %bool {ray_query}" ,
259
- "{result} = OpSelect %u32 %result %u32_0 %u32_1 " ,
260
+ "{result} = OpSelect %u32 %result %u32_1 %u32_0 " ,
260
261
ray_query = in( reg) self ,
261
262
result = out( reg) result,
262
263
}
You can’t perform that action at this time.
0 commit comments