summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-09-10 09:19:51 +0100
committerJosé Fonseca <[email protected]>2009-09-10 09:19:51 +0100
commitbd3b59da632d85a062accab267e18b66274b857a (patch)
tree0ff0f0962d2655cd12eeabdcc2103198ebf686ae
parent4139bc8f4375c1f8961b281b6303bccaab24367a (diff)
llvmpipe: Copy the texture target into the sampler static state.
Hunk forgotten in previous commit.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c1
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 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]);