[Mesa-dev] [PATCH 1/2] st/mesa: remove the "Gallium 0.4 on" prefix from GL_RENDERER

Miklós Máté mtmkls at gmail.com
Tue Jun 13 18:21:20 UTC 2017


On 08/06/17 05:17, Timothy Arceri wrote:
> On 08/06/17 12:04, Michel Dänzer wrote:
>> On 08/06/17 05:09 AM, Marek Olšák wrote:
>>> From: Marek Olšák <marek.olsak at amd.com>
>>>
>>> If you want to keep it for your driver, please raise your hand.
>>> The prefix will probably have to be added into the driver instead of 
>>> here.
>>>
>>> I cringe when I look at my long renderer string:
>>>    Gallium 0.4 on AMD Radeon R9 Fury Series (DRM 3.17.0 / 
>>> 4.11.0-staging-01277-gab25a9e, LLVM 5.0.0)
>>>
>>> I'm sincerely sorry for all apps that detect Mesa by expecting 
>>> "Gallium"
>>> in the string.
>>
>> I agree that "0.4" is useless, but not sure about "Gallium on". The
>> length of the renderer string seems irrelevant (though you could shorten
>> it more by shortening the kernel version string :).
>
> Beginning the string with AMD is likely to hit more paths in apps 
> where it is expecting the binary driver. This may be both a positive 
> and a negative. 

X-Plane 11 starts like this:
if (GL_RENDERER contains "Gallium") {
     print "X-Plane does not support the Gallium driver stack.\nSorry.\n";
     exit 0;
}
After removing "Gallium" from the renderer string the flight simulator 
works fine with radeonsi.

MM


More information about the mesa-dev mailing list