iris: fix VF INSTANCING length
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user