gallium/util: specify binding type for blit src texture
Fixes fd.o bug 27711.
This commit is contained in:
parent
96b0807253
commit
653c681ce8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue