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.
This commit is contained in:
parent
c901ebcd21
commit
3f0873fa1e
Notes:
blender-bot
2023-10-12 12:49:04 +02:00
Referenced by pull request #109382, EEVEE: Remove unneeded GPU_finish Referenced by commit4038cabc6d
, EEVEE: Remove unneeded GPU_finish Referenced by commit1d847b2ee3
, EEVEE: Restrict GPU_finish workaround to Nvidia OpenGL backend
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue