diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-24 17:01:13 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2015-01-26 18:35:53 +0300 |
commit | 42eaf82d1083c86b9edc8af37553a4b0b2fbbc21 (patch) | |
tree | cd82778ca64cb3ed560315e55ee150ca954a0953 /source/blender/gpu/intern/gpu_codegen.h | |
parent | 4c3a49ef3470d88f3da3f88b56ecece42a792cde (diff) |
Code cleanup: move struct GPUFunction and related code out of header
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D1026
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h index 4091db8be11..0d60b85bdf5 100644 --- a/source/blender/gpu/intern/gpu_codegen.h +++ b/source/blender/gpu/intern/gpu_codegen.h @@ -46,22 +46,6 @@ struct GPUVertexAttribs; struct GPUFrameBuffer; struct PreviewImage; -#define MAX_FUNCTION_NAME 64 -#define MAX_PARAMETER 32 - -#define FUNCTION_QUAL_IN 0 -#define FUNCTION_QUAL_OUT 1 -#define FUNCTION_QUAL_INOUT 2 - -typedef struct GPUFunction { - char name[MAX_FUNCTION_NAME]; - GPUType paramtype[MAX_PARAMETER]; - int paramqual[MAX_PARAMETER]; - int totparam; -} GPUFunction; - -GPUFunction *GPU_lookup_function(const char *name); - /* Pass Generation * - Takes a list of nodes and a desired output, and makes a pass. This * will take ownership of the nodes and free them early if unused or |