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>2021-03-14 00:49:57 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-03-14 00:51:23 +0300
commit75fc6e3b2b3f3db9f734415ff457b723664834f9 (patch)
tree43cd3b0e5fa56b25241715e71c39e2fde47f9a28 /source/blender/draw/engines/eevee/eevee_shaders.c
parent00baf875ef5f4b06d5a427eb6ef1d1132548fd51 (diff)
Cleanup: EEVEE: Remove the horizon search layered shader
This shader is of no use now that we the fullres hizbuffer.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_shaders.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_shaders.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_shaders.c b/source/blender/draw/engines/eevee/eevee_shaders.c
index 8c9e1fae715..06763c34766 100644
--- a/source/blender/draw/engines/eevee/eevee_shaders.c
+++ b/source/blender/draw/engines/eevee/eevee_shaders.c
@@ -684,15 +684,6 @@ GPUShader *EEVEE_shaders_effect_ambient_occlusion_sh_get(void)
return e_data.gtao_sh;
}
-GPUShader *EEVEE_shaders_effect_ambient_occlusion_layer_sh_get(void)
-{
- if (e_data.gtao_layer_sh == NULL) {
- e_data.gtao_layer_sh = DRW_shader_create_fullscreen_with_shaderlib(
- datatoc_effect_gtao_frag_glsl, e_data.lib, "#define LAYERED_DEPTH\n");
- }
- return e_data.gtao_layer_sh;
-}
-
GPUShader *EEVEE_shaders_effect_ambient_occlusion_debug_sh_get(void)
{
if (e_data.gtao_debug_sh == NULL) {