Module: Mesa Branch: master Commit: 096921c878a1eeb2d092c49170e3584d0f2f0f5a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=096921c878a1eeb2d092c49170e3584d0f2f0f5a
Author: Eric Anholt <[email protected]> Date: Mon Dec 16 21:17:17 2019 -0800 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> --- src/gallium/drivers/iris/iris_resource.c | 2 ++ 1 file changed, 2 insertions(+) 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. */ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
