Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-02-09 22:55:31 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-02-11 22:36:20 +0300
commite05800d23b40a6eda0b154de934f8f8c6e1b3438 (patch)
treedccd0b12a4057a7d288d7e9bbad200cdc428118d /source/blender/gpu/GPU_shader.h
parent1abd2f279dfe87c2d1d648b9780f25697a9b2c52 (diff)
Clay Engine: converted Empties to the new instancing method
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r--source/blender/gpu/GPU_shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h
index 0ed3e24348a..b129c619953 100644
--- a/source/blender/gpu/GPU_shader.h
+++ b/source/blender/gpu/GPU_shader.h
@@ -138,6 +138,9 @@ typedef enum GPUBuiltinShader {
GPU_SHADER_3D_GROUNDPOINT,
GPU_SHADER_3D_GROUNDLINE,
GPU_SHADER_3D_LAMP_COMMON,
+ /* instance */
+ GPU_SHADER_INSTANCE_UNIFORM_COLOR,
+ GPU_SHADER_INSTANCE_VARIYING_COLOR_VARIYING_SIZE,
GPU_NUM_BUILTIN_SHADERS /* (not an actual shader) */
} GPUBuiltinShader;