preserve DB_DEPTH_SIZE_XY and add tiled readback

This commit is contained in:
nmzik
2026-07-17 21:56:09 +02:00
parent 42d42e3258
commit f136c46519
7 changed files with 88 additions and 5 deletions
@@ -4138,7 +4138,7 @@ void GraphicsInitJmpTablesCxIndirect() {
HW::DepthDepthSizeXY r;
r.x_max = KYTY_PM4_GET(value, DB_DEPTH_SIZE_XY, X_MAX);
r.y_max = KYTY_PM4_GET(value, DB_DEPTH_SIZE_XY, Y_MAX);
r.valid = (r.x_max != 0 || r.y_max != 0);
r.valid = true;
cp->GetCtx()->SetDepthDepthSizeXY(r);
};
g_hw_ctx_indirect_func[Pm4::DB_DEPTH_SIZE] = [](KYTY_HW_CTX_INDIRECT_ARGS) {