From: Kenneth Graunke Date: Sun, 11 Aug 2019 14:44:41 +0000 (-0700) Subject: iris: Add missing 'break' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=661be3fef92d5b0772b7a1c261e3d5ca1ea6a9e0;p=mesa.git iris: Add missing 'break' We don't want to fall through to unreachable(). CID: 1452277 --- diff --git a/src/gallium/drivers/iris/iris_monitor.c b/src/gallium/drivers/iris/iris_monitor.c index 6c730c5ef9c..cef3f844487 100644 --- a/src/gallium/drivers/iris/iris_monitor.c +++ b/src/gallium/drivers/iris/iris_monitor.c @@ -472,6 +472,7 @@ iris_get_monitor_result(struct pipe_context *ctx, case GEN_PERF_COUNTER_DATA_TYPE_DOUBLE: { double v = *(double*)(monitor->result_buffer + counter->offset); result[i].f = v; + break; } default: unreachable("unexpected counter data type");