iris: Add missing 'break'
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 11 Aug 2019 14:44:41 +0000 (07:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 11 Aug 2019 21:04:31 +0000 (14:04 -0700)
We don't want to fall through to unreachable().

CID: 1452277

src/gallium/drivers/iris/iris_monitor.c

index 6c730c5ef9c0832dd32cb86e590bd4151f4a5f7c..cef3f844487106b98077f7205822c3e56eb4e25a 100644 (file)
@@ -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");