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:
committed by
Marge Bot
parent
c95b250a4c
commit
9760a7ed91
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user