diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 18:45:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 23:30:08 +0300 |
commit | c5862e0a06b75767fd863673c54aab54f27d1872 (patch) | |
tree | 859b364533455278eb73fb39e3ebf33996d250cc /source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl | |
parent | 024d40b504e4dc2a23824021bdcfe772a1f5f670 (diff) |
Cleanup: comments (long lines) in gpu
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl b/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl index 185a4c8c59f..a29335046f2 100644 --- a/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl @@ -1,6 +1,7 @@ /* - * Fragment Shader for dashed lines, with uniform multi-color(s), or any single-color, and any thickness. + * Fragment Shader for dashed lines, with uniform multi-color(s), + * or any single-color, and any thickness. * * Dashed is performed in screen space. */ @@ -10,7 +11,8 @@ uniform float dash_width; /* Simple mode, discarding non-dash parts (so no need for blending at all). */ uniform float dash_factor; /* if > 1.0, solid line. */ -/* More advanced mode, allowing for complex, multi-colored patterns. Enabled when colors_len > 0. */ +/* More advanced mode, allowing for complex, multi-colored patterns. + * Enabled when colors_len > 0. */ /* Note: max number of steps/colors in pattern is 32! */ uniform int colors_len; /* Enabled if > 0, 1 for solid line. */ uniform vec4 colors[32]; |