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>
(cherry picked from commit 466bbaf40f)
This commit is contained in:
Konstantin Seurer 2024-09-16 12:51:37 +02:00 committed by Eric Engestrom
parent 5e9a09b6b7
commit fc783e6de5
2 changed files with 1 additions and 5 deletions

View file

@ -424,7 +424,7 @@
"description": "lavapipe: Do not return in report_ray_intersection",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "d99e95e033eccfece156e8715a1e33daca10160e",
"notes": null

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));