From 62f44f670bb0162e89fd4786af877f8da9ff607c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 5 Mar 2012 13:45:00 +0100 Subject: Revert "gallium: add flag PIPE_TRANSFER_MAP_PERMANENTLY" This reverts commit 0950086376b1c8b7fb89eda81ed7f2f06dee58bc. It was decided to refactor the transfer API instead of adding workarounds to address the performance issues. --- src/gallium/drivers/nvc0/nvc0_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/nvc0') diff --git a/src/gallium/drivers/nvc0/nvc0_transfer.c b/src/gallium/drivers/nvc0/nvc0_transfer.c index c04f41f6ea3..f16863733b7 100644 --- a/src/gallium/drivers/nvc0/nvc0_transfer.c +++ b/src/gallium/drivers/nvc0/nvc0_transfer.c @@ -243,7 +243,7 @@ nvc0_miptree_transfer_new(struct pipe_context *pctx, uint32_t size; int ret; - if (usage & (PIPE_TRANSFER_MAP_DIRECTLY | PIPE_TRANSFER_MAP_PERMANENTLY)) + if (usage & PIPE_TRANSFER_MAP_DIRECTLY) return NULL; tx = CALLOC_STRUCT(nvc0_transfer); -- cgit v1.2.3