radeon: don't take the stencil-specific codepath for buffers without stencil
PATCH 1/1 radeon: don't take the stencil-specific codepath for buffers without stencil
--- radeon/radeon_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
radeon/radeon_surface.c +1 -1
@@ -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 */
Signature · 1 line
1.7.9.5
Reviewed-by Alex Deucher <[email protected]>
Quoted 20 lines · Marek Olšák
--- radeon/radeon_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)radeon/radeon_surface.c +1
-2@@ -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 */ --1.7.9.5
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel