radeonsi: fix build error because of missing param
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 26 Apr 2016 10:47:28 +0000 (13:47 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 26 Apr 2016 10:48:43 +0000 (13:48 +0300)
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_state.c

index ae87a596398a7e7736b0c937f2e60c58774d757b..6017383a675d5e271921c669589cb7ab4a51321d 100644 (file)
@@ -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 +