i965/fs: Remove fs_reg::sechalf.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 15 Jan 2014 21:21:50 +0000 (22:21 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 12 Feb 2014 22:39:24 +0000 (23:39 +0100)
commita3a55067bdf608402aeb98d515c52e2436a8f226
tree37f07661da63cfd358a590471ae0ee0217566bb8
parent019bf6ed8dd4843512e9d4924f4702ce36047ad5
i965/fs: Remove fs_reg::sechalf.

The same effect can be achieved using ::subreg_offset.  Remove the
less flexible alternative and define a convenience function to keep
the fs_reg interface sane.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
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_fs_visitor.cpp