UBO consolidation (#3089)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Alex Cristici
2025-01-08 17:41:29 +02:00
committed by GitHub
parent cf9f41cf61
commit f582327191
262 changed files with 6968 additions and 6928 deletions

View File

@@ -46,7 +46,7 @@
#include <mbgl/gfx/vertex_attribute.hpp>
#include <mbgl/renderer/render_static_data.hpp>
#include <mbgl/shaders/common_ubo.hpp>
#include <mbgl/shaders/location_indicator_ubo.hpp>
#include <mbgl/gfx/drawable.hpp>
#include <mbgl/gfx/drawable_builder.hpp>
#include <mbgl/gfx/drawable_impl.hpp>
@@ -1052,7 +1052,7 @@ void RenderLocationIndicatorLayer::update(gfx::ShaderRegistry& shaders,
}
if (!quadShader) {
quadShader = context.getGenericShader(shaders, "CommonTexturedShader");
quadShader = context.getGenericShader(shaders, "LocationIndicatorTexturedShader");
}
if (!quadShader) {
@@ -1061,7 +1061,7 @@ void RenderLocationIndicatorLayer::update(gfx::ShaderRegistry& shaders,
}
if (!circleShader) {
circleShader = context.getGenericShader(shaders, "CommonShader");
circleShader = context.getGenericShader(shaders, "LocationIndicatorShader");
}
if (!circleShader) {