diff options
author | Christoph Bumiller <[email protected]> | 2012-05-03 12:50:08 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-05-04 18:00:07 +0200 |
commit | 02fac2930581b9bea9f6d221eb6d6b471fc3b9c6 (patch) | |
tree | 1dd1e4074616f0af628c00469d7aa60aacdb8c76 /src/gallium/drivers/nv50/nv50_stateobj.h | |
parent | 8a44ecdae8bde4767a6eea9b641d4fbe378a9269 (diff) |
nv50: implement stream output
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_stateobj.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_stateobj.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_stateobj.h b/src/gallium/drivers/nv50/nv50_stateobj.h index 188406da600..8a9260c937e 100644 --- a/src/gallium/drivers/nv50/nv50_stateobj.h +++ b/src/gallium/drivers/nv50/nv50_stateobj.h @@ -51,4 +51,17 @@ struct nv50_vertex_stateobj { struct nv50_vertex_element element[0]; }; +struct nv50_so_target { + struct pipe_stream_output_target pipe; + struct pipe_query *pq; + unsigned stride; + boolean clean; +}; + +static INLINE struct nv50_so_target * +nv50_so_target(struct pipe_stream_output_target *ptarg) +{ + return (struct nv50_so_target *)ptarg; +} + #endif |