llvmpipe: Copy the texture target into the sampler static state.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 10 Sep 2009 08:19:51 +0000 (09:19 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 10 Sep 2009 08:19:51 +0000 (09:19 +0100)
Hunk forgotten in previous commit.

src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c

index bcc9e41c50fed3e5d95d461e02ef0030904fd97c..6ebf107cc2bfdbd7cb0cf7667dd504c840dc985a 100644 (file)
@@ -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]);