From: Marek Olšák Date: Fri, 9 Jun 2017 17:46:43 +0000 (+0200) Subject: radeonsi: pack si_sampler_view better X-Git-Tag: upstream/18.1.0~8899 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca815f1ead957366aa7e3356a2d742851bf44809;p=platform%2Fupstream%2Fmesa.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 46b095d..55fda4d 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; };