mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
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 <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
e65e3cf596
commit
d60994989e
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue