diff options
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_surface.c')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_surface.c b/src/gallium/drivers/etnaviv/etnaviv_surface.c index 1db9b40a510..4b95f6575a4 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_surface.c +++ b/src/gallium/drivers/etnaviv/etnaviv_surface.c @@ -66,7 +66,7 @@ etna_create_surface(struct pipe_context *pctx, struct pipe_resource *prsc, if (VIV_FEATURE(ctx->screen, chipFeatures, FAST_CLEAR) && VIV_FEATURE(ctx->screen, chipMinorFeatures0, MC20) && - !DBG_ENABLED(ETNA_DBG_NO_TS) && !rsc->ts_bo && + !rsc->ts_bo && (rsc->levels[level].padded_width & ETNA_RS_WIDTH_MASK) == 0 && (rsc->levels[level].padded_height & ETNA_RS_HEIGHT_MASK) == 0) { etna_screen_resource_alloc_ts(pctx->screen, rsc); |