projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c73d7e
)
iris: fix msaa flipping filters
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 24 Jul 2018 21:52:50 +0000
(14:52 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_blit.c
b/src/gallium/drivers/iris/iris_blit.c
index c47e964df748bf6330c4f554986bbb516fd80bdd..b287876e0a42b1733bb357bbc9c88b78eb6a545f 100644
(file)
--- a/
src/gallium/drivers/iris/iris_blit.c
+++ b/
src/gallium/drivers/iris/iris_blit.c
@@
-98,8
+98,8
@@
iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
bool mirror_y = false;
enum blorp_filter filter;
- if (
info->dst.box.width == info->src.box.width
&&
-
info->dst.box.height == info->src.box.height
) {
+ if (
abs(info->dst.box.width) == abs(info->src.box.width)
&&
+
abs(info->dst.box.height) == abs(info->src.box.height)
) {
if (src_surf.surf->samples > 1 && dst_surf.surf->samples <= 1) {
/* The OpenGL ES 3.2 specification, section 16.2.1, says:
*