diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-05-02 02:31:24 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-05-02 02:31:24 +0300 |
commit | a5644f9a28ea46892f9a480a5bb7b44a8f0c8759 (patch) | |
tree | 36a24c5ad73a8ea7e59d2e38968d95ed73c0acbc /source/blender/gpu/shaders/gpu_shader_simple_lighting_frag.glsl | |
parent | aaab3c8ad4e3fca6920f0888c5e4f68ad12d6dd3 (diff) |
Cleanup: GPUBuiltinShader: Remove old shader interfaces
This leaves some of the unresolved case where we still need both
implementation.
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_simple_lighting_frag.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_simple_lighting_frag.glsl | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_simple_lighting_frag.glsl b/source/blender/gpu/shaders/gpu_shader_simple_lighting_frag.glsl index 6725bc82841..2f5ce4bdf50 100644 --- a/source/blender/gpu/shaders/gpu_shader_simple_lighting_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_simple_lighting_frag.glsl @@ -1,16 +1,3 @@ -#ifndef USE_GPU_SHADER_CREATE_INFO -# ifndef USE_INSTANCE_COLOR -uniform vec4 color; -# endif -uniform vec3 light; - -in vec3 normal; -# ifdef USE_INSTANCE_COLOR -flat in vec4 finalColor; -# define color finalColor -# endif -out vec4 fragColor; -#endif void main() { |