summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-12-16 21:17:17 -0800
committerEric Anholt <[email protected]>2020-01-28 12:30:48 -0800
commit096921c878a1eeb2d092c49170e3584d0f2f0f5a (patch)
tree21e8567724c58d4c5eb1002614c0bfc4415c8839 /src/gallium
parent05e3ccd8a114df741ec493c977374deda3c6e693 (diff)
iris: Silence warning about AUX_USAGE_MC.
It was recently introduced and not added to iris yet it looks like. Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3539>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 952d6615584..bdd715df2c9 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -553,6 +553,8 @@ iris_resource_configure_aux(struct iris_screen *screen,
initial_state = ISL_AUX_STATE_PASS_THROUGH;
*alloc_flags |= BO_ALLOC_ZEROED;
break;
+ case ISL_AUX_USAGE_MC:
+ unreachable("Unsupported aux mode");
}
/* Create the aux_state for the auxiliary buffer. */