From 45cbe122821730609ec1ff12f1b2f6aeeea5896b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 6 Jun 2023 20:08:09 -0400 Subject: [PATCH] asahi: Remove ; in perf_debug_ctx Otherwise `if(x) perf_debug_ctx(); else if (y) ...` doesn't work. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/asahi/agx_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/asahi/agx_state.h b/src/gallium/drivers/asahi/agx_state.h index 80b9f7172e4..f6b888d2551 100644 --- a/src/gallium/drivers/asahi/agx_state.h +++ b/src/gallium/drivers/asahi/agx_state.h @@ -571,7 +571,7 @@ agx_device(struct pipe_screen *p) } while (0) #define perf_debug_ctx(ctx, ...) \ - perf_debug(agx_device((ctx)->base.screen), __VA_ARGS__); + perf_debug(agx_device((ctx)->base.screen), __VA_ARGS__) struct agx_resource { struct pipe_resource base;