[2/3] radeonsi: always enable NIR for Civilization 6 to fix corruption

Submitted by Marek Olšák on Feb. 19, 2019, 10:31 p.m.

Details

Message ID 20190219223112.10020-2-maraeo@gmail.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Marek Olšák Feb. 19, 2019, 10:31 p.m.
From: Marek Olšák <marek.olsak@amd.com>

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104602
---
 src/util/00-mesa-defaults.conf | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index cb0e6e659e2..81f23c97941 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -419,12 +419,15 @@  TODO: document the other workarounds.
             <option name="glx_disable_oml_sync_control" value="true" />
         </application>
     </device>
     <device driver="radeonsi">
         <application name="ARK: Survival Evolved (and unintentionally the UE4 demo template)" executable="ShooterGame">
             <option name="radeonsi_clear_db_cache_before_clear" value="true" />
         </application>
         <application name="No Mans Sky" executable="NMS.exe">
             <option name="radeonsi_zerovram" value="true" />
         </application>
+        <application name="Civilization 6" executable="Civ6">
+            <option name="radeonsi_enable_nir" value="true"/>
+        </application>
     </device>
 </driconf>