From ca815f1ead957366aa7e3356a2d742851bf44809 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 9 Jun 2017 19:46:43 +0200 Subject: [PATCH] radeonsi: pack si_sampler_view better MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_pipe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }; -- 2.30.2