summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;