Fix T58266 : Bottom half of meshes are transparent with eevee render
This commit is contained in:
parent
4d115f2159
commit
2a6bc4a82c
Notes:
blender-bot
2023-02-14 06:25:25 +01:00
Referenced by issue #58266, Bottom half of the default cube and other meshes are transparent with eevee
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue