gallium/pb: remove 8 bytes from pb_buffer by packing variables
authorMarek Olšák <marek.olsak@amd.com>
Sun, 28 Mar 2021 10:23:02 +0000 (06:23 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 6 Apr 2021 22:31:15 +0000 (22:31 +0000)
commit815d98c22d407b9a3a3377d829152ed8649260fc
treebca690aa3fa8681c7efc9f19e9184ddae215388a
parent712b629abff0ae66aa8fe51e5119f75c4161c7bb
gallium/pb: remove 8 bytes from pb_buffer by packing variables

Only svga used usages beyond 16 bits. All other drivers are OK with 16 bits.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9809>
src/gallium/auxiliary/pipebuffer/pb_buffer.h
src/gallium/winsys/svga/drm/vmw_buffer.h