llvmpipe: make min/max lod and lod bias dynamic state
authorBrian Paul <brianp@vmware.com>
Fri, 24 Sep 2010 00:18:40 +0000 (18:18 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Sep 2010 15:47:37 +0000 (09:47 -0600)
commit61b7da074e2faebf03d3dfc30e910ee1367bcd5a
tree0151a5a1782d89392199435c1d49c3a870d4a7a7
parent7967b46e652eeef5e3bb1101e53b4c15683ecd12
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.
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample.h
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/drivers/llvmpipe/lp_jit.c
src/gallium/drivers/llvmpipe/lp_jit.h
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup.h
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_tex_sample.c