kwineffects: Fix detection of Radeon GPUs
This commit is contained in:
parent
44176c6a8c
commit
3305089ab3
2 changed files with 22 additions and 1 deletions
|
@ -0,0 +1,21 @@
|
|||
[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") ||
|
||||
|
|
Loading…
Reference in a new issue