Cleanup: GPUMaterial: Remove unused struct members

This commit is contained in:
2019-05-30 14:36:43 +02:00
parent 05138d2c4e
commit b4df509f7b

View File

@@ -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;