Fix T98620: Video sequencer screen corruption occurs when resizing.

Added Windows/Intel GPU to the list of work-a-rounds. This will
reduce the performance when using Intel GPUs on all platforms.
This commit is contained in:
Jeroen Bakker 2022-06-08 13:15:28 +02:00 committed by Philipp Oeser
parent a7c923c6d5
commit 23bce4a974
Notes: blender-bot 2023-02-14 05:36:11 +01:00
Referenced by issue #98661, 3.2: Potential candidates for corrective releases
Referenced by issue #98620, Regression: Video sequencer screen corruption occurs when resizing
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ static void detect_workarounds()
/* Certain Intel/AMD based platforms don't clear the viewport textures. Always clearing leads to
* noticeable performance regressions on other platforms as well. */
if (GPU_type_matches(GPU_DEVICE_ANY, GPU_OS_MAC, GPU_DRIVER_ANY) ||
GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_UNIX, GPU_DRIVER_ANY)) {
GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_ANY, GPU_DRIVER_ANY)) {
GCaps.clear_viewport_workaround = true;
}