diff options
author | Kenneth Graunke <[email protected]> | 2018-07-24 14:52:50 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | f0558ca22cae1d93ea08d293f2aaf055219d9868 (patch) | |
tree | 653041db9f5bd453fa9df5f651f8cb6de77ab281 /src/gallium/drivers/iris/iris_blit.c | |
parent | 2c73d7e3f11257cccf6357151a06caa6053d28bc (diff) |
iris: fix msaa flipping filters
Diffstat (limited to 'src/gallium/drivers/iris/iris_blit.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_blit.c b/src/gallium/drivers/iris/iris_blit.c index c47e964df74..b287876e0a4 100644 --- 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: * |