diff options
author | Samuel Pitoiset <[email protected]> | 2017-10-26 18:08:19 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-10-27 10:47:30 +0200 |
commit | dd79aa4ad30df205076be25f6bbf42768abea20a (patch) | |
tree | 263fa6ffdc5cede16fcfeb56a86d80feb5f9d321 /src/util | |
parent | a639d40f1330351924d736ca260de764734f9ef7 (diff) |
radeonsi: update hack for HTILE corruption in ARK: Survival Evolved
It appears that flushing the DB metadata is actually not sufficient
since the driver uses the new VS blit shaders. This looks quite
strange though, but it seems like we need to flush DB for fixing
the corruption.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102955
Fixes: 69ccb9dae7 (radeonsi: use new VS blit shaders (VS inputs in SGPRs)
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/drirc | 2 | ||||
-rw-r--r-- | src/util/xmlpool/t_options.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/util/drirc b/src/util/drirc index 39ac3c858c7..05630eb1a92 100644 --- a/src/util/drirc +++ b/src/util/drirc @@ -264,7 +264,7 @@ TODO: document the other workarounds. </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" /> + <option name="radeonsi_clear_db_cache_before_clear" value="true" /> </application> </device> </driconf> diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index 957ed615048..41f6ebd62d3 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -444,7 +444,7 @@ 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") \ +#define DRI_CONF_RADEONSI_CLEAR_DB_CACHE_BEFORE_CLEAR(def) \ +DRI_CONF_OPT_BEGIN_B(radeonsi_clear_db_cache_before_clear, def) \ + DRI_CONF_DESC(en,"Clear DB cache before fast depth clear") \ DRI_CONF_OPT_END |