From bcfba138cc7ffbf8163b29dc4a89520369a00f96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 6 Oct 2009 21:13:27 +0200 Subject: [PATCH] r300/compiler: Fix yet another regression in register allocation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolai Hähnle --- src/mesa/drivers/dri/r300/compiler/radeon_pair_regalloc.c | 1 + 1 file changed, 1 insertion(+) 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 e39ac2f5104..828d0c8e28e 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; -- 2.30.2