i965: Remove duplicate copy of is_scalar_shader_stage().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Sep 2015 16:13:08 +0000 (09:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Sep 2015 20:56:24 +0000 (13:56 -0700)
commit651395b6e8332160023ecdddb45b03a313d26077
treeceac0efef9fea93026a76c81fb168a5ffebbb0a4
parenta1a3f0961b20907b6948959c1f224bb055bd4f3d
i965: Remove duplicate copy of is_scalar_shader_stage().

Jason open coded this in 60befc63 when cleaning up some ugly code;
using our existing helper tidies it up a bit more.

v2: Drop inline (suggested by Matt).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_shader.cpp