aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_threaded_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_threaded_context.c')
-rw-r--r--src/gallium/auxiliary/util/u_threaded_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c
index b596c322918..bd2c8f57a10 100644
--- a/src/gallium/auxiliary/util/u_threaded_context.c
+++ b/src/gallium/auxiliary/util/u_threaded_context.c
@@ -676,6 +676,7 @@ tc_set_constant_buffer(struct pipe_context *_pipe,
if (cb && cb->user_buffer) {
u_upload_data(tc->base.const_uploader, 0, cb->buffer_size, 64,
cb->user_buffer, &offset, &buffer);
+ u_upload_unmap(tc->base.const_uploader);
}
struct tc_constant_buffer *p =