Revert "gallium: add flag PIPE_TRANSFER_MAP_PERMANENTLY"
[mesa.git] / src / gallium / drivers / nvfx / nvfx_transfer.c
index 605af8efa8ea4230609031e65a1b6d128cf8281f..7a218b18c6404a636be51181ef921b329d21faa3 100644 (file)
@@ -26,9 +26,6 @@ nvfx_transfer_new(struct pipe_context *pipe,
                  unsigned usage,
                  const struct pipe_box *box)
 {
-        if (usage & PIPE_TRANSFER_MAP_PERMANENTLY) {
-                return NULL;
-        }
         if((usage & (PIPE_TRANSFER_UNSYNCHRONIZED | PIPE_TRANSFER_DONTBLOCK)) == PIPE_TRANSFER_DONTBLOCK)
         {
                 struct nouveau_bo* bo = ((struct nvfx_resource*)pt)->bo;