Module: Mesa Branch: master Commit: dc8a2c139dd408a5b6e4365ea885ddda2f893770 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc8a2c139dd408a5b6e4365ea885ddda2f893770
Author: Marek Olšák <[email protected]> Date: Wed Jan 30 20:49:22 2019 -0500 gallium/u_threaded: always unmap const_uploader radeonsi will require this. It's a no-op for drivers supporting persistent mappings. Reviewed-by: Nicolai Hähnle <[email protected]> Tested-by: Dieter Nützel <[email protected]> --- src/gallium/auxiliary/util/u_threaded_context.c | 1 + 1 file changed, 1 insertion(+) 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 = _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
