tu: Don't emit SP_PS_2D_WINDOW_OFFSET on a6xx

This register isn't there.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33823>
This commit is contained in:
Rob Clark 2025-02-28 11:55:12 -08:00 committed by Marge Bot
parent 4348253db5
commit 6df9591905

View file

@ -764,8 +764,10 @@ 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));
if (CHIP >= A7XX) {
tu_cs_emit_regs(cs,
A7XX_SP_PS_2D_WINDOW_OFFSET(.x = x1, .y = y1));
}
}
void