diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-10-06 21:20:20 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-10-06 21:20:33 +0300 |
commit | edcce96d971fc71d7329dce79247a4bf4cf7d591 (patch) | |
tree | 8cdcddb0241c26ace5de5744350190daeaa920e0 /source/blender/gpu/GPU_shader.h | |
parent | 360cb870071673d50a8f6e85fd1d49a9588f6105 (diff) |
OpenGL: more built-in GPU_SHADERs for points
No new GLSL shaders were needed! Just combined existing vertex & fragment shaders in new ways.
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index f303697cbfa..042aa7f3637 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -105,6 +105,8 @@ typedef enum GPUBuiltinShader { GPU_SHADER_2D_TEXTURE_2D, GPU_SHADER_2D_TEXTURE_RECT, /* points */ + GPU_SHADER_2D_POINT_FIXED_SIZE_UNIFORM_COLOR, + GPU_SHADER_3D_POINT_FIXED_SIZE_UNIFORM_COLOR, GPU_SHADER_3D_POINT_FIXED_SIZE_VARYING_COLOR, GPU_SHADER_3D_POINT_VARYING_SIZE_UNIFORM_COLOR, GPU_SHADER_3D_POINT_VARYING_SIZE_VARYING_COLOR, |