mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 21:00:16 +01:00
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 <nicolai.haehnle@amd.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
This commit is contained in:
parent
8ef6f68fa5
commit
dc8a2c139d
1 changed files with 1 additions and 0 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue