From 249f4423ee1c28e7f8ad6fdfff6c61a1f3e6d53d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 25 Nov 2019 01:14:39 +1100 Subject: Cleanup: doxygen comments Also correct some outdated symbol references, add missing 'name' commands. --- source/blender/gpu/GPU_shader.h | 3 ++- source/blender/gpu/shaders/material/gpu_shader_material_tex_image.glsl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index f4a94c7759a..b169b84c5b8 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -372,7 +372,8 @@ typedef struct GPUShaderConfigData { /* gpu_shader.c */ extern const GPUShaderConfigData GPU_shader_cfg_data[GPU_SHADER_CFG_LEN]; -/** Keep these in sync with: +/** + * Keep these in sync with: * - `gpu_shader_image_interlace_frag.glsl` * - `gpu_shader_image_rect_interlace_frag.glsl` */ diff --git a/source/blender/gpu/shaders/material/gpu_shader_material_tex_image.glsl b/source/blender/gpu/shaders/material/gpu_shader_material_tex_image.glsl index c234e064d36..bc2bf998145 100644 --- a/source/blender/gpu/shaders/material/gpu_shader_material_tex_image.glsl +++ b/source/blender/gpu/shaders/material/gpu_shader_material_tex_image.glsl @@ -67,7 +67,7 @@ void node_tex_image_nearest(vec3 co, sampler2D ima, out vec4 color, out float al alpha = color.a; } -/* @arg f: signed distance to texel center. */ +/** \param f: Signed distance to texel center. */ void cubic_bspline_coefs(vec2 f, out vec2 w0, out vec2 w1, out vec2 w2, out vec2 w3) { vec2 f2 = f * f; -- cgit v1.2.3