diff --git a/src/asahi/lib/cmdbuf.xml b/src/asahi/lib/cmdbuf.xml
index c1a9feb7226..09773c02a7b 100644
--- a/src/asahi/lib/cmdbuf.xml
+++ b/src/asahi/lib/cmdbuf.xml
@@ -90,7 +90,10 @@
-
+
+
+
+
@@ -106,7 +109,8 @@
-
+
+
diff --git a/src/gallium/drivers/asahi/agx_state.c b/src/gallium/drivers/asahi/agx_state.c
index b3ce4b8cb20..46d44b3dca4 100644
--- a/src/gallium/drivers/asahi/agx_state.c
+++ b/src/gallium/drivers/asahi/agx_state.c
@@ -343,7 +343,8 @@ agx_create_sampler_view(struct pipe_context *pctx,
cfg.height = texture->height0;
cfg.srgb = (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB);
cfg.unk_1 = rsrc->bo->ptr.gpu;
- cfg.unk_2 = 0x20000;
+ cfg.unk_2 = false;
+ cfg.stride = AGX_RT_STRIDE_TILED;
}
/* Initialize base object */
@@ -579,7 +580,7 @@ agx_set_framebuffer_state(struct pipe_context *pctx,
cfg.width = state->width;
cfg.height = state->height;
cfg.buffer = tex->bo->ptr.gpu;
- cfg.unk_100 = 0x1000000;
+ cfg.stride = AGX_RT_STRIDE_TILED;
};
}
}