projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f70956
)
iris: fix UBOs with bindings that have an offset
author
Kenneth Graunke
<kenneth@whitecape.org>
Sun, 21 Oct 2018 22:14:02 +0000
(15:14 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index d24a6220cf7ac65c90723016cc9012cbc1f2a5d9..be270073b3d7a5c0aca6e48099671cf915dcc339 100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-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?