diff options
author | Brian Paul <[email protected]> | 2010-09-29 10:34:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-29 10:34:43 -0600 |
commit | 0cb545a7f2e823c85309013c4c41e9461f297d06 (patch) | |
tree | 142c37797a7a1384033941bd12e4488b05f86faa /src/gallium/auxiliary/draw/draw_context.c | |
parent | 698893889a1c6e2a75af68ee6e860bce05aa8127 (diff) |
draw: pass sampler state down to llvm jit state
Fixes a regression caused from the change to make min/max lod dynamic
state.
https://bugs.freedesktop.org/show_bug.cgi?id=30437
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index b07de76a498..032fcbbc70a 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -709,6 +709,11 @@ draw_set_samplers(struct draw_context *draw, draw->samplers[i] = NULL; draw->num_samplers = num; + +#ifdef HAVE_LLVM + if (draw->llvm) + draw_llvm_set_sampler_state(draw); +#endif } void |