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
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-01-04 13:41:54 +0300
committerJeroen Bakker <jeroen@blender.org>2021-01-04 14:19:51 +0300
commita3fcbb54f4b0dac7f9104d5f45c8540e9764e46d (patch)
tree8ee6b349055ebfdee6e296d02555d0276599868b /source/blender/gpu/GPU_capabilities.h
parent02d1f1482a5e225bbb8195c04eaece1514aa97d1 (diff)
GPU: Add HQ normals workaround.
This change makes it possible for platforms to only support high quality normal rendering. This is part of {T82856} where current AMD drivers running on the polaris architecture does not support the low quality setting due to a driver bug. In a next commit the work around will be enabled.
Diffstat (limited to 'source/blender/gpu/GPU_capabilities.h')
-rw-r--r--source/blender/gpu/GPU_capabilities.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_capabilities.h b/source/blender/gpu/GPU_capabilities.h
index 9d55fe73708..e02fbaa6d04 100644
--- a/source/blender/gpu/GPU_capabilities.h
+++ b/source/blender/gpu/GPU_capabilities.h
@@ -43,6 +43,7 @@ int GPU_texture_size_with_limit(int res);
bool GPU_mip_render_workaround(void);
bool GPU_depth_blitting_workaround(void);
bool GPU_use_main_context_workaround(void);
+bool GPU_use_hq_normals_workaround(void);
bool GPU_crappy_amd_driver(void);
bool GPU_shader_image_load_store_support(void);