Commit: 2a6bc4a82cb3201ac623512e3f9f53f3890ecae2 Author: Clément Foucault Date: Tue Dec 11 13:29:32 2018 +0100 Branches: blender2.8 https://developer.blender.org/rB2a6bc4a82cb3201ac623512e3f9f53f3890ecae2
Fix T58266 : Bottom half of meshes are transparent with eevee render =================================================================== M source/blender/draw/engines/eevee/eevee_effects.c M source/blender/draw/engines/eevee/eevee_occlusion.c =================================================================== diff --git a/source/blender/draw/engines/eevee/eevee_effects.c b/source/blender/draw/engines/eevee/eevee_effects.c index 48a73ccef18..787957a4a33 100644 --- a/source/blender/draw/engines/eevee/eevee_effects.c +++ b/source/blender/draw/engines/eevee/eevee_effects.c @@ -460,10 +460,10 @@ void EEVEE_create_minmax_buffer(EEVEE_Data *vedata, GPUTexture *depth_src, int l /* Restore */ GPU_framebuffer_bind(fbl->main_fb); - if (GPU_mip_render_workaround()) { - /* Fix dot corruption on intel HD5XX/HD6XX series. - * It seems affected drivers are the same that needs - * GPU_mip_render_workaround. */ + if (GPU_mip_render_workaround() || + GPU_type_matches(GPU_DEVICE_INTEL_UHD, GPU_OS_WIN, GPU_DRIVER_ANY)) + { + /* Fix dot corruption on intel HD5XX/HD6XX series. */ GPU_flush(); } } diff --git a/source/blender/draw/engines/eevee/eevee_occlusion.c b/source/blender/draw/engines/eevee/eevee_occlusion.c index 03aee102136..3763e13533d 100644 --- a/source/blender/draw/engines/eevee/eevee_occlusion.c +++ b/source/blender/draw/engines/eevee/eevee_occlusion.c @@ -253,10 +253,10 @@ void EEVEE_occlusion_compute( DRW_draw_pass(psl->ao_horizon_search); } - if (GPU_mip_render_workaround()) { - /* Fix dot corruption on intel HD5XX/HD6XX series. - * It seems affected drivers are the same that needs - * GPU_mip_render_workaround. */ + if (GPU_mip_render_workaround() || + GPU_type_matches(GPU_DEVICE_INTEL_UHD, GPU_OS_WIN, GPU_DRIVER_ANY)) + { + /* Fix dot corruption on intel HD5XX/HD6XX series. */ GPU_flush(); } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs