anv: don't set color state when input state was requested

Fixes: 814dc66935 ("anv: Allocate surface states per-subpass")

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15081>
This commit is contained in:
Marcin Ślusarz 2022-02-01 14:39:39 +01:00 committed by Marge Bot
parent c108a68954
commit 037e98a10c
1 changed files with 0 additions and 1 deletions

View File

@ -1723,7 +1723,6 @@ genX(cmd_buffer_alloc_att_surf_states)(struct anv_cmd_buffer *cmd_buffer,
else
continue;
state->attachments[att].color.state = next_state;
next_state.offset += ss_stride;
next_state.map += ss_stride;
}