summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-01-19 12:12:02 +0100
committerSamuel Pitoiset <[email protected]>2018-01-22 12:28:33 +0100
commit33e6e5e6a45a63728053d92c366fe8b320199843 (patch)
treea5dd61a31210be3d044712e50db41daba522aea6 /src/amd/vulkan/radv_debug.h
parent525b4f7548462bfc2e82f2d1f04f61ce6854a3c5 (diff)
radv: add an option that allows to dump pre-optimization ir
With RADV_DEBUG=preoptir. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[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 5b37bfe0847..804f620690d 100644
--- a/src/amd/vulkan/radv_debug.h
+++ b/src/amd/vulkan/radv_debug.h
@@ -42,6 +42,7 @@ enum {
RADV_DEBUG_ZERO_VRAM = 0x1000,
RADV_DEBUG_SYNC_SHADERS = 0x2000,
RADV_DEBUG_NO_SISCHED = 0x4000,
+ RADV_DEBUG_PREOPTIR = 0x8000,
};
enum {