summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-05-09 04:17:30 +0100
committerDave Airlie <[email protected]>2017-06-09 02:15:25 +0100
commitc2464271a04964121d21eb1508d9dc61ec2d8e71 (patch)
tree5a34e6ab428ccd42006d9a5e6a4d89b6ebffa6ca /src/amd/vulkan/radv_debug.h
parentd0a26edc25a0125ab85dc5eabdd235792b5ac899 (diff)
radv: introduce perf test env var and allow to enable chaining
We have some features that seem to slow things down or cause other possible undesireable side effects, but it would be nice to test games etc with them easily. I forsee multisample DCC and maybe some shader opt changes using this. For now use it for batch chaining. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
-rw-r--r--src/amd/vulkan/radv_debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h
index 4d1398e191d..c986c7bc9d7 100644
--- a/src/amd/vulkan/radv_debug.h
+++ b/src/amd/vulkan/radv_debug.h
@@ -37,4 +37,7 @@ enum {
RADV_DEBUG_NO_IBS = 0x200,
};
+enum {
+ RADV_PERFTEST_BATCHCHAIN = 0x1,
+};
#endif