llvmpipe: fix build with LLVM 3.0svn
authorTobias Droste <tdroste@gmx.de>
Sat, 16 Jul 2011 17:40:47 +0000 (19:40 +0200)
committerBrian Paul <brianp@vmware.com>
Tue, 19 Jul 2011 14:23:28 +0000 (08:23 -0600)
commit3143e95353072523ff5d9c977a474a87fe3cbe57
tree621dadda40b675a163c0e44308534b9da9439c31
parentc2426bbf862850504f24e7d9765e64a75b873f3b
llvmpipe: fix build with LLVM 3.0svn

LLVM 3.0svn introduced a new type system. It defines a new way to create
named structs and removes the (now not needed) LLVMInvalidateStructLayout
function.  See revision 134829 of LLVM.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/drivers/llvmpipe/lp_jit.c