diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-17 03:51:29 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-18 04:43:51 +0300 |
commit | dcf6e12a606f162aa0b70b003f521788eede3349 (patch) | |
tree | 2939d420b347a85648e3870332925380829a2412 /source/blender/gpu/intern | |
parent | 7e66616b7e15298c6889765f89aa71853675ed21 (diff) |
Cleanup: GPUShader: Remove unused builtin shader
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.c b/source/blender/gpu/intern/gpu_shader.c index a090f061cdd..9ea798e5669 100644 --- a/source/blender/gpu/intern/gpu_shader.c +++ b/source/blender/gpu/intern/gpu_shader.c @@ -81,10 +81,7 @@ extern char datatoc_gpu_shader_image_overlays_stereo_merge_frag_glsl[]; extern char datatoc_gpu_shader_image_color_frag_glsl[]; extern char datatoc_gpu_shader_image_desaturate_frag_glsl[]; extern char datatoc_gpu_shader_image_varying_color_frag_glsl[]; -extern char datatoc_gpu_shader_image_alpha_color_frag_glsl[]; extern char datatoc_gpu_shader_image_shuffle_color_frag_glsl[]; -extern char datatoc_gpu_shader_image_mask_uniform_color_frag_glsl[]; -extern char datatoc_gpu_shader_image_modulate_alpha_frag_glsl[]; extern char datatoc_gpu_shader_3D_vert_glsl[]; extern char datatoc_gpu_shader_3D_normal_vert_glsl[]; extern char datatoc_gpu_shader_3D_flat_color_vert_glsl[]; @@ -909,16 +906,6 @@ static const GPUShaderStages builtin_shader_stages[GPU_SHADER_BUILTIN_LEN] = { .frag = datatoc_gpu_shader_simple_lighting_frag_glsl, }, - [GPU_SHADER_2D_IMAGE_MASK_UNIFORM_COLOR] = - { - .vert = datatoc_gpu_shader_3D_image_vert_glsl, - .frag = datatoc_gpu_shader_image_mask_uniform_color_frag_glsl, - }, - [GPU_SHADER_3D_IMAGE_MODULATE_ALPHA] = - { - .vert = datatoc_gpu_shader_3D_image_vert_glsl, - .frag = datatoc_gpu_shader_image_modulate_alpha_frag_glsl, - }, [GPU_SHADER_2D_CHECKER] = { .vert = datatoc_gpu_shader_2D_vert_glsl, @@ -971,11 +958,6 @@ static const GPUShaderStages builtin_shader_stages[GPU_SHADER_BUILTIN_LEN] = { .vert = datatoc_gpu_shader_2D_image_vert_glsl, .frag = datatoc_gpu_shader_image_desaturate_frag_glsl, }, - [GPU_SHADER_2D_IMAGE_ALPHA_COLOR] = - { - .vert = datatoc_gpu_shader_2D_image_vert_glsl, - .frag = datatoc_gpu_shader_image_alpha_color_frag_glsl, - }, [GPU_SHADER_2D_IMAGE_SHUFFLE_COLOR] = { .vert = datatoc_gpu_shader_2D_image_vert_glsl, |