Explorar o código

pipeline_helper: Add missing [[maybe_unused]]

ReinUsesLisp %!s(int64=5) %!d(string=hai) anos
pai
achega
e5e79648cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/renderer_vulkan/pipeline_helper.h

+ 1 - 1
src/video_core/renderer_vulkan/pipeline_helper.h

@@ -97,7 +97,7 @@ public:
         for ([[maybe_unused]] const auto& desc : info.texture_descriptors) {
             Add(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, stage);
         }
-        for (const auto& desc : info.image_descriptors) {
+        for ([[maybe_unused]] const auto& desc : info.image_descriptors) {
             Add(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, stage);
         }
     }