[Bf-blender-cvs] [3f0873fa1e4] blender2.8: Eevee: Fix blank output if scene complexity is high

Clément Foucault noreply at git.blender.org
Thu Oct 11 13:20:04 CEST 2018


Commit: 3f0873fa1e48e277f85801ca03c344bed4a77320
Author: Clément Foucault
Date:   Thu Oct 11 13:19:49 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB3f0873fa1e48e277f85801ca03c344bed4a77320

Eevee: Fix blank output if scene complexity is high

Encountered on Nvidia + Linux, it seems that doing everything all at once
can make the driver give up the whole command list and return nothing as
the output of the render.

===================================================================

M	source/blender/draw/engines/eevee/eevee_render.c

===================================================================

diff --git a/source/blender/draw/engines/eevee/eevee_render.c b/source/blender/draw/engines/eevee/eevee_render.c
index 000649f42ac..e24142e3f71 100644
--- a/source/blender/draw/engines/eevee/eevee_render.c
+++ b/source/blender/draw/engines/eevee/eevee_render.c
@@ -549,6 +549,9 @@ void EEVEE_render_draw(EEVEE_Data *vedata, RenderEngine *engine, RenderLayer *rl
 		/* Post Process */
 		EEVEE_draw_effects(sldata, vedata);
 
+		/* XXX Seems to fix TDR issue with NVidia drivers on linux. */
+		glFinish();
+
 		RE_engine_update_progress(engine, (float)(render_samples++) / (float)tot_sample);
 	}



More information about the Bf-blender-cvs mailing list