From: Kenneth Graunke Date: Thu, 27 Jun 2019 18:15:10 +0000 (-0700) Subject: iris: Drop u_upload_unmap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50eb1c1396f3424d5a1d30421d91876f0ca404bd;p=mesa.git iris: Drop u_upload_unmap We use persistent maps so this does nothing. --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index c65421ed132..d717b48cf2b 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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);