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 c65421ed13245c880708f359b76426a770a1cac7..d717b48cf2b479c22cc646433e8b18029d954009 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);