diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-05-07 13:16:41 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-05-07 13:25:40 +0300 |
commit | b28e26175367d32c07f692c97acf8781ea29bc0f (patch) | |
tree | c6a72cb37a3f39496fe4f6f0fb88ad8ed3b6ed8f /source/blender/gpu/shaders/infos/gpu_shader_3D_depth_only_info.hh | |
parent | aee8e49031464215998a71b05dd4b20fb57959d8 (diff) |
GPUShader: Add static compilation to clipped shader variations
This allows testing them for errors.
Diffstat (limited to 'source/blender/gpu/shaders/infos/gpu_shader_3D_depth_only_info.hh')
-rw-r--r-- | source/blender/gpu/shaders/infos/gpu_shader_3D_depth_only_info.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/infos/gpu_shader_3D_depth_only_info.hh b/source/blender/gpu/shaders/infos/gpu_shader_3D_depth_only_info.hh index e74e7df1a09..0a4da8d17fe 100644 --- a/source/blender/gpu/shaders/infos/gpu_shader_3D_depth_only_info.hh +++ b/source/blender/gpu/shaders/infos/gpu_shader_3D_depth_only_info.hh @@ -18,4 +18,5 @@ GPU_SHADER_CREATE_INFO(gpu_shader_3D_depth_only) GPU_SHADER_CREATE_INFO(gpu_shader_3D_depth_only_clipped) .additional_info("gpu_shader_3D_depth_only") - .additional_info("gpu_clip_planes"); + .additional_info("gpu_clip_planes") + .do_static_compilation(true); |