mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
anv: Call brw_nir_lower_rt_intrinsics_pre_trace lowering pass
Call this pass before nir_lower_shader_calls().
Fixes: d39e443e ("anv: add infrastructure for common vk_pipeline")
Cc: mesa-stable
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38041>
This commit is contained in:
parent
b824ef83ab
commit
006085e676
1 changed files with 1 additions and 0 deletions
|
|
@ -1054,6 +1054,7 @@ anv_shader_compile_bs(struct anv_device *device,
|
|||
.should_remat_callback = should_remat_cb,
|
||||
};
|
||||
|
||||
NIR_PASS(_, nir, brw_nir_lower_rt_intrinsics_pre_trace);
|
||||
NIR_PASS(_, nir, nir_lower_shader_calls, &opts,
|
||||
&resume_shaders, &num_resume_shaders, mem_ctx);
|
||||
NIR_PASS(_, nir, brw_nir_lower_shader_calls, &lowering_state);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue