mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02: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> (cherry picked from commit006085e676) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
This commit is contained in:
parent
28e172e956
commit
040453857b
2 changed files with 2 additions and 1 deletions
|
|
@ -614,7 +614,7 @@
|
|||
"description": "anv: Call brw_nir_lower_rt_intrinsics_pre_trace lowering pass",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d39e443ef888ffd9c3385ed4c40e727868626b6b",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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