From 930bba24e556d94c676b6828340431a15a9edffb Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Mon, 12 Apr 2010 04:55:05 +0200 Subject: [PATCH] nvfx: make NOUVEAU_NO_TRANSFER default off Otherwise, we read from VRAM... Yes, again, it should be fixed to tell whether the buffer is in VRAM or not and behave appropriately. But this should be in pipebuffer/a generic layer; revisit this later too. --- src/gallium/drivers/nvfx/nvfx_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nvfx/nvfx_transfer.c b/src/gallium/drivers/nvfx/nvfx_transfer.c index 59ab14826c3..320f9a80f09 100644 --- a/src/gallium/drivers/nvfx/nvfx_transfer.c +++ b/src/gallium/drivers/nvfx/nvfx_transfer.c @@ -63,7 +63,7 @@ nvfx_miptree_transfer_new(struct pipe_context *pipe, static int no_transfer = -1; unsigned bind = nvfx_transfer_bind_flags(usage); if(no_transfer < 0) - no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", TRUE/*XXX:FALSE*/); + no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", FALSE); tx = CALLOC_STRUCT(nvfx_transfer); -- 2.11.0