diff options
author | Timothy Arceri <[email protected]> | 2018-08-24 21:06:18 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-08-30 07:57:38 +1000 |
commit | 5566dd8a617cd6f90ceabb6ab5f94aa2996f0fbd (patch) | |
tree | 7b08f9576ee1becb1421f68afc648218a728f6e4 /src/util | |
parent | 406c3d748dac294e5c453eed7618a22d5d2cc0df (diff) |
radeonsi: add radeonsi_zerovram driconfig option
More and more games seem to require this so lets make it a config
option.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/xmlpool/t_options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index ecf495a2f29..945d0e60f90 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -414,3 +414,8 @@ DRI_CONF_OPT_END 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 + +#define DRI_CONF_RADEONSI_ZERO_ALL_VRAM_ALLOCS(def) \ +DRI_CONF_OPT_BEGIN_B(radeonsi_zerovram, def) \ + DRI_CONF_DESC(en,"Zero all vram allocations") \ +DRI_CONF_OPT_END |