mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Cleanup GPU vendor detection a bit, use it to avoid the issue mentioned in #9545
This commit is contained in:
1 parent
9468b3d073
commit
2c86217552
13 files changed
+88
-24
No files matched your search
@@ -400,7 +400,7 @@ void SoftwareTransform(
|
||||
int scissorY2 = gstate.getScissorY2() + 1;
|
||||
reallyAClear = IsReallyAClear(transformed, maxIndex, scissorX2, scissorY2);
|
||||
}
|
||||
if (reallyAClear && gl_extensions.gpuVendor != GPU_VENDOR_POWERVR) {
|
||||
if (reallyAClear && gl_extensions.gpuVendor != GPU_VENDOR_IMGTEC) {
|
||||
// If alpha is not allowed to be separate, it must match for both depth/stencil and color. Vulkan requires this.
|
||||
bool alphaMatchesColor = gstate.isClearModeColorMask() == gstate.isClearModeAlphaMask();
|
||||
bool depthMatchesStencil = gstate.isClearModeAlphaMask() == gstate.isClearModeDepthMask();
|
||||
|
||||
Reference in new issue
Block a user