[Mesa-dev] [PATCH] etnaviv: npot_tex_any_wrap needs one bit only
Lucas Stach
l.stach at pengutronix.de
Wed Feb 21 10:02:56 UTC 2018
Am Dienstag, den 20.02.2018, 20:47 +0100 schrieb Christian Gmeiner:
> Reduces size of struct etna_specs from 100 to 94 bytes.
>
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Lucas Stach <l.stach at pengutronix.de>
> ---
> src/gallium/drivers/etnaviv/etnaviv_internal.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/etnaviv/etnaviv_internal.h
> b/src/gallium/drivers/etnaviv/etnaviv_internal.h
> index b8d2186433..3424d8a771 100644
> --- a/src/gallium/drivers/etnaviv/etnaviv_internal.h
> +++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h
> @@ -87,7 +87,7 @@ struct etna_specs {
> /* has BLT engine instead of RS */
> unsigned use_blt : 1;
> /* can use any kind of wrapping mode on npot textures */
> - unsigned npot_tex_any_wrap;
> + unsigned npot_tex_any_wrap : 1;
> /* number of bits per TS tile */
> unsigned bits_per_tile;
> /* clear value for TS (dependent on bits_per_tile) */
More information about the mesa-dev
mailing list