i965/fs: Refactor fs_inst::is_send_from_grf()
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 13 Sep 2014 18:49:55 +0000 (11:49 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Sep 2014 17:29:14 +0000 (10:29 -0700)
commit4d5f0eb0487ad13e90f7248c95c023c35457eaf9
tree1315cb4b9c98376f12af499ac5b95cc005b8e0b7
parent54688cd03b087740173b0e11638df1cf0f3a19e1
i965/fs: Refactor fs_inst::is_send_from_grf()

A switch statement is much easier to read/edit than a big giant or
statement.

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp