summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-09 19:46:43 +0200
committerMarek Olšák <[email protected]>2017-06-12 18:24:37 +0200
commitca815f1ead957366aa7e3356a2d742851bf44809 (patch)
tree4eacf22baa0d4468fd05aee591f7c0fac38ee8f5 /src/gallium
parent29bf2530d8c003488c32c54f0d4c7c70cdb534e2 (diff)
radeonsi: pack si_sampler_view better
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h4
1 files 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;
};