summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-19 10:32:23 -0600
committerBrian Paul <brianp@vmware.com>2010-04-19 10:32:25 -0600
commit653c681ce864c40ea1876674920d3fba48a3c225 (patch)
treea404fb94d7637f0ffa5d122d01a9c8055d65170b
parent96b0807253a491442e336844f997fdc4e1761303 (diff)
gallium/util: specify binding type for blit src texture
Fixes fd.o bug 27711.
-rw-r--r--src/gallium/auxiliary/util/u_blit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index 7850f81e58..e45310b9bb 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -374,6 +374,7 @@ util_blit_pixels_writemask(struct blit_state *ctx,
texTemp.width0 = srcW;
texTemp.height0 = srcH;
texTemp.depth0 = 1;
+ texTemp.bind = PIPE_BIND_SAMPLER_VIEW;
tex = screen->resource_create(screen, &texTemp);
if (!tex)