diff options
author | Marek Olšák <maraeo@gmail.com> | 2012-08-20 17:15:15 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2012-08-24 16:51:14 +0200 |
commit | 853429b939c792c4bc0bc91fdef696e3251b88d9 (patch) | |
tree | 7b65a3504cba273b7cd2ed32395a1ba5108cbc8c /radeon | |
parent | 58545722d0ee52f112859322466d9366915575b5 (diff) |
radeon: align r600 msaa buffers to a multiple of macrotile size * num samples
I am not sure whether this is needed, but better be safe than sorry.
Diffstat (limited to 'radeon')
-rw-r--r-- | radeon/radeon_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c index 98f4aaf5..4118a37f 100644 --- a/radeon/radeon_surface.c +++ b/radeon/radeon_surface.c @@ -356,7 +356,7 @@ static int r6_surface_init_2d(struct radeon_surface_manager *surf_man, surf->bo_alignment = MAX2(surf_man->hw_info.num_pipes * surf_man->hw_info.num_banks * - surf->bpe * 64, + surf->nsamples * surf->bpe * 64, xalign * yalign * surf->nsamples * surf->bpe); } |