i965: Print input/output VUE maps on INTEL_DEBUG=vs, gs.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Nov 2015 08:48:33 +0000 (00:48 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 14 Nov 2015 00:08:51 +0000 (16:08 -0800)
commita4ba476c30ebcb99694c6167ac9b8af9414cb656
tree9bc3d7f311b35713b32eb48d69c8711f43b5c1b9
parentf88c175a29bb287d41ef90343eb6670525475a06
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>
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vue_map.c