diff options
| author | Jonathan Hamilton <jtrhamilton@gmail.com> | 2017-06-19 18:46:17 -0700 |
|---|---|---|
| committer | Jonathan Hamilton <jtrhamilton@gmail.com> | 2017-08-28 18:01:35 -0700 |
| commit | 62e8d25cd10c86b567209f154a4e841381f16fbb (patch) | |
| tree | 49378a96cf36ffac3e3169cc8f5be210e9af8716 /Source/Core/VideoCommon | |
| parent | 11057649eea4d7bac18c3c29467ff82783fc8323 (diff) | |
Add Bug to Disable "LoadOp" clear renderpass in vulkan
This optimisation doesn't work on PowerVR's Vulkan implementation. We
(incorrectly) disallow Framebuffer objects to be used with a different
load or store op than that which they were created with, despite the
spec allowing such.
This fixes the windwaker intro "smearing"
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.cpp | 5 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.h | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index 421fe637b1..b53383f878 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -103,7 +103,10 @@ static BugInfo m_known_bugs[] = { {API_OPENGL, OS_LINUX, VENDOR_MESA, DRIVER_NOUVEAU, Family::UNKNOWN, BUG_SHARED_CONTEXT_SHADER_COMPILATION, -1.0, -1.0, true}, {API_VULKAN, OS_ALL, VENDOR_NVIDIA, DRIVER_NVIDIA, Family::UNKNOWN, - BUG_BROKEN_MSAA_VKCMDCLEARATTACHMENTS, -1.0, -1.0, true}}; + BUG_BROKEN_MSAA_VKCMDCLEARATTACHMENTS, -1.0, -1.0, true}, + {API_VULKAN, OS_ALL, VENDOR_IMGTEC, DRIVER_IMGTEC, Family::UNKNOWN, + BUG_BROKEN_CLEAR_LOADOP_RENDERPASS, -1.0, -1.0, true}, +}; static std::map<Bug, BugInfo> m_bugs; diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h index a57071ef68..22de90c763 100644 --- a/Source/Core/VideoCommon/DriverDetails.h +++ b/Source/Core/VideoCommon/DriverDetails.h @@ -259,6 +259,13 @@ enum Bug // Ended version: -1 // Seems to only occur when the top of the clear rect is non-zero. BUG_BROKEN_MSAA_VKCMDCLEARATTACHMENTS, + // BUG: Some vulkan implementations don't like the 'clear' loadop renderpass. + // For example, the ImgTec VK driver fails if you try to use a framebuffer with a different + // load/store op than that which it was created with, despite the spec saying they should be + // compatible. + // Started Version: 1.7 + // Ended Version: 1.10 + BUG_BROKEN_CLEAR_LOADOP_RENDERPASS, }; // Initializes our internal vendor, device family, and driver version |
