GPU: Remove residue of OpenSubdiv

Was done more like a hack on top of old drawing pipeline.
Should be re-implemented to fit new draw manager closer.
This commit is contained in:
2018-09-12 14:30:28 +02:00
parent 721c691a27
commit 39fabaddfd
7 changed files with 3 additions and 151 deletions

View File

@@ -58,10 +58,6 @@
#include "gpu_codegen.h"
#ifdef WITH_OPENSUBDIV
# include "BKE_DerivedMesh.h"
#endif
/* Structs */
#define MAX_COLOR_BAND 128
@@ -108,8 +104,6 @@ struct GPUMaterial {
int objectinfoloc;
bool is_opensubdiv;
/* XXX: Should be in Material. But it depends on the output node
* used and since the output selection is difference for GPUMaterial...
*/