From 661be3fef92d5b0772b7a1c261e3d5ca1ea6a9e0 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 11 Aug 2019 07:44:41 -0700 Subject: [PATCH] iris: Add missing 'break' We don't want to fall through to unreachable(). CID: 1452277 --- src/gallium/drivers/iris/iris_monitor.c | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.30.2