projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5854572
)
radeon: align r600 msaa buffers to a multiple of macrotile size * num samples
author
Marek Olšák
<maraeo@gmail.com>
Mon, 20 Aug 2012 15:15:15 +0000
(17:15 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 24 Aug 2012 14:51:14 +0000
(16:51 +0200)
I am not sure whether this is needed, but better be safe than sorry.
radeon/radeon_surface.c
patch
|
blob
|
history
diff --git
a/radeon/radeon_surface.c
b/radeon/radeon_surface.c
index
98f4aaf
..
4118a37
100644
(file)
--- 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);
}