From aa82789132da01afadd1fe2be2335b2c7e73ffd4 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 28 Mar 2024 04:00:28 +0100 Subject: [PATCH] GS/Metal: Fix Wunused-const-variable warning. --- pcsx2/GS/Renderers/Metal/tfx.metal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/Metal/tfx.metal b/pcsx2/GS/Renderers/Metal/tfx.metal index fd2c14618b..1f1d7d6c47 100644 --- a/pcsx2/GS/Renderers/Metal/tfx.metal +++ b/pcsx2/GS/Renderers/Metal/tfx.metal @@ -8,7 +8,7 @@ constant uint FMT_24 = 1; constant uint FMT_16 = 2; constant uint SHUFFLE_READ = 1; -constant uint SHUFFLE_WRITE = 2; +[[maybe_unused]] constant uint SHUFFLE_WRITE = 2; constant uint SHUFFLE_READWRITE = 3; constant bool HAS_FBFETCH [[function_constant(GSMTLConstantIndex_FRAMEBUFFER_FETCH)]];