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:
parent
c108a68954
commit
037e98a10c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue