diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-07-30 14:56:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-07-30 15:18:55 +0300 |
commit | 0f97718c10e8c2a441f58a51eb923b1dfa3698d4 (patch) | |
tree | 54fd9db7f510e1d9c2cad423503c4cd4aadb65db /source/blender/gpu/GPU_shader.h | |
parent | d65df10216b8de09b8a1cfc695030649511337a0 (diff) |
DRW: Add option to only resolve framebuffer colors without depth test
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_shader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index b1a05faf863..7f334cec21f 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -158,6 +158,10 @@ typedef enum GPUBuiltinShader { GPU_SHADER_2D_IMAGE_MULTISAMPLE_4, GPU_SHADER_2D_IMAGE_MULTISAMPLE_8, GPU_SHADER_2D_IMAGE_MULTISAMPLE_16, + GPU_SHADER_2D_IMAGE_MULTISAMPLE_2_DEPTH_TEST, + GPU_SHADER_2D_IMAGE_MULTISAMPLE_4_DEPTH_TEST, + GPU_SHADER_2D_IMAGE_MULTISAMPLE_8_DEPTH_TEST, + GPU_SHADER_2D_IMAGE_MULTISAMPLE_16_DEPTH_TEST, GPU_SHADER_2D_CHECKER, GPU_SHADER_2D_DIAG_STRIPES, /* for simple 3D drawing */ |