From 0c7865bacea12deb7a0c0b1ddf23d69fab591880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 25 Oct 2011 01:17:39 +0200 Subject: [PATCH] r300g: put all buffer resources into GTT --- src/gallium/drivers/r300/r300_screen_buffer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c index 5424f26..e2445f8 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.c +++ b/src/gallium/drivers/r300/r300_screen_buffer.c @@ -199,7 +199,7 @@ struct pipe_resource *r300_buffer_create(struct pipe_screen *screen, rbuf->buf = r300screen->rws->buffer_create(r300screen->rws, rbuf->b.b.b.width0, alignment, - rbuf->b.b.b.bind, rbuf->b.b.b.usage); + rbuf->b.b.b.bind, PIPE_USAGE_STAGING); if (!rbuf->buf) { util_slab_free(&r300screen->pool_buffers, rbuf); return NULL; -- 1.7.4.1