From 653c681ce864c40ea1876674920d3fba48a3c225 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 19 Apr 2010 10:32:23 -0600 Subject: gallium/util: specify binding type for blit src texture Fixes fd.o bug 27711. --- src/gallium/auxiliary/util/u_blit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/auxiliary/util') 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) -- cgit v1.2.3