2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

pipeline_helper: Add missing [[maybe_unused]]

This commit is contained in:
ReinUsesLisp 2021-07-09 18:16:56 -03:00 committed by ameerj
parent 2e71e4c5c0
commit e5e79648cf

View file

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