summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/effect_blur.glsl
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-27 10:12:24 +0200
committerGitHub <noreply@github.com>2018-08-27 10:12:24 +0200
commit3dc63a710f0ca845e6de9e8b4a2158a33743ad36 (patch)
tree7d8cfabb399fa0ebd547ce6224504b1149c25c8d /drivers/gles3/shaders/effect_blur.glsl
parentddfef86836be8e30709006ac30bc83007823468c (diff)
parent4226d56ca9ec91c4878d47e3bce4784e5edc3006 (diff)
Merge pull request #21469 from akien-mga/glsl-clang-format
Style: Enable clang-format on GLSL shaders
Diffstat (limited to 'drivers/gles3/shaders/effect_blur.glsl')
-rw-r--r--drivers/gles3/shaders/effect_blur.glsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gles3/shaders/effect_blur.glsl b/drivers/gles3/shaders/effect_blur.glsl
index 3872ee8d1d..b67d06bc10 100644
--- a/drivers/gles3/shaders/effect_blur.glsl
+++ b/drivers/gles3/shaders/effect_blur.glsl
@@ -1,6 +1,8 @@
+/* clang-format off */
[vertex]
layout(location = 0) in highp vec4 vertex_attrib;
+/* clang-format on */
layout(location = 4) in vec2 uv_in;
out vec2 uv_interp;
@@ -22,11 +24,13 @@ void main() {
#endif
}
+/* clang-format off */
[fragment]
#if !defined(GLES_OVER_GL)
precision mediump float;
#endif
+/* clang-format on */
in vec2 uv_interp;
uniform sampler2D source_color; //texunit:0