Skip to content

Commit 13c5d0b

Browse files
committed
Disable GL qualcomm workarounds when running on zink
* zink does not have these issues
1 parent 208d8d9 commit 13c5d0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

renderdoc/driver/gl/gl_common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,8 @@ void DoVendorChecks(GLPlatform &platform, GLWindowingData context)
781781
// Qualcomm's implementation of glCopyImageSubData is buggy on some drivers and can cause GPU
782782
// crashes or corrupted data. We force the initial state copies to happen via our emulation which
783783
// uses framebuffer blits.
784-
if(strstr(vendor, "Qualcomm") || strstr(vendor, "Adreno") || strstr(renderer, "Qualcomm") ||
785-
strstr(renderer, "Adreno"))
784+
if(!strstr(renderer, "zink") && (strstr(vendor, "Qualcomm") || strstr(vendor, "Adreno") ||
785+
strstr(renderer, "Qualcomm") || strstr(renderer, "Adreno")))
786786
{
787787
bool broken = true;
788788

0 commit comments

Comments
 (0)