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>2018-11-08 00:16:03 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-11-08 00:16:13 +0300
commitbdd44564c9c1e22396fc8e30b6b6d831add02b56 (patch)
treef968b2a07d94e633bb8d38728deeb912d0bcb77b /source/blender/gpu/intern/gpu_material.c
parent4f709152f4f0140a03edd69c1a501dbd5cec4b55 (diff)
GPU: Cleanups: Remove GPUMatType, Vectorize / MADD some operations
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r--source/blender/gpu/intern/gpu_material.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index fa267102088..1002e6f483c 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -70,9 +70,6 @@ struct GPUMaterial {
Scene *scene; /* DEPRECATED was only useful for lamps */
Material *ma;
- /* material for mesh surface, worlds or something else.
- * some code generation is done differently depending on the use case */
- int type; /* DEPRECATED */
GPUMaterialStatus status;
const void *engine_type; /* attached engine type */
@@ -228,11 +225,6 @@ Scene *GPU_material_scene(GPUMaterial *material)
return material->scene;
}
-GPUMatType GPU_Material_get_type(GPUMaterial *material)
-{
- return material->type;
-}
-
GPUPass *GPU_material_get_pass(GPUMaterial *material)
{
return material->pass;