diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-15 15:35:30 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-16 07:19:29 -0700 |
commit | d60994989e5be0839e6b57b1c97eb23b4ba3dc0f (patch) | |
tree | b6a32224bcbf7de128a5ab8492a0a69db91c4d4f | |
parent | e65e3cf596f1a3d0ac1e7bfdd28ebc3b72b4558e (diff) |
panfrost/mfbd: Zero out framebuffer_stride
We don't know what this is, so let's not pretend we do.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r-- | src/gallium/drivers/panfrost/pan_mfbd.c | 5 |
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); |