mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
iris: 3DPRIMITIVE fields
This commit is contained in:
parent
b3646e2b48
commit
2f100c6e31
1 changed files with 2 additions and 0 deletions
|
|
@ -1585,6 +1585,8 @@ iris_upload_render_state(struct iris_context *ice,
|
|||
iris_emit_cmd(batch, GENX(3DPRIMITIVE), prim) {
|
||||
prim.StartInstanceLocation = draw->start_instance;
|
||||
prim.InstanceCount = draw->instance_count;
|
||||
prim.VertexCountPerInstance = draw->count;
|
||||
prim.VertexAccessType = draw->index_size > 0 ? RANDOM : SEQUENTIAL;
|
||||
|
||||
// XXX: this is probably bonkers.
|
||||
prim.StartVertexLocation = draw->start;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue