projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff2e08
)
vc4: Don't try to use color load/stores to blit across format changes.
author
Eric Anholt
<eric@anholt.net>
Wed, 15 Apr 2015 05:01:55 +0000
(22:01 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 15 Apr 2015 23:50:23 +0000
(16:50 -0700)
We could potentially support the right combination of 8888 to 565, but the
important thing for now is to not mix up our orderings of 8888. Fixes
fbo-copyteximage regressions.
src/gallium/drivers/vc4/vc4_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_blit.c
b/src/gallium/drivers/vc4/vc4_blit.c
index 3204c3df0606f1a07b17536940e9ad0dd58703f0..2d524c40b4d06df0be3e54c48e1c6ba7b11a3683 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_blit.c
+++ b/
src/gallium/drivers/vc4/vc4_blit.c
@@
-138,6
+138,9
@@
vc4_tile_blit(struct pipe_context *pctx, const struct pipe_blit_info *info)
return false;
}
+ if (info->dst.resource->format != info->src.resource->format)
+ return false;
+
struct vc4_surface *dst_surf =
vc4_get_blit_surface(pctx, info->dst.resource, info->dst.level);
struct vc4_surface *src_surf =