llvmpipe: Decouple sampler view and sampler state updates.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 29 Sep 2010 11:05:19 +0000 (12:05 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 29 Sep 2010 13:16:35 +0000 (14:16 +0100)
commitfdcc168a16d59bf2b7fd291383f214834c2546f6
tree7d2a291fada15ea0174d0524ceb2f0622f94a4c7
parent4b70fe8421f5132c585ff1dfb8d90229be26e71f
llvmpipe: Decouple sampler view and sampler state updates.

Fixes glean pbo crash.

It would be possible to avoid crashing without decoupling, but given
that state trackers give no guarantee that number of views is consistent,
that would likely cause too many state updates (or miss some).
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup.h
src/gallium/drivers/llvmpipe/lp_state_derived.c