From 804469c58d755dfa82085a0421de1671bf421f05 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 19 Oct 2012 11:21:18 -0700 Subject: [PATCH] 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. --- src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2