mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-20 18:30:34 +01:00
intel/nir/rt: fix ray query proceed level
Initially the level is world (top level), then it's whatever level the potential hit is. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:c78be5da30("intel/fs: lower ray query intrinsics") Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17396> (cherry picked from commit259b1647e6)
This commit is contained in:
parent
a13dc0cd0e
commit
318020df2b
2 changed files with 2 additions and 2 deletions
|
|
@ -1048,7 +1048,7 @@
|
|||
"description": "intel/nir/rt: fix ray query proceed level",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c78be5da300ae386a12b91a22efb064335e2043a"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ lower_ray_query_intrinsic(nir_builder *b,
|
|||
update_trace_ctrl_level(b, ctrl_level_addr,
|
||||
NULL, NULL,
|
||||
nir_imm_int(b, GEN_RT_TRACE_RAY_CONTINUE),
|
||||
nir_imm_int(b, BRW_RT_BVH_LEVEL_OBJECT));
|
||||
hit_in.bvh_level);
|
||||
|
||||
not_done_then = nir_inot(b, hit_in.done);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue