summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-19 10:32:23 -0600
committerBrian Paul <[email protected]>2010-04-19 10:32:25 -0600
commit653c681ce864c40ea1876674920d3fba48a3c225 (patch)
treea404fb94d7637f0ffa5d122d01a9c8055d65170b /src
parent96b0807253a491442e336844f997fdc4e1761303 (diff)
gallium/util: specify binding type for blit src texture
Fixes fd.o bug 27711.
Diffstat (limited to 'src')
-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 7850f81e585..e45310b9bb7 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)