Module: Mesa Branch: main Commit: d0426697476ebf8ae1b8b26b6ee272c81bc12c86 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0426697476ebf8ae1b8b26b6ee272c81bc12c86
Author: Iván Briano <[email protected]> Date: Mon Oct 17 17:40:36 2022 -0700 anv: compile_upload_rt_shader expects a valid pointer Fixes crashes on almost every CTS test that uses raytracing pipelines. Fixes: ff91c5ca42b ("anv: add analysis for push descriptor uses and store it in shader cache") Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19130> --- src/intel/vulkan/anv_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index dc1625fdbe1..135020a4253 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -2504,7 +2504,7 @@ compile_upload_rt_shader(struct anv_ray_tracing_pipeline *pipeline, sizeof(stage->prog_data.bs), stage->stats, 1, NULL, &empty_bind_map, - false /* push_descriptor_uses_bt */); + &stage->push_desc_info); if (bin == NULL) return vk_error(pipeline, VK_ERROR_OUT_OF_HOST_MEMORY);
