diff options
author | José Fonseca <[email protected]> | 2010-09-29 12:05:19 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-09-29 14:16:35 +0100 |
commit | fdcc168a16d59bf2b7fd291383f214834c2546f6 (patch) | |
tree | 7d2a291fada15ea0174d0524ceb2f0622f94a4c7 /src/gallium/drivers/llvmpipe/lp_setup.h | |
parent | 4b70fe8421f5132c585ff1dfb8d90229be26e71f (diff) |
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).
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.h b/src/gallium/drivers/llvmpipe/lp_setup.h index 868bd3ad2f1..25dab78f64f 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.h +++ b/src/gallium/drivers/llvmpipe/lp_setup.h @@ -143,7 +143,11 @@ lp_setup_set_scissor( struct lp_setup_context *setup, void lp_setup_set_fragment_sampler_views(struct lp_setup_context *setup, unsigned num, - struct pipe_sampler_view **views, + struct pipe_sampler_view **views); + +void +lp_setup_set_fragment_sampler_state(struct lp_setup_context *setup, + unsigned num, const struct pipe_sampler_state **samplers); unsigned |