summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-05-31 14:30:18 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-05-31 15:55:05 -0700
commit27497c5c0221ed86337fc5a89080f123dcd8fd52 (patch)
tree79b30624f49398a24b146057f1b2f0a1fcdfbd7a
parentf387c2b238804b8c2d4df5473055852374c775af (diff)
iris: Drop unused locals from iris_clear.c to avoid warning
Reviewed-by: Jordan Justen <[email protected]>
-rw-r--r--src/gallium/drivers/iris/iris_clear.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c
index da2593c78dd..45030eb1208 100644
--- a/src/gallium/drivers/iris/iris_clear.c
+++ b/src/gallium/drivers/iris/iris_clear.c
@@ -75,9 +75,6 @@ can_fast_clear_color(struct iris_context *ice,
{
struct iris_resource *res = (void *) p_res;
- struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER];
- const struct gen_device_info *devinfo = &batch->screen->devinfo;
-
if (res->aux.usage == ISL_AUX_USAGE_NONE)
return false;