UBO consolidation (#3089)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -17,7 +17,10 @@ namespace vulkan {
|
||||
|
||||
TileLayerGroup::TileLayerGroup(int32_t layerIndex_, std::size_t initialCapacity, std::string name_)
|
||||
: mbgl::TileLayerGroup(layerIndex_, initialCapacity, std::move(name_)),
|
||||
uniformBuffers(DescriptorSetType::Layer, shaders::layerUBOStartId, shaders::maxUBOCountPerLayer) {}
|
||||
uniformBuffers(DescriptorSetType::Layer,
|
||||
shaders::globalUBOCount,
|
||||
shaders::maxSSBOCountPerLayer,
|
||||
shaders::maxUBOCountPerLayer) {}
|
||||
|
||||
void TileLayerGroup::upload(gfx::UploadPass& uploadPass) {
|
||||
if (!enabled || !getDrawableCount()) {
|
||||
|
||||
Reference in New Issue
Block a user