summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-10-19 11:21:18 -0700
committerEric Anholt <[email protected]>2012-10-19 11:47:01 -0700
commit804469c58d755dfa82085a0421de1671bf421f05 (patch)
treeafcf91737722c11b8ab0cda0d7693c9d4f6c4a3c /src/mesa
parentf593acd5778d4fdfa3493bb90c99b52e45667bc0 (diff)
i965/fs: Fix typo in refactor of brw_fs_reg_allocate.cpp.
I'm amazed that my usual warnings check didn't catch this, and that this passed piglit.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
index 179ef160e21..f87cbbcd68a 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
@@ -174,7 +174,7 @@ int
count_to_loop_end(fs_inst *do_inst)
{
int depth = 1;
- int ip = ip;
+ int ip = 1;
for (fs_inst *inst = (fs_inst *)do_inst->next;
depth > 0;
inst = (fs_inst *)inst->next) {