Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2019-07-09 12:36:11 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2019-07-09 13:01:25 +0300
commit25a0acd0a6c8344cfb425f8e9444666dc95d5bf5 (patch)
tree4c3440d33eaa50be5ff1753335370d12b8c3482f /source
parent805cabdf177af6c71da6239ff3fc5d2524286a18 (diff)
GPU: ATI Proxy check
The AMD PRO driver on linux PROXY check also fails. Now the configuration ATI/Unix/Official driver will also bypass the Proxy test. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5205
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/intern/gpu_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index cd98da69469..364bfc80505 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -505,7 +505,8 @@ static float *GPU_texture_rescale_3d(
static bool gpu_texture_check_capacity(
GPUTexture *tex, GLenum proxy, GLenum internalformat, GLenum data_format, GLenum data_type)
{
- if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_WIN, GPU_DRIVER_ANY)) {
+ if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_WIN, GPU_DRIVER_ANY) ||
+ GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OFFICIAL)) {
/* Some AMD drivers have a faulty `GL_PROXY_TEXTURE_..` check.
* (see T55888, T56185, T59351).
* Checking with `GL_PROXY_TEXTURE_..` doesn't prevent `Out Of Memory` issue,