diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 493831cbdef..7e9246a920a 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -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 */