diff options
author | Brian Paul <[email protected]> | 2010-09-23 18:18:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-24 09:47:37 -0600 |
commit | 61b7da074e2faebf03d3dfc30e910ee1367bcd5a (patch) | |
tree | 0151a5a1782d89392199435c1d49c3a870d4a7a7 /src/gallium/drivers/llvmpipe/lp_setup.h | |
parent | 7967b46e652eeef5e3bb1101e53b4c15683ecd12 (diff) |
llvmpipe: make min/max lod and lod bias dynamic state
Before, changing any of these sampler values triggered generation
of new JIT code. Added a new flag for the special case of
min_lod == max_lod which is hit during auto mipmap generation.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.h b/src/gallium/drivers/llvmpipe/lp_setup.h index 81ff43f8adc..868bd3ad2f1 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.h +++ b/src/gallium/drivers/llvmpipe/lp_setup.h @@ -143,7 +143,8 @@ 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, + const struct pipe_sampler_state **samplers); unsigned lp_setup_is_resource_referenced( const struct lp_setup_context *setup, |