[Bf-blender-cvs] [ff97545c50f] master: Fix T75943 EEVEE: Cubemaps shows black
Clément Foucault
noreply at git.blender.org
Tue Jul 7 17:55:01 CEST 2020
Commit: ff97545c50f458a62a2ea412f8411f8bb34b9c1c
Author: Clément Foucault
Date: Tue Jul 7 18:37:35 2020 +0200
Branches: master
https://developer.blender.org/rBff97545c50f458a62a2ea412f8411f8bb34b9c1c
Fix T75943 EEVEE: Cubemaps shows black
Caused by faulty driver implementation. Force fallback method.
===================================================================
M source/blender/gpu/intern/gpu_extensions.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 4e4e9c526d0..0fd373d37a3 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -348,6 +348,12 @@ void gpu_extensions_init(void)
GG.mip_render_workaround = true;
}
+ /* Intel Ivy Bridge GPU's seems to have buggy cubemap array support. (see T75943) */
+ if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) &&
+ (strstr(renderer, "HD Graphics 4000") || strstr(renderer, "HD Graphics 2500"))) {
+ GG.glew_arb_texture_cube_map_array_is_supported = false;
+ }
+
/* df/dy calculation factors, those are dependent on driver */
GG.dfdyfactors[0] = 1.0;
GG.dfdyfactors[1] = 1.0;
More information about the Bf-blender-cvs
mailing list