iris: Drop u_upload_unmap

We use persistent maps so this does nothing.
This commit is contained in:
Kenneth Graunke 2019-06-27 11:15:10 -07:00
parent 836225840c
commit 50eb1c1396

View 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);