From: Eric Anholt Date: Fri, 19 Oct 2012 18:21:18 +0000 (-0700) Subject: i965/fs: Fix typo in refactor of brw_fs_reg_allocate.cpp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=804469c58d755dfa82085a0421de1671bf421f05;p=mesa.git 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. --- 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) {