diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-12 15:30:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-12 15:30:28 +0300 |
commit | 39fabaddfd770f7d92a5aabb0d0255d6fc97cd24 (patch) | |
tree | d44e6c37094e53287596f33ecf8423eec8e7c51b /source/blender/gpu/GPU_shader.h | |
parent | 721c691a2750d9eb005343a9d2e25fdac6ff1493 (diff) |
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.
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_shader.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index 03e45e63132..c9a87a7e187 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -44,12 +44,6 @@ struct GPUUniformBuffer; * - only for fragment shaders now * - must call texture bind before setting a texture as uniform! */ -enum { - GPU_SHADER_FLAGS_NONE = 0, - GPU_SHADER_FLAGS_SPECIAL_OPENSUBDIV = (1 << 0), - GPU_SHADER_FLAGS_NEW_SHADING = (1 << 1), -}; - typedef enum GPUShaderTFBType { GPU_SHADER_TFB_NONE = 0, /* Transform feedback unsupported. */ GPU_SHADER_TFB_POINTS = 1, @@ -70,7 +64,6 @@ GPUShader *GPU_shader_create_ex( const char *geocode, const char *libcode, const char *defines, - const int flags, const GPUShaderTFBType tf_type, const char **tf_names, const int tf_count, |