On Sam, 2014-02-01 at 15:08 +0100, Marek Olšák wrote:
> From: Marek Olšák <marek.ol...@amd.com>
> 
> ---
>  src/gallium/drivers/radeon/r600_texture.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/radeon/r600_texture.c 
> b/src/gallium/drivers/radeon/r600_texture.c
> index f80a6a2..434a651 100644
> --- a/src/gallium/drivers/radeon/r600_texture.c
> +++ b/src/gallium/drivers/radeon/r600_texture.c
> @@ -668,7 +668,7 @@ r600_texture_create_object(struct pipe_screen *screen,
>       } else {
>               resource->buf = buf;
>               resource->cs_buf = rscreen->ws->buffer_get_cs_handle(buf);
> -             resource->domains = RADEON_DOMAIN_GTT | RADEON_DOMAIN_VRAM;
> +             resource->domains = RADEON_DOMAIN_VRAM;

This will force all textures read by a compositor using OpenGL to VRAM
as well. I think we need to manage the domains separately for reads and
writes.


The other patches in the series look good to me.


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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to