anv: Add facilities for dumping an image to a file
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 17 Oct 2015 03:01:45 +0000 (20:01 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 17 Oct 2015 03:03:06 +0000 (20:03 -0700)
commit7010fe61c8c72ce9bc8df98d730d99652333d460
treea44dee98197cb00ea8b8b3f6a70e98be1db2a11b
parent368e703a01c631f04f2a2a1f5f62f61c06838fae
anv: Add facilities for dumping an image to a file

The ability to dump an arbitrary miplevel or array slice of an anv_image to
a file is very useful for debugging.  Nothing inside of the driver calls
this right now, but it's very useful to call from GDB.
src/vulkan/Makefile.am
src/vulkan/anv_dump.c [new file with mode: 0644]
src/vulkan/anv_private.h