draw: Ensure that prepare is always run after LLVM garbagge collection.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 27 Jan 2012 14:40:06 +0000 (14:40 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 27 Jan 2012 18:24:14 +0000 (18:24 +0000)
commit07635a4799b15a7575e1feb8859ecc7734850deb
tree59e24f7acce09b49c15f566683311074d7af1f79
parentb728eefb06c26e4b5a25db31bbda9fcf4d015e17
draw: Ensure that prepare is always run after LLVM garbagge collection.

Should avoid dangling pointer derreference with

  glean --run results --overwrite --quick --tests texSwizzle

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c