diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-08 08:16:09 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-13 09:43:39 -0700 |
commit | 7c29588c07500aabbd6cc494ee220ebd2abdff74 (patch) | |
tree | f0a678af77db89968e91f217cc032d4c64719139 /src/gallium/drivers/panfrost/pan_context.h | |
parent | e7a05a601eb065b666d07753fa6eca865d3bd160 (diff) |
panfrost: Increment offsets[] per draw
We have to maintain the internal offset ourselves. Per v3d.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h index ba27ced9074..e4dfe21bfd3 100644 --- a/src/gallium/drivers/panfrost/pan_context.h +++ b/src/gallium/drivers/panfrost/pan_context.h @@ -150,6 +150,7 @@ struct panfrost_context { unsigned vertex_count; unsigned instance_count; + enum pipe_prim_type active_prim; /* If instancing is enabled, vertex count padded for instance; if * it is disabled, just equal to plain vertex count */ |