File n_drirc-disable-rgb10-for-chromium-on-amd.patch of Package Mesa.18651

Index: mesa-18.2.3/src/util/drirc
===================================================================
--- mesa-18.2.3.orig/src/util/drirc
+++ mesa-18.2.3/src/util/drirc
@@ -330,5 +330,10 @@ TODO: document the other workarounds.
         <application name="ARK: Survival Evolved (and unintentionally the UE4 demo template)" executable="ShooterGame">
             <option name="radeonsi_clear_db_cache_before_clear" value="true" />
         </application>
+
+        <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
+        <application name="Chromium" executable="chromium">
+            <option name="allow_rgb10_configs" value="false" />
+        </application>
     </device>
 </driconf>
openSUSE Build Service is sponsored by