From 755e728a98401e2ef417368332c35e949f2233b7 Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Mon, 5 Sep 2022 18:11:27 -0300 Subject: GPU: remove 'GPU_SHADER_3D_IMAGE_MODULATE_ALPHA' `GPU_SHADER_3D_IMAGE_MODULATE_ALPHA` can be seamlessly replaced by `GPU_SHADER_3D_IMAGE_COLOR` with no real harm done. --- source/blender/gpu/GPU_shader.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/blender/gpu/GPU_shader.h') diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index 0db61bedc2c..35ed0f6678e 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -295,15 +295,6 @@ typedef enum eGPUBuiltinShader { * \param pos: in vec3 */ GPU_SHADER_3D_IMAGE_COLOR, - /** - * Draw texture with alpha. Take a 3D position and a 2D texture coordinate for each vertex. - * - * \param alpha: uniform float - * \param image: uniform sampler2D - * \param texCoord: in vec2 - * \param pos: in vec3 - */ - GPU_SHADER_3D_IMAGE_MODULATE_ALPHA, /* points */ /** * Draw round points with a constant size. -- cgit v1.2.3