[Mesa-dev] [PATCH 1/2] radeonsi: add 2d tiling support for texture v3

Michel Dänzer michel at daenzer.net
Tue Apr 9 00:21:43 PDT 2013


On Mon, 2013-04-08 at 13:46 -0400, j.glisse at gmail.com wrote: 
> From: Jerome Glisse <jglisse at redhat.com>
> 
> v2: Remove left over code
> v3: Restage properly the commit so hunk of first one are not in
>     second one.
> 
> Signed-off-by: Jerome Glisse <jglisse at redhat.com>
> ---
>  src/gallium/drivers/radeonsi/r600_texture.c | 11 ++--
>  src/gallium/drivers/radeonsi/si_state.c     | 81 +++++------------------------
>  2 files changed, 20 insertions(+), 72 deletions(-)
> 
> diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c
> index 1b8382f..8992f9a 100644
> --- a/src/gallium/drivers/radeonsi/r600_texture.c
> +++ b/src/gallium/drivers/radeonsi/r600_texture.c
> @@ -47,7 +47,6 @@ static void r600_copy_to_staging_texture(struct pipe_context *ctx, struct r600_t
>                                 &transfer->box);
>  }
>  
> -
>  /* Copy from a transfer's staging texture to a full GPU one. */
>  static void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer)
>  {
> @@ -152,12 +151,12 @@ static int r600_init_surface(struct r600_screen *rscreen,
>  
>         if (!is_flushed_depth && is_depth) {
>                 surface->flags |= RADEON_SURF_ZBUFFER;
> -
>                 if (is_stencil) {
>                         surface->flags |= RADEON_SURF_SBUFFER |
>                                 RADEON_SURF_HAS_SBUFFER_MIPTREE;

These whitespace-only changes make me cringe. :) Either way though, the
series is

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com> 

-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list