Fix #120273: GPU: UHD630 on Windows reports buggy extension #121062

Merged
Clément Foucault merged 1 commits from Jeroen-Bakker/blender:gpu/fix/120273 into main 2024-04-30 10:38:20 +02:00
1 changed files with 7 additions and 0 deletions

View File

@ -465,6 +465,13 @@ static void detect_workarounds()
GLContext::multi_bind_image_support = false;
}
/* #107642, #120273 Windows UHD600 series GPU but perhaps also others incorrectly report that
* they support image binding. But when used they can result into `GL_INVALID_OPERATION` with
* `internal format of texture N is not supported`. */
if (GPU_type_matches(GPU_DEVICE_INTEL_UHD, GPU_OS_WIN, GPU_DRIVER_OFFICIAL)) {
GLContext::multi_bind_image_support = false;
}
/* Metal-related Workarounds. */
/* Minimum Per-Vertex stride is 1 byte for OpenGL. */