v3dv: remove duplicate condition

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17536>
This commit is contained in:
Iago Toral Quiroga 2022-07-15 05:29:39 +02:00 committed by Marge Bot
parent 706f1252ba
commit ea3acbef8d
1 changed files with 1 additions and 2 deletions

View File

@ -2097,8 +2097,7 @@ update_gfx_uniform_state(struct v3dv_cmd_buffer *cmd_buffer,
const bool needs_fs_update = has_new_pipeline ||
has_new_view_index ||
has_new_push_constants_fs ||
has_new_descriptors_fs ||
has_new_view_index;
has_new_descriptors_fs;
if (needs_fs_update) {
struct v3dv_shader_variant *fs_variant =