iris: Drop u_upload_unmap
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Jun 2019 18:15:10 +0000 (11:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Jun 2019 21:59:39 +0000 (14:59 -0700)
We use persistent maps so this does nothing.

src/gallium/drivers/iris/iris_state.c

index c65421e..d717b48 100644 (file)
@@ -2535,8 +2535,6 @@ iris_set_constant_buffer(struct pipe_context *ctx,
 
          assert(map);
          memcpy(map, input->user_buffer, input->buffer_size);
-         u_upload_unmap(ice->ctx.const_uploader);
-
       } else if (input->buffer) {
          pipe_resource_reference(&cbuf->buffer, input->buffer);