summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-04-19 07:29:03 +0200
committerBas Nieuwenhuizen <[email protected]>2018-04-19 16:13:25 +0200
commitd1ce31d36c0e12cc50fc825eef16eb566259a080 (patch)
treea25954a4caee377ab380af0ba2d48e88d61eec7e /src/amd/vulkan/radv_debug.h
parente0c08183fb20399128ff363467e00aa1e8767886 (diff)
radv: Add bound checking workaround for dynamic buffers.
I have seen a few applications and games do the dynamic buffer bounds incorrectly, this make it easier to work around, e.g. for debugging. Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
-rw-r--r--src/amd/vulkan/radv_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h
index 79c624aec1d..03f218fcda8 100644
--- a/src/amd/vulkan/radv_debug.h
+++ b/src/amd/vulkan/radv_debug.h
@@ -43,6 +43,7 @@ enum {
RADV_DEBUG_SYNC_SHADERS = 0x2000,
RADV_DEBUG_NO_SISCHED = 0x4000,
RADV_DEBUG_PREOPTIR = 0x8000,
+ RADV_DEBUG_NO_DYNAMIC_BOUNDS = 0x10000,
};
enum {