renderer_vulkan: Gate reduced shadow binding count to Android only. (#17)
This commit is contained in:
@ -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
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user