i965: Set shader name for generator from call site
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 28 Oct 2014 02:40:47 +0000 (19:40 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Dec 2014 20:28:51 +0000 (12:28 -0800)
commit9a1af7b31824ca573b2609434cf8299bfc9bc5e2
tree404ff2b02c0f331c41e3b7573832da1a0ba74032
parent7bb9d33b8d6ecc03670078c3f9623f188135abb7
i965: Set shader name for generator from call site

fs_generator no longer knows what stage it's generating code for, so
we have to set the debug name of the shader from the call site.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp