Module: Mesa Branch: main Commit: 4080f18163f4ea8cd9a7be7905752f609d6a9b77 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4080f18163f4ea8cd9a7be7905752f609d6a9b77
Author: Konstantin Seurer <[email protected]> Date: Wed Apr 20 14:39:14 2022 +0200 radv: Fix lowering ignore_ray_intersection Fixes dEQP-VK.ray_tracing_pipeline.misc.report_intersection_result Fixes: c3d82a9 ("radv: Add pass to lower anyhit shader into an intersection shader.") Signed-off-by: Konstantin Seurer <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16056> --- src/amd/vulkan/radv_pipeline_rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_pipeline_rt.c b/src/amd/vulkan/radv_pipeline_rt.c index 07a4106e5cc..cb94ede62da 100644 --- a/src/amd/vulkan/radv_pipeline_rt.c +++ b/src/amd/vulkan/radv_pipeline_rt.c @@ -862,7 +862,7 @@ lower_any_hit_for_intersection(nir_shader *any_hit) */ nir_store_deref(b, commit, nir_imm_false(b), 0x1); nir_push_if(b, nir_imm_true(b)); - nir_jump(b, nir_jump_halt); + nir_jump(b, nir_jump_return); nir_pop_if(b, NULL); break;
