gallium/radeon: don't use PREDICATION_OP_CLEAR
[mesa.git] / src / gallium / drivers / radeon / r600_texture.c
index 789c66fd169ae44716896543600b6208b64e2ab9..edfdfe33187a09a730b876683959d250b2a1a193 100644 (file)
@@ -641,9 +641,8 @@ r600_texture_create_object(struct pipe_screen *screen,
                                return NULL;
                        }
                }
-               if (rtex->surface.dcc_enabled) {
+               if (rtex->surface.dcc_size)
                        vi_texture_alloc_dcc_separate(rscreen, rtex);
-               }
        }
 
        /* Now create the backing buffer. */