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:
authorDalai Felinto <dfelinto@gmail.com>2016-10-21 23:48:08 +0300
committerDalai Felinto <dfelinto@gmail.com>2016-10-21 23:51:10 +0300
commitdeb77c0e7490ed300a7688bf462de85f36ee1ca3 (patch)
tree20cdff4359e403193a41b886b5bcf834c195b463 /source/blender/gpu/GPU_shader.h
parent4c3624a7a0c2a2bdae254a7c37cb6a7f528df0be (diff)
Viewport: create a shader to show depth images linearized
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r--source/blender/gpu/GPU_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h
index 7a47b5ae331..e19588a5b1b 100644
--- a/source/blender/gpu/GPU_shader.h
+++ b/source/blender/gpu/GPU_shader.h
@@ -104,6 +104,7 @@ typedef enum GPUBuiltinShader {
/* basic image drawing */
GPU_SHADER_3D_IMAGE_MODULATE_ALPHA,
GPU_SHADER_3D_IMAGE_RECT_MODULATE_ALPHA,
+ GPU_SHADER_3D_IMAGE_DEPTH,
/* points */
GPU_SHADER_2D_POINT_FIXED_SIZE_UNIFORM_COLOR,
GPU_SHADER_2D_POINT_UNIFORM_SIZE_UNIFORM_COLOR_SMOOTH,