From f66d1cc1d6f94c5fb480b10cdfc11a1cb9c3a738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 24 Jul 2025 13:50:57 +0200 Subject: [PATCH] Shaders: more cases of accidental lowp. Should have gone into b93de590bcc778763b0fa5cf911d1e2e9209112e already. No idea what am I doing there. --- src/Magnum/Shaders/Line.in.vert | 2 +- src/Magnum/Shaders/Line.vert | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Shaders/Line.in.vert b/src/Magnum/Shaders/Line.in.vert index 2f0073f03..c91bd264c 100644 --- a/src/Magnum/Shaders/Line.in.vert +++ b/src/Magnum/Shaders/Line.in.vert @@ -45,7 +45,7 @@ highp vec2 expandLineVertex( in mediump const float width, in mediump const float smoothness, in highp const float miterLimit, - in lowp const vec2 viewportSize, + in highp const vec2 viewportSize, out highp vec2 centerDistanceSigned, out highp float halfSegmentLength, out highp float hasCap) diff --git a/src/Magnum/Shaders/Line.vert b/src/Magnum/Shaders/Line.vert index 2ae38bf2f..12c233333 100644 --- a/src/Magnum/Shaders/Line.vert +++ b/src/Magnum/Shaders/Line.vert @@ -302,7 +302,7 @@ highp vec2 expandLineVertex( in mediump const float width, in mediump const float smoothness, in highp const float miterLimit, - in lowp const vec2 viewportSize, + in highp const vec2 viewportSize, out highp vec2 centerDistanceSigned, out highp float halfSegmentLength, out highp float hasCap);