mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Vulkan: Extend the NVIDIA MSAA bug to render-pass based clears
Calling vkCmdClearAttachments with a partial rect, or specifying a render area in a render pass with the load op set to clear can cause the GPU to lock up, or raise a bounds violation. This only occurs on MSAA framebuffers, and it seems when there are multiple clears in a single command buffer. Worked around by back to the slow path (drawing quads) when MSAA is enabled.
This commit is contained in:
@ -102,8 +102,8 @@ static BugInfo m_known_bugs[] = {
|
||||
BUG_SHARED_CONTEXT_SHADER_COMPILATION, -1.0, -1.0, true},
|
||||
{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},
|
||||
{API_VULKAN, OS_ALL, VENDOR_NVIDIA, DRIVER_NVIDIA, Family::UNKNOWN, BUG_BROKEN_MSAA_CLEAR, -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},
|
||||
};
|
||||
|
@ -254,11 +254,16 @@ enum Bug
|
||||
// Ended Version: -1
|
||||
BUG_SHARED_CONTEXT_SHADER_COMPILATION,
|
||||
|
||||
// Bug: vkCmdClearAttachments with MSAA enabled causes NVIDIA Maxwell+ cards to lock up.
|
||||
// Bug: Fast clears on a MSAA framebuffer can cause NVIDIA GPU resets/lockups.
|
||||
// Started version: -1
|
||||
// Ended version: -1
|
||||
// Seems to only occur when the top of the clear rect is non-zero.
|
||||
BUG_BROKEN_MSAA_VKCMDCLEARATTACHMENTS,
|
||||
// Calling vkCmdClearAttachments with a partial rect, or specifying a render area in a
|
||||
// render pass with the load op set to clear can cause the GPU to lock up, or raise a
|
||||
// bounds violation. This only occurs on MSAA framebuffers, and it seems when there are
|
||||
// multiple clears in a single command buffer. Worked around by back to the slow path
|
||||
// (drawing quads) when MSAA is enabled.
|
||||
BUG_BROKEN_MSAA_CLEAR,
|
||||
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user