Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.cc')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.cc b/source/blender/gpu/intern/gpu_codegen.cc
index 2e7c95974ab..b6b0825a993 100644
--- a/source/blender/gpu/intern/gpu_codegen.cc
+++ b/source/blender/gpu/intern/gpu_codegen.cc
@@ -326,14 +326,6 @@ void GPUCodegen::generate_attribs()
iface_type = input_type = GPU_VEC4;
load_ss << " = attr_load_tangent(" << attr_name << ");\n";
break;
- case CD_MTFACE:
- iface_type = input_type = GPU_VEC3;
- load_ss << " = attr_load_uv(" << attr_name << ");\n";
- break;
- case CD_MCOL:
- iface_type = input_type = GPU_VEC4;
- load_ss << " = attr_load_color(" << attr_name << ");\n";
- break;
default:
iface_type = input_type = GPU_VEC4;
load_ss << " = attr_load_" << input_type << "(" << attr_name << ");\n";