summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-06-25 16:17:17 +0200
committerSamuel Pitoiset <[email protected]>2019-06-25 16:45:15 +0200
commit5411f470564f6f1c2a55d037103f051cbddd5623 (patch)
tree95949289b70911d08c2d2c2aa93064070ae02dda /src/amd/vulkan/radv_private.h
parent34bef8a0d70211b073778d7a93d5c97d7f272558 (diff)
radv: set DISABLE_CONSTANT_ENCODE_REG to 1 for Raven2
Ported from RadeonSI, will be emitted for GFX10 too. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 284d212d027..b537778001c 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -319,6 +319,9 @@ struct radv_physical_device {
/* Whether to enable the AMD_shader_ballot extension */
bool use_shader_ballot;
+ /* Whether DISABLE_CONSTANT_ENCODE_REG is supported. */
+ bool has_dcc_constant_encode;
+
/* This is the drivers on-disk cache used as a fallback as opposed to
* the pipeline cache defined by apps.
*/