From: Brian Paul Date: Mon, 19 Apr 2010 16:32:23 +0000 (-0600) Subject: gallium/util: specify binding type for blit src texture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=653c681ce864c40ea1876674920d3fba48a3c225;p=mesa.git gallium/util: specify binding type for blit src texture Fixes fd.o bug 27711. --- 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)