diff options
author | Christoph Bumiller <[email protected]> | 2013-04-06 14:15:54 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-04-12 11:41:35 +0200 |
commit | 2b62ba7cb0e69cae721545e8775193f87955dec8 (patch) | |
tree | c0cdd23917bd5b69d4785548086c219cf1ec50ce /src/gallium/drivers/nvc0 | |
parent | 69804c2ab89d2b3633f90ee9d7a4688a33e1800b (diff) |
nvc0: fix 2D engine MS2 resolve
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_surface.c b/src/gallium/drivers/nvc0/nvc0_surface.c index 3abf717a6ee..4e8bb36e18f 100644 --- a/src/gallium/drivers/nvc0/nvc0_surface.c +++ b/src/gallium/drivers/nvc0/nvc0_surface.c @@ -1038,8 +1038,8 @@ nvc0_blit_eng2d(struct nvc0_context *nvc0, const struct pipe_blit_info *info) if (src->base.base.nr_samples > dst->base.base.nr_samples) { /* center src coorinates for proper MS resolve filtering */ - srcx += (int64_t)src->ms_x << 32; - srcy += (int64_t)src->ms_y << 32; + srcx += (int64_t)(src->ms_x + 0) << 32; + srcy += (int64_t)(src->ms_y + 1) << 31; } dstx = info->dst.box.x << dst->ms_x; |