summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOded Gabbay <[email protected]>2016-04-26 13:47:28 +0300
committerOded Gabbay <[email protected]>2016-04-26 13:48:43 +0300
commit514c5b5f4b692e2596341e08797c4f6dc8cdfe00 (patch)
treee446a5240ca70b99eaf1a73d7cde470db4d1dd31
parent965175aba3eee57e4bcabd616c36abe647524f9c (diff)
radeonsi: fix build error because of missing param
Signed-off-by: Oded Gabbay <[email protected]> Cc: "11.1 11.2" <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index ae87a596398..6017383a675 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -2949,7 +2949,7 @@ si_make_texture_descriptor(struct si_screen *screen,
S_008F24_LAST_ARRAY(last_layer));
if (tex->dcc_offset) {
- unsigned swap = r600_translate_colorswap(pipe_format);
+ unsigned swap = r600_translate_colorswap(pipe_format, FALSE);
state[6] = S_008F28_COMPRESSION_EN(1) | S_008F28_ALPHA_IS_ON_MSB(swap <= 1);
state[7] = (tex->resource.gpu_address +