diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-10-06 21:13:27 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-10-06 21:13:27 +0200 |
commit | bcfba138cc7ffbf8163b29dc4a89520369a00f96 (patch) | |
tree | 0abe7b115febdff5691ed7d0e21c97c86c45da88 /src/mesa | |
parent | a09bd685daa9f2eebf7c7b428dc0da4595dd6459 (diff) | |
download | external_mesa3d-bcfba138cc7ffbf8163b29dc4a89520369a00f96.zip external_mesa3d-bcfba138cc7ffbf8163b29dc4a89520369a00f96.tar.gz external_mesa3d-bcfba138cc7ffbf8163b29dc4a89520369a00f96.tar.bz2 |
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.c | 1 |
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 e39ac2f..828d0c8 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; |