fix: Work around a bug in the Mali T720 compiler (#10340) 59aa55b5d0 Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
diff --git a/.rive_head b/.rive_head index a19b195..a96f1ed 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -583274d7b9361269fb90db7b080c1c3e1d71df44 +59aa55b5d066c8e82d10b5344eb40081d911b728
diff --git a/renderer/src/shaders/draw_path_common.glsl b/renderer/src/shaders/draw_path_common.glsl index f3b428e..0d12b40 100644 --- a/renderer/src/shaders/draw_path_common.glsl +++ b/renderer/src/shaders/draw_path_common.glsl
@@ -779,7 +779,11 @@ if (bool(contourIDWithFlags & MIRRORED_CONTOUR_CONTOUR_FLAG) != bool(contourIDWithFlags & NEGATE_PATH_FILL_COVERAGE_FLAG)) { - outCoverages.x = -outCoverages.x; + // Effectively: outCoverages.x = -outCoverages.x + // + // ... But don't write that because it hits a bug in the Mali T720 + // compiler that also negates Y. + outCoverages *= float4(-1., +1., +1., +1.); } #endif // !RENDER_MODE_MSAA