llvmpipe: don't use user constant buffers
authorBrian Paul <brianp@vmware.com>
Mon, 10 Dec 2012 19:35:23 +0000 (12:35 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 11 Dec 2012 19:48:07 +0000 (12:48 -0700)
commit2ee0b442528c7d0d0207504e8d315dfb5666afcd
treeb164982f86ae0397f0be48ec6d015a5aad04a0a4
parent3427466e6dbbb8db7c1ecda6b3859ca1cc5827a3
llvmpipe: don't use user constant buffers

This fixes some use-after-free issues.  I haven't measured any real
performance difference with a handful of Mesa demos.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_screen.c