diff options
author | Marek Olšák <[email protected]> | 2018-06-21 23:54:20 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-06-25 18:33:58 -0400 |
commit | d4755ef3892635e6e252af21ef7faf934ddd3da1 (patch) | |
tree | ca62e24a09b24681762349700f2a32c406d41010 /src/gallium/drivers/radeonsi/si_descriptors.c | |
parent | 2a8d1039b67d7bbf739e8031a123cc0f3f7ee1b8 (diff) |
radeonsi: remove redundant si_texture::cmask_size
cmask_buffer and surface.cmask_size can replace its role.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_descriptors.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index 68b58fde06f..e8c028061d1 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -478,7 +478,7 @@ static bool color_needs_decompression(struct si_texture *tex) { return tex->surface.fmask_size || (tex->dirty_level_mask && - (tex->cmask_size || tex->dcc_offset)); + (tex->cmask_buffer || tex->dcc_offset)); } static bool depth_needs_decompression(struct si_texture *tex) |