Commit 3305089a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

kwineffects: Fix detection of Radeon GPUs

parent 44176c6a
[Driver]
Vendor=AMD
Renderer=AMD Radeon RX 5700 XT (NAVI10, DRM 3.40.0, 5.10.9-arch1-1, LLVM 11.0.1)
Version=4.6 (Compatibility Profile) Mesa 20.3.3
ShadingLanguageVersion=4.60
[Settings]
LooseBinding=true
GLSL=true
TextureNPOT=true
Mesa=true
Gallium=true
Radeon=true
GLVersion=4,6
GLSLVersion=4,60
MesaVersion=20,3,3
GalliumVersion=0,4
DriverVersion=20,3,3
Driver=16
ChipClass=14
Compositor=9
......@@ -853,7 +853,7 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
}
// RadeonSI
else if (m_vendor == "X.Org" &&
else if ((m_vendor == "X.Org" || m_vendor == "AMD") &&
(m_renderer.contains("TAHITI") ||
m_renderer.contains("PITCAIRN") ||
m_renderer.contains("VERDE") ||
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment