Module: Mesa
Branch: master
Commit: b2c737cf57382d543002177b6e4810b19ab62c74
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2c737cf57382d543002177b6e4810b19ab62c74

Author: Ryan Neph <[email protected]>
Date:   Wed Oct 21 00:47:04 2020 +0000

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 <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
Fixes: 9760a7ed913 ("virgl: apply bgra dest swizzle and add Portal 2")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7246>

---

 src/util/00-mesa-defaults.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 2d21c9cbf6f..6f6c626f94f 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -703,7 +703,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>

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to