projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fb7704
)
iris: fix VF INSTANCING length
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 9 May 2018 07:35:14 +0000
(
00:35
-0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:06 +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 722540f769452f2b2f04df6bf521e7e61fca4362..155ee917b7c992e2fa0004507e1d775205347bfb 100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-2474,7
+2474,7
@@
iris_upload_render_state(struct iris_context *ice,
(1 + cso->count * GENX(VERTEX_ELEMENT_STATE_length)));
for (int i = 0; i < cso->count; i++) {
iris_batch_emit(batch, cso->vf_instancing[i], sizeof(uint32_t) *
-
(cso->count * GENX(3DSTATE_VF_INSTANCING_length)
));
+
GENX(3DSTATE_VF_INSTANCING_length
));
}
for (int i = 0; i < cso->count; i++) {
/* TODO: vertexid, instanceid support */