From: Nicolai Hähnle Date: Tue, 6 Oct 2009 19:13:27 +0000 (+0200) Subject: r300/compiler: Fix yet another regression in register allocation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcfba138cc7ffbf8163b29dc4a89520369a00f96;p=mesa.git r300/compiler: Fix yet another regression in register allocation Signed-off-by: Nicolai Hähnle --- 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;