mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
iris: fix UBOs with bindings that have an offset
This commit is contained in:
parent
3f70956a4e
commit
d98967d936
1 changed files with 1 additions and 0 deletions
|
|
@ -2074,6 +2074,7 @@ iris_set_constant_buffer(struct pipe_context *ctx,
|
|||
&cbuf->data.res);
|
||||
} else {
|
||||
pipe_resource_reference(&cbuf->data.res, input->buffer);
|
||||
cbuf->data.offset = input->buffer_offset;
|
||||
}
|
||||
|
||||
// XXX: these are not retained forever, use a separate uploader?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue