i965/fs: Make null_reg_* const members of fs_visitor instead of globals
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 10 Sep 2014 18:28:27 +0000 (11:28 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Sep 2014 17:29:13 +0000 (10:29 -0700)
commit1c89e098e8e644d6c33b36fabbba0b8d675d115d
tree6500c81283876877e009790f6b6d80a917394f15
parentab7234c8520499fcfeed153e0aefeb6b43758d1f
i965/fs: Make null_reg_* const members of fs_visitor instead of globals

We also set the register width equal to the dispatch width.  Right now,
this is effectively a no-op since we don't do anything with it.  However,
it will be important once we add an actual width field to fs_reg.

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