projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69248f
)
radeonsi: make r600_buffer_transfer_unmap a no-op
author
Marek Olšák
<maraeo@gmail.com>
Thu, 26 Apr 2012 10:12:33 +0000
(12:12 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 29 Apr 2012 12:48:45 +0000
(14:48 +0200)
It's a no-op already in the winsys.
src/gallium/drivers/radeonsi/r600_buffer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/r600_buffer.c
b/src/gallium/drivers/radeonsi/r600_buffer.c
index df30ee5bb87d9ebdfa08d941dd18807602c7f7ca..912c4ebcdc9d7eaed91ddfdf6f78e238ca17a43d 100644
(file)
--- a/
src/gallium/drivers/radeonsi/r600_buffer.c
+++ b/
src/gallium/drivers/radeonsi/r600_buffer.c
@@
-89,13
+89,7
@@
static void *r600_buffer_transfer_map(struct pipe_context *pipe,
static void r600_buffer_transfer_unmap(struct pipe_context *pipe,
struct pipe_transfer *transfer)
{
- struct r600_resource *rbuffer = r600_resource(transfer->resource);
- struct r600_context *rctx = (struct r600_context*)pipe;
-
- if (rbuffer->b.b.user_ptr)
- return;
-
- rctx->ws->buffer_unmap(rbuffer->cs_buf);
+ /* no-op */
}
static void r600_buffer_transfer_flush_region(struct pipe_context *pipe,