mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 08:00:12 +01:00
freedreno/fdl: Set pitch for buffers
In the import path, we test pitch. So if we are to be able to import buffers, we should also set the pitch for buffers. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37696>
This commit is contained in:
parent
0922a0dd50
commit
ffcb8d0b89
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ void
|
|||
fdl_layout_buffer(struct fdl_layout *layout, uint32_t size)
|
||||
{
|
||||
layout->width0 = size;
|
||||
layout->pitch0 = size;
|
||||
layout->height0 = 1;
|
||||
layout->depth0 = 1;
|
||||
layout->cpp = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue