[Mesa-dev] [PATCH 1/6] radeonsi: Fix z/stencil texture creation.

Marek Olšák maraeo at gmail.com
Thu Nov 22 10:14:24 PST 2012


On Thu, Nov 22, 2012 at 6:57 PM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Jerome Glisse <jglisse at redhat.com>
>
> Signed-off-by: Jerome Glisse <jglisse at redhat.com>
>
> [ Cherry-picked from r600g commit b4f0ab0b22625ac1bb3cf16342039557c086ebae ]
> ---
>  src/gallium/drivers/radeonsi/r600_texture.c |   14 +++++---------
>  1 file changed, 5 insertions(+), 9 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c
> index 8fae792..183827b 100644
> --- a/src/gallium/drivers/radeonsi/r600_texture.c
> +++ b/src/gallium/drivers/radeonsi/r600_texture.c
> @@ -75,7 +75,7 @@ static unsigned r600_texture_get_offset(struct r600_resource_texture *rtex,
>
>  static int r600_init_surface(struct radeon_surface *surface,
>                              const struct pipe_resource *ptex,
> -                            unsigned array_mode)
> +                            unsigned array_mode, bool is_transfer)

In r600g, the flag is now called is_flushed_depth, which reflects more
closely how the texture will be used.

Marek


More information about the mesa-dev mailing list