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>2022-05-25 09:03:52 +0300
committerJeroen Bakker <jeroen@blender.org>2022-05-25 09:03:52 +0300
commite69f3d7db17893c2153ec8395db1168d6fc7608e (patch)
treeae81ed8bbb4b3e25736b0ced068b08a4441fd75c /source/blender/gpu/opengl/gl_backend.cc
parent603d3c90a5cbbc8455019c02af275207af207fff (diff)
GPU: Updated comment about HQ normals workaround.
Diffstat (limited to 'source/blender/gpu/opengl/gl_backend.cc')
-rw-r--r--source/blender/gpu/opengl/gl_backend.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_backend.cc b/source/blender/gpu/opengl/gl_backend.cc
index f24dc86a0a7..0c796ddc765 100644
--- a/source/blender/gpu/opengl/gl_backend.cc
+++ b/source/blender/gpu/opengl/gl_backend.cc
@@ -291,7 +291,8 @@ static void detect_workarounds()
}
/* See T82856: AMD drivers since 20.11 running on a polaris architecture doesn't support the
* `GL_INT_2_10_10_10_REV` data type correctly. This data type is used to pack normals and flags.
- * The work around uses `GPU_RGBA16I`.
+ * The work around uses `GPU_RGBA16I`. In 22.?.? drivers this has been fixed for
+ * polaris platform. Keeping legacy platforms around just in case.
*/
if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_OFFICIAL)) {
const Vector<std::string> matches = {