summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2009-10-06 21:13:27 +0200
committerNicolai Hähnle <nhaehnle@gmail.com>2009-10-06 21:13:27 +0200
commitbcfba138cc7ffbf8163b29dc4a89520369a00f96 (patch)
tree0abe7b115febdff5691ed7d0e21c97c86c45da88 /src/mesa
parenta09bd685daa9f2eebf7c7b428dc0da4595dd6459 (diff)
r300/compiler: Fix yet another regression in register allocation
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_pair_regalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_pair_regalloc.c b/src/mesa/drivers/dri/r300/compiler/radeon_pair_regalloc.c
index e39ac2f510..828d0c8e28 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_pair_regalloc.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_pair_regalloc.c
@@ -177,6 +177,7 @@ static void scan_callback(void * data, struct rc_instruction * inst,
reg->Live.Start = -1;
else
reg->Live.Start = inst->IP;
+ reg->Live.End = inst->IP;
} else {
if (inst->IP > reg->Live.End)
reg->Live.End = inst->IP;