mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-16 21:58:21 +02:00
tu: Get correct src view when storing gmem attachment
Fixes: a104a7ca1a
("tu: Handle non-identity GMEM swaps when resolving")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33514>
This commit is contained in:
parent
7b5efb4c0b
commit
bdf0f61d4a
1 changed files with 1 additions and 1 deletions
|
|
@ -5161,7 +5161,7 @@ tu_store_gmem_attachment(struct tu_cmd_buffer *cmd,
|
|||
struct tu_render_pass_attachment *dst = &cmd->state.pass->attachments[a];
|
||||
const struct tu_image_view *dst_iview = cmd->state.attachments[a];
|
||||
struct tu_render_pass_attachment *src = &cmd->state.pass->attachments[gmem_a];
|
||||
const struct tu_image_view *src_iview = cmd->state.attachments[a];
|
||||
const struct tu_image_view *src_iview = cmd->state.attachments[gmem_a];
|
||||
const VkClearValue *clear_value = &cmd->state.clear_values[gmem_a];
|
||||
bool resolve = a != gmem_a;
|
||||
if (resolve)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue