[Bf-blender-cvs] [ee1931e306f] greasepencil-object: Cleanup unused variable
Antonio Vazquez
noreply at git.blender.org
Thu Mar 29 19:58:23 CEST 2018
Commit: ee1931e306f5acf40246556d5110cf18b6ec66a9
Author: Antonio Vazquez
Date: Thu Mar 29 19:58:12 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBee1931e306f5acf40246556d5110cf18b6ec66a9
Cleanup unused variable
===================================================================
M source/blender/draw/engines/gpencil/shaders/gpencil_dof_frag.glsl
===================================================================
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_dof_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_dof_frag.glsl
index e5c9a810023..e5025d18247 100644
--- a/source/blender/draw/engines/gpencil/shaders/gpencil_dof_frag.glsl
+++ b/source/blender/draw/engines/gpencil/shaders/gpencil_dof_frag.glsl
@@ -220,8 +220,6 @@ void step_resolve(void)
{
/* Recompute Near / Far CoC */
float depth = textureLod(depthBuffer, uvcoord, 0.0).r;
- float alpha = textureLod(weightBuffer, uvcoord, 0.0).r;
-
float zdepth = linear_depth(depth);
float coc_signed = calculate_coc(zdepth);
float coc_far = max(-coc_signed, 0.0);
More information about the Bf-blender-cvs
mailing list