[Mesa-stable] [Mesa-dev] [PATCH] drirc: Add "Second Life" quirk (allow_glsl_extension_directive_midshader).

Brian Paul brianp at vmware.com
Fri Apr 10 12:15:10 PDT 2015


On 04/10/2015 12:09 PM, Matt Turner wrote:
> On Fri, Apr 10, 2015 at 10:30 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
>> Appears to fix shader compilation.  Tested by starting the client,
>> dragging the "quality and speed" slider back and forth, and watching the
>> console output - instead of piles of "shader failed to compile", the CPU
>> seems to be busy compiling shaders.  I haven't actually tried to play.
>>
>> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
>> Bugzilla: https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.freedesktop.org_show-5Fbug.cgi-3Fid-3D69226&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=kuwRuPIIjYn9IxJu5lwAP1n3UAevOn2GL-Z-fFF2QXs&s=tsoD7NzsQsX25H0GDtdr8qaJvflA2aYJH_jcMmL5gUk&e=
>> Bugzilla: https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.freedesktop.org_show-5Fbug.cgi-3Fid-3D71591&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=kuwRuPIIjYn9IxJu5lwAP1n3UAevOn2GL-Z-fFF2QXs&s=HRnZXYakYRd4GotvwcyR2l4AykpWcxrwHOUfHTpGefo&e=
>> Cc: mesa-stable at lists.freedesktop.org
>> ---
>>   src/mesa/drivers/dri/common/drirc | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
>> index cecd6a9..145e707 100644
>> --- a/src/mesa/drivers/dri/common/drirc
>> +++ b/src/mesa/drivers/dri/common/drirc
>> @@ -91,5 +91,9 @@ TODO: document the other workarounds.
>>           <application name="Dead Island" executable="DeadIslandGame">
>>               <option name="allow_glsl_extension_directive_midshader" value="true" />
>>           </application>
>> +
>> +        <application name="Second Life" executable="do-not-directly-run-secondlife-bin">
>
> This is really the binary name?!

On Windows it's just SecondLifeViewer.exe

With a name like that, it's too tempting to not try running it!


-Brian

>
>> +            <option name="allow_glsl_extension_directive_midshader" value="true" />
>> +        </application>
>>       </device>
>>   </driconf>
>> --
>> 2.3.5
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Ddev&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=kuwRuPIIjYn9IxJu5lwAP1n3UAevOn2GL-Z-fFF2QXs&s=bzx7dluW7W6LwvI9tWUbs9VaoBS1K8dvnRPYNWYg6QU&e=
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Ddev&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=kuwRuPIIjYn9IxJu5lwAP1n3UAevOn2GL-Z-fFF2QXs&s=bzx7dluW7W6LwvI9tWUbs9VaoBS1K8dvnRPYNWYg6QU&e=
>



More information about the mesa-stable mailing list