Commit 0e9fe61c authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Detect softpipe and llvmpipe on Mesa 20.2+

It seems like the vendor string changed from "VMware Inc." to "Mesa/X.org".
parent dee29863
[Driver]
Vendor=Mesa/X.org
Renderer=llvmpipe (LLVM 10.0.1, 256 bits)
Version=3.1 Mesa 20.2.1
ShadingLanguageVersion=1.40
[Settings]
LooseBinding=true
GLSL=true
TextureNPOT=true
Mesa=true
Gallium=true
SoftwareEmulation=true
GLVersion=3,1
GLSLVersion=1,40
MesaVersion=20,2,1
GalliumVersion=0,4
DriverVersion=20,2,1
Driver=12
ChipClass=99999
Compositor=9
......@@ -905,12 +905,12 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
}
// softpipe
else if (m_vendor == "VMware, Inc." && m_chipset == "softpipe" ) {
else if (m_chipset == "softpipe") {
m_driver = Driver_Softpipe;
}
// llvmpipe
else if (m_vendor == "VMware, Inc." && m_chipset == "llvmpipe") {
else if (m_chipset == "llvmpipe") {
m_driver = Driver_Llvmpipe;
}
......
Markdown is supported
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