[Bf-blender-cvs] [7369a24f61c] blender-v2.83-release: GPUTexture: Extend CUBE_MAP_ARRAY_ARB proxy workaround to all Apple gpus
Clément Foucault
noreply at git.blender.org
Wed Aug 26 11:57:22 CEST 2020
Commit: 7369a24f61cdf7afe0d930a422b6839919bc3b6d
Author: Clément Foucault
Date: Tue Aug 18 14:01:14 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB7369a24f61cdf7afe0d930a422b6839919bc3b6d
GPUTexture: Extend CUBE_MAP_ARRAY_ARB proxy workaround to all Apple gpus
Related to T79716
===================================================================
M source/blender/gpu/intern/gpu_texture.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index a86b4e7be4e..8843ce473e5 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -673,7 +673,7 @@ static bool gpu_texture_check_capacity(
GPUTexture *tex, GLenum proxy, GLenum internalformat, GLenum data_format, GLenum data_type)
{
if (proxy == GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB &&
- GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_MAC, GPU_DRIVER_ANY)) {
+ GPU_type_matches(GPU_DEVICE_ANY, GPU_OS_MAC, GPU_DRIVER_ANY)) {
/* Special fix for T79703. */
/* Depth has already been checked. */
return tex->w <= GPU_max_cube_map_size();
More information about the Bf-blender-cvs
mailing list