Skip to content
Commit 306e82ac authored by Lucas Stach's avatar Lucas Stach Committed by Dylan Baker
Browse files

rbug: fix transmitted texture sizes



The rbug wire format defines the texture size parameters to be uint32_t sized
and uses memcpy to move the function parameters to the message structure.
This caused totally wrong transmitted texture sizes since the height and depth
paramterds have been changed to uint16_t in the gallium API. Fix this by doing
an explicit conversion to the correct representation before packing into the
wire message.

Fixes: e6428092 (gallium: decrease the size of pipe_resource - 64 -> 48 bytes)
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
(cherry picked from commit 6174cba7)
parent ef906b46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment