projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2426a6a
)
radeon: don't take the stencil-specific codepath for buffers without stencil
author
Marek Olšák
<maraeo@gmail.com>
Sat, 29 Sep 2012 13:10:33 +0000
(15:10 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 3 Oct 2012 15:52:44 +0000
(17:52 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
radeon/radeon_surface.c
patch
|
blob
|
history
diff --git
a/radeon/radeon_surface.c
b/radeon/radeon_surface.c
index
80b1505
..
03b1c5d
100644
(file)
--- a/
radeon/radeon_surface.c
+++ b/
radeon/radeon_surface.c
@@
-911,7
+911,7
@@
static int eg_surface_best(struct radeon_surface_manager *surf_man,
* fmask buffer has different optimal value figure them out once we
* use it.
*/
- if (surf->flags &
(RADEON_SURF_ZBUFFER | RADEON_SURF_SBUFFER)
) {
+ if (surf->flags &
RADEON_SURF_SBUFFER
) {
/* assume 1 bytes for stencil, we optimize for stencil as stencil
* and depth shares surface values
*/