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:
authorClément Foucault <foucault.clem@gmail.com>2019-05-09 01:27:11 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-09 01:27:11 +0300
commite2d04229c38b16e340f66c9e106e49277b2186e3 (patch)
treeba3abc90334b229bc2406d2f4bae1b18e1c78694 /source/blender/gpu
parent1a99b6fc7e8e2d670bc5ceed23ecc84020a10555 (diff)
DRW: Remove support for NormalMatrix
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index 2c42cc654e2..a2c1a01a82c 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -1038,7 +1038,6 @@ static char *code_generate_vertex(ListBase *nodes, const char *vert_code, bool u
BLI_dynstr_append(ds,
"#define USE_ATTR\n"
- "uniform mat3 NormalMatrix;\n"
"uniform mat4 ModelMatrixInverse;\n"
"uniform mat4 ModelMatrix;\n"
"vec3 srgb_to_linear_attr(vec3 c) {\n"