GS/Metal: Fix Wunused-const-variable warning.

This commit is contained in:
lightningterror 2024-03-28 04:00:28 +01:00
parent 2eab0f9757
commit aa82789132
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ constant uint FMT_24 = 1;
constant uint FMT_16 = 2; constant uint FMT_16 = 2;
constant uint SHUFFLE_READ = 1; constant uint SHUFFLE_READ = 1;
constant uint SHUFFLE_WRITE = 2; [[maybe_unused]] constant uint SHUFFLE_WRITE = 2;
constant uint SHUFFLE_READWRITE = 3; constant uint SHUFFLE_READWRITE = 3;
constant bool HAS_FBFETCH [[function_constant(GSMTLConstantIndex_FRAMEBUFFER_FETCH)]]; constant bool HAS_FBFETCH [[function_constant(GSMTLConstantIndex_FRAMEBUFFER_FETCH)]];