renderer_vulkan: Gate reduced shadow binding count to Android only. (#17)

This commit is contained in:
Steveice10
2023-01-11 05:03:11 -08:00
committed by GitHub
parent e2076f2385
commit 381db8452b

View File

@ -61,9 +61,13 @@ constexpr static std::array RASTERIZER_SETS = {
vk::DescriptorType::eStorageImage,
vk::DescriptorType::eStorageImage,
},
#ifdef ANDROID
.binding_count = 4, // TODO: Combine cube faces to a single storage image
// some android devices only expose up to four storage
// slots per pipeline
#else
.binding_count = 7,
#endif
},
};