diff options
author | Francisco Jerez <[email protected]> | 2014-01-15 22:21:30 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-02-12 23:07:57 +0100 |
commit | 019bf6ed8dd4843512e9d4924f4702ce36047ad5 (patch) | |
tree | b690ab98b2353462b2d0a90e4244c4ac6857567b /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 756d37b1d6d09ad7ee3b8835888a49d4256e427b (diff) |
i965/fs: Remove fs_reg::smear.
The same effect can be achieved using a combination of ::stride and
::subreg_offset. Remove the less flexible ::smear to keep the data
members of fs_reg orthogonal.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 84bed9f4358..85d06ff214c 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -107,7 +107,9 @@ public: bool abs; bool sechalf; struct brw_reg fixed_hw_reg; - int smear; /* -1, or a channel of the reg to smear to all channels. */ + + /** Smear a channel of the reg to all channels. */ + fs_reg &set_smear(unsigned subreg); /** Value for file == IMM */ union { |