summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/panfrost/pan_mfbd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pan_mfbd.c b/src/gallium/drivers/panfrost/pan_mfbd.c
index 728ed2f1604..a35acc311bc 100644
--- a/src/gallium/drivers/panfrost/pan_mfbd.c
+++ b/src/gallium/drivers/panfrost/pan_mfbd.c
@@ -239,8 +239,9 @@ panfrost_mfbd_set_cbuf(
rt->afbc.stride = 0;
rt->afbc.unk = 0x30009;
- /* TODO: Investigate shift */
- rt->framebuffer_stride = stride << 1;
+ /* TODO: The blob sets this to something nonzero, but it's not
+ * clear what/how to calculate/if it matters */
+ rt->framebuffer_stride = 0;
} else {
fprintf(stderr, "Invalid render layout (cbuf)");
assert(0);