summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/drirc5
-rw-r--r--src/util/xmlpool/t_options.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/util/drirc b/src/util/drirc
index 0bedeef9a3c..700402c6301 100644
--- a/src/util/drirc
+++ b/src/util/drirc
@@ -235,4 +235,9 @@ 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_meta_before_clear" value="true" />
+ </application>
+ </device>
</driconf>
diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h
index 64477c5ed65..957ed615048 100644
--- a/src/util/xmlpool/t_options.h
+++ b/src/util/xmlpool/t_options.h
@@ -443,3 +443,8 @@ DRI_CONF_OPT_END
DRI_CONF_OPT_BEGIN_B(radeonsi_commutative_blend_add, def) \
DRI_CONF_DESC(en,gettext("Commutative additive blending optimizations (may cause rendering errors)")) \
DRI_CONF_OPT_END
+
+#define DRI_CONF_RADEONSI_CLEAR_DB_META_BEFORE_CLEAR(def) \
+DRI_CONF_OPT_BEGIN_B(radeonsi_clear_db_meta_before_clear, def) \
+ DRI_CONF_DESC(en,"Clear DB metadata cache before fast depth clear") \
+DRI_CONF_OPT_END