diff options
author | Marek Olšák <[email protected]> | 2012-03-05 13:45:00 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-03-05 13:47:49 +0100 |
commit | 62f44f670bb0162e89fd4786af877f8da9ff607c (patch) | |
tree | 4c6e6a1743a19d17f5667c1a3a290802c2637298 /src/gallium/drivers/svga/svga_resource_texture.c | |
parent | 058fc6521e3bc483bc948cc90dc5ee3b08d6ec64 (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_texture.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index c5b830660f5..9830e79d106 100644 --- a/src/gallium/drivers/svga/svga_resource_texture.c +++ b/src/gallium/drivers/svga/svga_resource_texture.c @@ -251,7 +251,7 @@ svga_texture_get_transfer(struct pipe_context *pipe, unsigned nblocksy = util_format_get_nblocksy(texture->format, box->height); /* We can't map texture storage directly */ - if (usage & (PIPE_TRANSFER_MAP_DIRECTLY | PIPE_TRANSFER_MAP_PERMANENTLY)) + if (usage & PIPE_TRANSFER_MAP_DIRECTLY) return NULL; assert(box->depth == 1); |