summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_compiler.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-11-10 00:48:33 -0800
committerKenneth Graunke <kenneth@whitecape.org>2015-11-13 16:08:51 -0800
commita4ba476c30ebcb99694c6167ac9b8af9414cb656 (patch)
tree9bc3d7f311b35713b32eb48d69c8711f43b5c1b9 /src/mesa/drivers/dri/i965/brw_compiler.h
parentf88c175a29bb287d41ef90343eb6670525475a06 (diff)
downloadexternal_mesa3d-a4ba476c30ebcb99694c6167ac9b8af9414cb656.zip
external_mesa3d-a4ba476c30ebcb99694c6167ac9b8af9414cb656.tar.gz
external_mesa3d-a4ba476c30ebcb99694c6167ac9b8af9414cb656.tar.bz2
i965: Print input/output VUE maps on INTEL_DEBUG=vs, gs.
I've been carrying around a patch to do this for the last few months, and it's been exceedingly useful for debugging GS and tessellation problems. I've caught lots of bugs by inspecting the interface expectations of two adjacent stages. It's not that much spam, so I figure we may as well just print it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h
index f022f38..e3a26d6 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.h
+++ b/src/mesa/drivers/dri/i965/brw_compiler.h
@@ -458,6 +458,8 @@ struct brw_vue_map {
int num_slots;
};
+void brw_print_vue_map(FILE *fp, const struct brw_vue_map *vue_map);
+
/**
* Convert a VUE slot number into a byte offset within the VUE.
*/