mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
anv: Use pipeline type to decide whether or not lower multiview
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4040>
This commit is contained in:
parent
613c9b78e3
commit
9b0682df82
1 changed files with 1 additions and 1 deletions
|
|
@ -663,7 +663,7 @@ anv_pipeline_lower_nir(struct anv_pipeline *pipeline,
|
|||
|
||||
NIR_PASS_V(nir, anv_nir_lower_ycbcr_textures, layout);
|
||||
|
||||
if (nir->info.stage != MESA_SHADER_COMPUTE)
|
||||
if (pipeline->type == ANV_PIPELINE_GRAPHICS)
|
||||
NIR_PASS_V(nir, anv_nir_lower_multiview, pipeline->subpass->view_mask);
|
||||
|
||||
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue