From: Marek Olšák Date: Fri, 9 Jun 2017 17:46:43 +0000 (+0200) Subject: radeonsi: pack si_sampler_view better X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca815f1ead957366aa7e3356a2d742851bf44809;p=mesa.git radeonsi: pack si_sampler_view better Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 46b095d3b14..55fda4db35c 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -128,8 +128,8 @@ struct si_sampler_view { uint32_t state[8]; uint32_t fmask_state[8]; const struct legacy_surf_level *base_level_info; - unsigned base_level; - unsigned block_width; + ubyte base_level; + ubyte block_width; bool is_stencil_sampler; bool dcc_incompatible; };