GPUShader: Add name for debugging & identifying shaders.
This commit is contained in:
@@ -247,7 +247,7 @@ GPUMaterial *GPU_material_from_nodetree_find(
|
||||
struct ListBase *gpumaterials, const void *engine_type, int options);
|
||||
GPUMaterial *GPU_material_from_nodetree(
|
||||
struct Scene *scene, struct bNodeTree *ntree, struct ListBase *gpumaterials, const void *engine_type, int options,
|
||||
const char *vert_code, const char *geom_code, const char *frag_lib, const char *defines);
|
||||
const char *vert_code, const char *geom_code, const char *frag_lib, const char *defines, const char *name);
|
||||
void GPU_material_compile(GPUMaterial *mat);
|
||||
void GPU_material_free(struct ListBase *gpumaterial);
|
||||
|
||||
|
Reference in New Issue
Block a user