diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-06 16:43:28 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-09 11:53:21 -0700 |
commit | 5ff797356010933a92b0b2651db72eac9866704c (patch) | |
tree | 143cbc0e0d28954b7e32618b72291886805e3b86 /src/gallium/drivers/panfrost/pan_context.h | |
parent | c82672c9c146f215314a40afb696164bad080746 (diff) |
panfrost: Import streamout data structures
Pretty much copypasted from v3d to jumpstart us.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h index 9a34e243b74..4e32a691200 100644 --- a/src/gallium/drivers/panfrost/pan_context.h +++ b/src/gallium/drivers/panfrost/pan_context.h @@ -88,6 +88,12 @@ struct panfrost_fence { int fd; }; +struct panfrost_streamout { + struct pipe_stream_output_target *targets[PIPE_MAX_SO_BUFFERS]; + uint32_t offsets[PIPE_MAX_SO_BUFFERS]; + unsigned num_targets; +}; + struct panfrost_context { /* Gallium context */ struct pipe_context base; @@ -106,6 +112,7 @@ struct panfrost_context { unsigned draw_modes; struct pipe_framebuffer_state pipe_framebuffer; + struct panfrost_streamout streamout; struct panfrost_memory cmdstream_persistent; struct panfrost_memory scratchpad; |