diff options
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_effects.c | 8 | ||||
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_occlusion.c | 8 |
2 files changed, 8 insertions, 8 deletions
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(); } |