summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_surface.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-11-08 13:02:47 +0100
committerAxel Davy <[email protected]>2015-08-21 22:21:45 +0200
commitab0643225e2718884eea874b67b55eb4aa936e53 (patch)
treef6cb11591e8630059e90e7c06cbb5af3180e9232 /src/gallium/auxiliary/util/u_surface.c
parent23da32a9234065e0a16e91ef2f54f1e1d9bf52e5 (diff)
util/u_blitter: implement alpha blending for pipe->blit
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.c')
-rw-r--r--src/gallium/auxiliary/util/u_surface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surface.c
index 654b5bbc552..70ed911b7f1 100644
--- a/src/gallium/auxiliary/util/u_surface.c
+++ b/src/gallium/auxiliary/util/u_surface.c
@@ -676,6 +676,9 @@ util_try_blit_via_copy_region(struct pipe_context *ctx,
return FALSE;
}
+ if (blit->alpha_blend)
+ return FALSE;
+
ctx->resource_copy_region(ctx, blit->dst.resource, blit->dst.level,
blit->dst.box.x, blit->dst.box.y, blit->dst.box.z,
blit->src.resource, blit->src.level,