From 50eb1c1396f3424d5a1d30421d91876f0ca404bd Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 27 Jun 2019 11:15:10 -0700 Subject: [PATCH] iris: Drop u_upload_unmap We use persistent maps so this does nothing. --- src/gallium/drivers/iris/iris_state.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.30.2