projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b0807
)
gallium/util: specify binding type for blit src texture
author
Brian Paul
<brianp@vmware.com>
Mon, 19 Apr 2010 16:32:23 +0000
(10:32 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 19 Apr 2010 16:32:25 +0000
(10:32 -0600)
Fixes fd.o bug 27711.
src/gallium/auxiliary/util/u_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blit.c
b/src/gallium/auxiliary/util/u_blit.c
index 7850f81e585529267e374f9f51f49c9d68f47034..e45310b9bb773f3b4f78d9fae3d600f8ff226bb1 100644
(file)
--- 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)