radv: Move radv_nir_lower_view_index to new file.
Also ran clang-format on the affected code. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21971>
This commit is contained in:
@@ -1763,7 +1763,7 @@ radv_pipeline_link_shaders(const struct radv_device *device,
|
||||
}
|
||||
|
||||
/* Lower the view index to map on the layer. */
|
||||
NIR_PASS(_, consumer, radv_lower_view_index, producer->info.stage == MESA_SHADER_MESH);
|
||||
NIR_PASS(_, consumer, radv_nir_lower_view_index, producer->info.stage == MESA_SHADER_MESH);
|
||||
}
|
||||
|
||||
if (pipeline_key->optimisations_disabled)
|
||||
|
Reference in New Issue
Block a user