1
0
Fork 0
forked from suyu/suyu

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) {
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);
}
}