summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_transfer.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-04-12 11:45:50 +0200
committerLuca Barbieri <[email protected]>2010-04-12 11:49:09 +0200
commita57dcef636d2a9d0fa77a7ff485bd1ed9018b64c (patch)
tree45b41f42a9712a31be12e25d7698245a20b01e08 /src/gallium/drivers/nvfx/nvfx_transfer.c
parentd5af1dce8fc23dc3763773e3c0b7e0be128d2aa0 (diff)
nvfx: fix bind flags
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_transfer.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_transfer.c b/src/gallium/drivers/nvfx/nvfx_transfer.c
index 320f9a80f09..a776ab58311 100644
--- a/src/gallium/drivers/nvfx/nvfx_transfer.c
+++ b/src/gallium/drivers/nvfx/nvfx_transfer.c
@@ -41,10 +41,10 @@ static unsigned nvfx_transfer_bind_flags( unsigned transfer_usage )
unsigned bind = 0;
if (transfer_usage & PIPE_TRANSFER_WRITE)
- bind |= PIPE_BIND_BLIT_DESTINATION;
+ bind |= PIPE_BIND_BLIT_SOURCE;
if (transfer_usage & PIPE_TRANSFER_READ)
- bind |= PIPE_BIND_BLIT_SOURCE;
+ bind |= PIPE_BIND_BLIT_DESTINATION;
return bind;
}