i965: Pass a shader stage abbreviation to fs_generator().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Jan 2015 22:28:13 +0000 (14:28 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Jan 2015 00:55:38 +0000 (16:55 -0800)
commit68ed14d6adcaf4b91216fc1c53792e88d1fd024d
tree2dc68f329220fc3395c1242cd3a048ca1c1b0b58
parentefef6c828092702b1f928f98d15fb90b4544a85c
i965: Pass a shader stage abbreviation to fs_generator().

A lot of messages hardcoded the string "FS", which is confusing on
Broadwell, where we use this code for VS support as well.

shader-db particularly got confused, as it reported two "FS SIMD8"
shaders, and no vertex shaders at all.  Craziness ensued.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
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
src/mesa/drivers/dri/i965/brw_vec4.cpp