diff options
author | Francisco Jerez <[email protected]> | 2015-02-06 01:24:17 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-02-10 16:05:50 +0200 |
commit | a3ee6c7d1991a90d22fae992c1cb94123e51ae54 (patch) | |
tree | a7f96a32605e7529ba4b94397a8af9be447b3622 /src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp | |
parent | bfbb0e84e11e06af3d751701f157a21915976ca1 (diff) |
i965/fs: Remove dependency of fs_inst on the visitor class.
The fs_visitor argument of fs_inst::regs_read() wasn't used at all.
Reviewed-by: Matt Turner <[email protected]>
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.cpp | 2 |
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 968219bc074..502161d5128 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp @@ -152,7 +152,7 @@ fs_live_variables::setup_def_use() if (reg.file != GRF) continue; - for (int j = 0; j < inst->regs_read(v, i); j++) { + for (int j = 0; j < inst->regs_read(i); j++) { setup_one_read(bd, inst, ip, reg); reg.reg_offset++; } |