radeonsi: pack si_sampler_view better
authorMarek Olšák <marek.olsak@amd.com>
Fri, 9 Jun 2017 17:46:43 +0000 (19:46 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 12 Jun 2017 16:24:37 +0000 (18:24 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h

index 46b095d3b14ac9fe3fd2ebc8146509b22f7f304e..55fda4db35c5ca9ebf05ed874114f0a7189e6dc4 100644 (file)
@@ -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;
 };