mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
drirc: Set glsl_zero_init for Kerbal Space Program.
This fixes the stripes of garbage rendered on the floor of the vehicle assembly building among other rendering issues. The reason for the misrendering seems to be that some of the GLSL shaders used by the application use variables before initializing them, incorrectly assuming that they will be implicitly set to zero by the implementation. Acked-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
e8d9b76f63
commit
0de17f52a5
1 changed files with 8 additions and 0 deletions
|
|
@ -128,5 +128,13 @@ TODO: document the other workarounds.
|
|||
<application name="Spec Ops: The Line (64-bit)" executable="specops">
|
||||
<option name="force_glsl_abs_sqrt" value="true" />
|
||||
</application>
|
||||
|
||||
<application name="Kerbal Space Program (32-bit)" executable="KSP.x86">
|
||||
<option name="glsl_zero_init" value="true"/>
|
||||
</application>
|
||||
|
||||
<application name="Kerbal Space Program (64-bit)" executable="KSP.x86_64">
|
||||
<option name="glsl_zero_init" value="true"/>
|
||||
</application>
|
||||
</device>
|
||||
</driconf>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue