summaryrefslogtreecommitdiffstats
path: root/src/util/xmlpool
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-10-03 19:28:48 +0200
committerMarek Olšák <[email protected]>2017-10-06 02:56:11 +0200
commitc4d1a199f8379b3982a53fb18fe2b50fafd682df (patch)
tree1ff4ed86212d6f43cd56a3e98fc25ac8c4ecfb58 /src/util/xmlpool
parent15d918e46faf08be018394747f019b082871dccf (diff)
radeonsi: add a drirc workaround for HTILE corruption in ARK: Survival Evolved
v2: use DB_META | PS_PARTIAL_FLUSH Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102955 Reviewed-by: Samuel Pitoiset <[email protected]> (v1) Reviewed-by: Nicolai Hähnle <[email protected]> (v1)
Diffstat (limited to 'src/util/xmlpool')
-rw-r--r--src/util/xmlpool/t_options.h5
1 files changed, 5 insertions, 0 deletions
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