Skip to content

Commit

Permalink
GS: Default to OpenGL for RDNA 2 and 3 on windows.
Browse files Browse the repository at this point in the history
When someone buys an RDNA 3 GPU please debug the driver timeouts on windows to figure out what's  causing the crashing, seems to be related to barriers.

RDNA 2 and higher support feature level 12.2 so use that to detect RDNA 3.
  • Loading branch information
lightningterror committed Dec 31, 2024
1 parent 18308b6 commit 840342b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pcsx2/GS/Renderers/DX11/D3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,14 @@ GSRendererType D3D::GetPreferredRenderer()

case VendorID::AMD:
{
// FIXME: When someone buys an RDNA 3 GPU please debug the driver timeouts on windows
// to figure out what's causing the crashes on Vulkan, seems to be related to barriers.
// RDNA 2 and higher support feature level 12.2 so use that to detect RDNA 3.
const std::optional<D3D_FEATURE_LEVEL> feature_level = get_d3d11_feature_level();
if (!feature_level.has_value())
return GSRendererType::DX11;
else if (feature_level == D3D_FEATURE_LEVEL_12_2)
return GSRendererType::OGL;
else if (feature_level == D3D_FEATURE_LEVEL_12_0)
return check_vulkan_supported() ? GSRendererType::VK : GSRendererType::DX11;
else
Expand Down

0 comments on commit 840342b

Please sign in to comment.