From: José Fonseca Date: Thu, 10 Sep 2009 08:19:51 +0000 (+0100) Subject: llvmpipe: Copy the texture target into the sampler static state. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd3b59da632d85a062accab267e18b66274b857a;p=mesa.git llvmpipe: Copy the texture target into the sampler static state. Hunk forgotten in previous commit. --- diff --git a/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c b/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c index bcc9e41c50f..6ebf107cc2b 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]);