summaryrefslogtreecommitdiff
path: root/src/render/shaders
diff options
context:
space:
mode:
authorxqso <69903545+xqso@users.noreply.github.com>2025-07-25 15:19:23 +0000
committerGitHub <noreply@github.com>2025-07-25 17:19:23 +0200
commit5c8d675eedcd836cbb0d4eeadf203efc7f73752b (patch)
tree568ef38b465157d9b019032589f744def3ab930b /src/render/shaders
parentfd0c1f2ab492e8977305b6d00a6ea1cc293d6b6b (diff)
ci: correct tar command for xz compression & fix typos (#11213)
Diffstat (limited to 'src/render/shaders')
-rw-r--r--src/render/shaders/glsl/border.frag2
-rw-r--r--src/render/shaders/glsl/rounding.glsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/shaders/glsl/border.frag b/src/render/shaders/glsl/border.frag
index 38ae24c0..d93773fd 100644
--- a/src/render/shaders/glsl/border.frag
+++ b/src/render/shaders/glsl/border.frag
@@ -127,7 +127,7 @@ void main() {
pixCoord -= fullSize * 0.5 - radius;
pixCoordOuter -= fullSize * 0.5 - radiusOuter;
- // center the pixes dont make it top-left
+ // center the pixes don't make it top-left
pixCoord += vec2(1.0, 1.0) / fullSize;
pixCoordOuter += vec2(1.0, 1.0) / fullSize;
diff --git a/src/render/shaders/glsl/rounding.glsl b/src/render/shaders/glsl/rounding.glsl
index cae34465..472415fd 100644
--- a/src/render/shaders/glsl/rounding.glsl
+++ b/src/render/shaders/glsl/rounding.glsl
@@ -12,7 +12,7 @@ vec4 rounding(vec4 color) {
pixCoord -= topLeft + fullSize * 0.5;
pixCoord *= vec2(lessThan(pixCoord, vec2(0.0))) * -2.0 + 1.0;
pixCoord -= fullSize * 0.5 - radius;
- pixCoord += vec2(1.0, 1.0) / fullSize; // center the pix dont make it top-left
+ pixCoord += vec2(1.0, 1.0) / fullSize; // center the pix don't make it top-left
if (pixCoord.x + pixCoord.y > radius) {
float dist = pow(pow(pixCoord.x, roundingPower) + pow(pixCoord.y, roundingPower), 1.0/roundingPower);