mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 15:30:14 +01:00
virgl: apply bgra dest swizzle and add Portal 2
Apply the destination swizzle on GLES games based on HL2 engine. Also add Portal 2 since some people are experiencing issues with that. Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5481>
This commit is contained in:
parent
c95b250a4c
commit
9760a7ed91
1 changed files with 7 additions and 0 deletions
|
|
@ -654,12 +654,19 @@ TODO: document the other workarounds.
|
|||
too dark. -->
|
||||
<application name="Half Life 2" executable="hl2_linux">
|
||||
<option name="gles_emulate_bgra" value="true" />
|
||||
<option name="gles_apply_bgra_dest_swizzle" value="true"/>
|
||||
</application>
|
||||
<application name="Portal" executable="hl2_linux">
|
||||
<option name="gles_emulate_bgra" value="true" />
|
||||
<option name="gles_apply_bgra_dest_swizzle" value="true"/>
|
||||
</application>
|
||||
<application name="Portal 2" executable="hl2_linux">
|
||||
<option name="gles_emulate_bgra" value="true" />
|
||||
<option name="gles_apply_bgra_dest_swizzle" value="true"/>
|
||||
</application>
|
||||
<application name="Left 4 Dead 2" executable="hl2_linux">
|
||||
<option name="gles_emulate_bgra" value="true" />
|
||||
<option name="gles_apply_bgra_dest_swizzle" value="true"/>
|
||||
</application>
|
||||
<application name="Dota 2" executable="dota2">
|
||||
<option name="gles_emulate_bgra" value="true" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue