mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
tu: Fix 2D blit path for GMEM stores on A7XX
These were broken due to the new window offset register not being set for every tile, even with this the 2D blit path is broken for MSAA D24S8 resolves but since outside of FDM that should be handled by the event blit path it's not a major concern but should be fixed. Signed-off-by: Mark Collins <mark@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26461>
This commit is contained in:
parent
9e699afa9b
commit
1714e0c240
2 changed files with 4 additions and 0 deletions
|
|
@ -4025,6 +4025,7 @@ tu_store_gmem_attachment(struct tu_cmd_buffer *cmd,
|
|||
}
|
||||
}
|
||||
} else {
|
||||
/* A7XX TODO: Fix D24S8 MSAA resolves using the 2D blits */
|
||||
if (!cmd->state.pass->has_fdm) {
|
||||
r2d_coords(cmd, cs, render_area->offset, render_area->offset,
|
||||
render_area->extent);
|
||||
|
|
|
|||
|
|
@ -681,6 +681,9 @@ tu6_emit_window_offset(struct tu_cs *cs, uint32_t x1, uint32_t y1)
|
|||
|
||||
tu_cs_emit_regs(cs,
|
||||
A6XX_SP_TP_WINDOW_OFFSET(.x = x1, .y = y1));
|
||||
|
||||
tu_cs_emit_regs(cs,
|
||||
A7XX_SP_PS_2D_WINDOW_OFFSET(.x = x1, .y = y1));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue