lavapipe: Do not return in report_ray_intersection

report_ray_intersection should not terminate invocations.

Fixes: d99e95e ("lavapipe: Implement VK_KHR_ray_tracing_pipeline")
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31186>
This commit is contained in:
Konstantin Seurer 2024-09-16 12:51:37 +02:00 committed by Marge Bot
parent 4824bcdd5d
commit 466bbaf40f

View file

@ -523,10 +523,6 @@ lvp_lower_isec_intrinsic(nir_builder *b, nir_intrinsic_instr *instr, void *data)
nir_def *terminate = nir_load_var(b, state->terminate);
nir_store_var(b, state->terminate, nir_ior(b, terminate, prev_terminate), 0x1);
nir_push_if(b, terminate);
nir_jump(b, nir_jump_return);
nir_pop_if(b, NULL);
}
nir_push_if(b, nir_load_var(b, state->accept));