Module: Mesa
Branch: master
Commit: bd3b59da632d85a062accab267e18b66274b857a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd3b59da632d85a062accab267e18b66274b857a

Author: José Fonseca <[email protected]>
Date:   Thu Sep 10 09:19:51 2009 +0100

llvmpipe: Copy the texture target into the sampler static state.

Hunk forgotten in previous commit.

---

 src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c 
b/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c
index bcc9e41..6ebf107 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c
@@ -61,6 +61,7 @@ lp_sampler_static_state(struct lp_sampler_static_state *state,
       return;
 
    state->format            = texture->format;
+   state->target            = texture->target;
    state->pot_width         = util_is_pot(texture->width[0]);
    state->pot_height        = util_is_pot(texture->height[0]);
    state->pot_depth         = util_is_pot(texture->depth[0]);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to