Skip to content

Commit b8572e1

Browse files
mapbox-github-ci-writer-4[bot]lasselammigithub-actions[bot]endanke
committed
[Backport release/v0.22] [MAPSPERF-137] Improve rendering performance of feature cutouts (internal-12265)
Backport of internal-11300 to `release/v0.22`. Cherry-picked commits: 4f097f84f1fbb495e19c89ffe8c7701c151c9ec5 > [!WARNING] > This backport has merge conflicts that need manual resolution. cc @mapbox/gl-native cc @mapbox/gl-js --------- Co-authored-by: Lasse Lammi <lasse.lammi@mapbox.com> Co-authored-by: Changelog autocreator bot <github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Eke <daniel.eke@mapbox.com> GitOrigin-RevId: 7375a9bbb72445ece1e7de8838f7beca885a0dcd
1 parent 6ec4340 commit b8572e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/shaders/_prelude.fragment.glsl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#ifdef DUAL_SOURCE_BLENDING
55
layout(location = 0, index = 0) out vec4 glFragColor;
66
layout(location = 0, index = 1) out vec4 glFragColorSrc1;
7+
#elif defined(FLOAT_RENDER_TARGET)
8+
layout(location = 0) out highp vec4 glFragColor;
79
#else
810
layout(location = 0) out vec4 glFragColor;
911
#endif

0 commit comments

Comments
 (0)