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-30 15:36:43 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-30 17:13:26 +0300
commitb4df509f7bb8fcf82b2df8e30c8177c9917adab2 (patch)
treeec5b754978d6806e13172129b4ae8c75b8b7f264 /source/blender/gpu
parent05138d2c4ea21f75b9de57fa41f5c303c24cd655 (diff)
Cleanup: GPUMaterial: Remove unused struct members
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_material.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index f5051a1d767..f3df10af518 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -77,25 +77,9 @@ struct GPUMaterial {
ListBase inputs; /* GPUInput */
GPUVertAttrLayers attrs;
int builtins;
- int alpha, obcolalpha;
- int dynproperty;
-
- /* for passing uniforms */
- int viewmatloc, invviewmatloc;
- int obmatloc, invobmatloc;
- int localtoviewmatloc, invlocaltoviewmatloc;
- int obcolloc, obautobumpscaleloc;
- int cameratexcofacloc;
-
- int partscalarpropsloc;
- int partcoloc;
- int partvel;
- int partangvel;
-
- int objectinfoloc;
/* XXX: Should be in Material. But it depends on the output node
- * used and since the output selection is difference for GPUMaterial...
+ * used and since the output selection is different for GPUMaterial...
*/
int domain;