radv: rename radv_pipeline_key:🆚:dynamic_vs_input to has_prolog
With GPL it's possible to create VS prologs without this dynamic state, so it seems better to rename. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18519>
This commit is contained in:

committed by
Marge Bot

parent
57b3bff41a
commit
fdfa59d7bf
@@ -2664,7 +2664,7 @@ radv_generate_graphics_pipeline_key(const struct radv_graphics_pipeline *pipelin
|
||||
key.has_multiview_view_index = !!state->rp->view_mask;
|
||||
|
||||
if (pipeline->dynamic_states & RADV_DYNAMIC_VERTEX_INPUT) {
|
||||
key.vs.dynamic_input_state = true;
|
||||
key.vs.has_prolog = true;
|
||||
}
|
||||
|
||||
/* Vertex input state */
|
||||
@@ -3242,7 +3242,7 @@ radv_lower_vs_input(nir_shader *nir, const struct radv_physical_device *pdevice,
|
||||
nir_function_impl *impl = nir_shader_get_entrypoint(nir);
|
||||
bool progress = false;
|
||||
|
||||
if (pipeline_key->vs.dynamic_input_state)
|
||||
if (pipeline_key->vs.has_prolog)
|
||||
return false;
|
||||
|
||||
nir_builder b;
|
||||
|
Reference in New Issue
Block a user