aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-06-15 16:13:46 -0700
committerJason Ekstrand <[email protected]>2016-07-09 20:58:33 -0700
commitac7eeebce4ae9107863623321b74b1c08389f180 (patch)
tree77085f1892135bc3db600aafe2ec7a26a0441fdd /src/intel/vulkan/anv_private.h
parentfad0b7b0b3fbea55a1cf14ee731531e706083716 (diff)
anv/dump: Add support for dumping framebuffers
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 673b4ed061c..7b2d1dd15b8 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1848,6 +1848,16 @@ void anv_dump_image_to_ppm(struct anv_device *device,
unsigned array_layer, VkImageAspectFlagBits aspect,
const char *filename);
+enum anv_dump_action {
+ ANV_DUMP_FRAMEBUFFERS_BIT = 0x1,
+};
+
+void anv_dump_start(struct anv_device *device, enum anv_dump_action actions);
+void anv_dump_finish(void);
+
+void anv_dump_add_framebuffer(struct anv_cmd_buffer *cmd_buffer,
+ struct anv_framebuffer *fb);
+
#define ANV_DEFINE_HANDLE_CASTS(__anv_type, __VkType) \
\
static inline struct __anv_type * \