aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-02-06 01:24:17 +0200
committerFrancisco Jerez <[email protected]>2015-02-10 16:05:50 +0200
commita3ee6c7d1991a90d22fae992c1cb94123e51ae54 (patch)
treea7f96a32605e7529ba4b94397a8af9be447b3622 /src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
parentbfbb0e84e11e06af3d751701f157a21915976ca1 (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.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 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++;
}