summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2014-01-15 22:21:30 +0100
committerFrancisco Jerez <currojerez@riseup.net>2014-02-12 23:07:57 +0100
commit019bf6ed8dd4843512e9d4924f4702ce36047ad5 (patch)
treeb690ab98b2353462b2d0a90e4244c4ac6857567b /src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
parent756d37b1d6d09ad7ee3b8835888a49d4256e427b (diff)
downloadexternal_mesa3d-019bf6ed8dd4843512e9d4924f4702ce36047ad5.zip
external_mesa3d-019bf6ed8dd4843512e9d4924f4702ce36047ad5.tar.gz
external_mesa3d-019bf6ed8dd4843512e9d4924f4702ce36047ad5.tar.bz2
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 <mattst88@gmail.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
index 2aeabad..6151729 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
@@ -85,7 +85,7 @@ fs_live_variables::setup_one_read(bblock_t *block, fs_inst *inst,
* would get stomped by the first decode as well.
*/
int end_ip = ip;
- if (v->dispatch_width == 16 && (reg.smear != -1 || reg.stride == 0 ||
+ if (v->dispatch_width == 16 && (reg.stride == 0 ||
(v->pixel_x.reg == reg.reg ||
v->pixel_y.reg == reg.reg))) {
end_ip++;