Commit 50eb1c13 authored by Kenneth Graunke's avatar Kenneth Graunke

iris: Drop u_upload_unmap

We use persistent maps so this does nothing.
parent 83622584
...@@ -2535,8 +2535,6 @@ iris_set_constant_buffer(struct pipe_context *ctx, ...@@ -2535,8 +2535,6 @@ iris_set_constant_buffer(struct pipe_context *ctx,
assert(map); assert(map);
memcpy(map, input->user_buffer, input->buffer_size); memcpy(map, input->user_buffer, input->buffer_size);
u_upload_unmap(ice->ctx.const_uploader);
} else if (input->buffer) { } else if (input->buffer) {
pipe_resource_reference(&cbuf->buffer, input->buffer); pipe_resource_reference(&cbuf->buffer, input->buffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment