summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/cube_to_dp.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles3/shaders/cube_to_dp.glsl')
-rw-r--r--drivers/gles3/shaders/cube_to_dp.glsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gles3/shaders/cube_to_dp.glsl b/drivers/gles3/shaders/cube_to_dp.glsl
index 2911746bb7..2b74f054f9 100644
--- a/drivers/gles3/shaders/cube_to_dp.glsl
+++ b/drivers/gles3/shaders/cube_to_dp.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;
@@ -11,9 +13,11 @@ void main() {
gl_Position = vertex_attrib;
}
+/* clang-format off */
[fragment]
uniform highp samplerCube source_cube; //texunit:0
+/* clang-format on */
in vec2 uv_interp;
uniform bool z_flip;