summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-24 01:31:05 +0200
committerMarek Olšák <[email protected]>2016-10-26 13:02:58 +0200
commit37659071b870d3456df5c5a4f996c9fd4f1930d9 (patch)
tree74430fb03083de10e87282e958bcc78453a6f77d /src/gallium/drivers/r600/evergreen_state.c
parent2664351dfeeba2c1d0de272cdf6d5fd940a367e9 (diff)
gallium/radeon: don't do (fmask.size && cmask.size)
fmask implies that cmask is present too. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index c1379642c08..2167e765146 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -1302,7 +1302,7 @@ static void evergreen_set_framebuffer_state(struct pipe_context *ctx,
rctx->framebuffer.export_16bpc = false;
}
- if (rtex->fmask.size && rtex->cmask.size) {
+ if (rtex->fmask.size) {
rctx->framebuffer.compressed_cb_mask |= 1 << i;
}
}