Change the way we handle temporaries in LLVM translation.
authorZack Rusin <zack@tungstengraphics.com>
Mon, 29 Oct 2007 15:42:22 +0000 (11:42 -0400)
committerZack Rusin <zack@tungstengraphics.com>
Tue, 30 Oct 2007 09:15:05 +0000 (05:15 -0400)
commitfd908ce234d1f553b59d65afb7e4243ffee24018
treefcddc5e5d93a2c45d90d4bb31172e1a302d1aa94
parentb0f3b5910ebd0737600ab7b1fdc135d74f2617f4
Change the way we handle temporaries in LLVM translation.

TGSI uses TEMP, among others, as a way of passing arguments
from one function to another. Instead of trying to figure out
which temp's a function needs and trying to dynamically adjust its
signature just pass the whole array of temporaries to them.
src/mesa/pipe/llvm/instructions.cpp
src/mesa/pipe/llvm/instructions.h
src/mesa/pipe/llvm/llvm_base_shader.cpp
src/mesa/pipe/llvm/llvm_builtins.c
src/mesa/pipe/llvm/llvmtgsi.cpp
src/mesa/pipe/llvm/storage.cpp
src/mesa/pipe/llvm/storage.h