[Bf-blender-cvs] [6a6d80f42cf] tmp-gpu-shader-descriptor-2: Remove .vert/frag from already converted shaders.

Jeroen Bakker noreply at git.blender.org
Wed Jan 12 14:05:10 CET 2022


Commit: 6a6d80f42cfe22b902c31a976c10b9e4088743fd
Author: Jeroen Bakker
Date:   Wed Jan 12 14:05:01 2022 +0100
Branches: tmp-gpu-shader-descriptor-2
https://developer.blender.org/rB6a6d80f42cfe22b902c31a976c10b9e4088743fd

Remove .vert/frag from already converted shaders.

===================================================================

M	source/blender/gpu/intern/gpu_shader_builtin.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_shader_builtin.c b/source/blender/gpu/intern/gpu_shader_builtin.c
index 26a0fff03b7..cae7383f885 100644
--- a/source/blender/gpu/intern/gpu_shader_builtin.c
+++ b/source/blender/gpu/intern/gpu_shader_builtin.c
@@ -168,8 +168,6 @@ static const GPUShaderStages builtin_shader_stages[GPU_SHADER_BUILTIN_LEN] = {
         {
             .name = "GPU_SHADER_SIMPLE_LIGHTING",
             .create_info = "gpu_shader_simple_lighting",
-            .vert = datatoc_gpu_shader_3D_normal_vert_glsl,
-            .frag = datatoc_gpu_shader_simple_lighting_frag_glsl,
         },
     [GPU_SHADER_3D_IMAGE_MODULATE_ALPHA] =
         {



More information about the Bf-blender-cvs mailing list