Explorar el Código

pipeline_helper: Add missing [[maybe_unused]]

ReinUsesLisp hace 5 años
padre
commit
e5e79648cf
Se han modificado 1 ficheros con 1 adiciones y 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);
         }
     }