gallium: remove 4 bytes from pipe_transfer

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10527>
This commit is contained in:
Marek Olšák 2021-04-21 23:40:51 -04:00 committed by Marge Bot
parent 00c30dad78
commit 6005b86893
1 changed files with 2 additions and 2 deletions

View File

@ -581,8 +581,8 @@ struct pipe_memory_allocation;
struct pipe_transfer
{
struct pipe_resource *resource; /**< resource to transfer to/from */
unsigned level; /**< texture mipmap level */
enum pipe_map_flags usage;
enum pipe_map_flags usage:24;
unsigned level:8; /**< texture mipmap level */
struct pipe_box box; /**< region of the resource to access */
unsigned stride; /**< row stride in bytes */
unsigned layer_stride; /**< image/layer stride in bytes */