virgl: Fixes portal2 binary name in tweak config

Portal 2 on virgl w/ GLES host requires bgraswz and emubgra tweaks.
Application binary name matching mismatch caused tweaks to default
to a disabled state.

Signed-off-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Fixes: 9760a7ed91 ("virgl: apply bgra dest swizzle and add Portal 2")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7246>
(cherry picked from commit b2c737cf57)
This commit is contained in:
Ryan Neph 2020-10-21 00:47:04 +00:00 committed by Dylan Baker
parent b9693aa851
commit 17e7be7c79
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@
"description": "virgl: Fixes portal2 binary name in tweak config",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "9760a7ed9138b84d83a712afeb0e673399d9e200"
},

View file

@ -689,7 +689,7 @@ TODO: document the other workarounds.
<option name="gles_emulate_bgra" value="true" />
<option name="gles_apply_bgra_dest_swizzle" value="true"/>
</application>
<application name="Portal 2" executable="hl2_linux">
<application name="Portal 2" executable="portal2_linux">
<option name="gles_emulate_bgra" value="true" />
<option name="gles_apply_bgra_dest_swizzle" value="true"/>
</application>