diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-31 16:09:15 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-31 16:15:04 +0300 |
commit | a1df2fc44388a92ba539f764203170902dd2a663 (patch) | |
tree | 7e7c4f6467a024fb1abd0643f79ec6ec70a37822 /source/blender/gpu/GPU_primitive.h | |
parent | 1804eb57fd27fceb0ed113e3ef2f4a55db0d03c8 (diff) |
Cleanup: GPU: Remove unused attr_binding and primitive code
Diffstat (limited to 'source/blender/gpu/GPU_primitive.h')
-rw-r--r-- | source/blender/gpu/GPU_primitive.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_primitive.h b/source/blender/gpu/GPU_primitive.h index e910e81fac1..781a10f3636 100644 --- a/source/blender/gpu/GPU_primitive.h +++ b/source/blender/gpu/GPU_primitive.h @@ -56,8 +56,11 @@ typedef enum { GPU_PRIM_CLASS_ANY = GPU_PRIM_CLASS_POINT | GPU_PRIM_CLASS_LINE | GPU_PRIM_CLASS_SURFACE, } GPUPrimClass; -GPUPrimClass GPU_primtype_class(GPUPrimType); -bool GPU_primtype_belongs_to_class(GPUPrimType, GPUPrimClass); +/** + * TODO Improve error checking by validating that the shader is suited for this primitive type. + * GPUPrimClass GPU_primtype_class(GPUPrimType); + * bool GPU_primtype_belongs_to_class(GPUPrimType, GPUPrimClass); + **/ #ifdef __cplusplus } |