Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl b/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl
index 9587ac65116..eab4c1b4543 100644
--- a/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl
@@ -4,13 +4,8 @@
uniform mat4 ModelViewProjectionMatrix;
uniform vec2 viewport_size;
-#if __VERSION__ == 120
- attribute vec3 pos;
- noperspective varying float distance_along_line;
-#else
- in vec3 pos;
- noperspective out float distance_along_line;
-#endif
+in vec3 pos;
+noperspective out float distance_along_line;
void main()
{