iris: primitives generated query support

This commit is contained in:
Kenneth Graunke
2018-09-28 12:07:54 +02:00
parent ffae6e3105
commit d8875fe406
3 changed files with 39 additions and 18 deletions

View File

@@ -405,6 +405,10 @@ struct iris_context {
struct pipe_stream_output_target *so_target[PIPE_MAX_SO_BUFFERS];
bool streamout_active;
/** Is a PIPE_QUERY_PRIMITIVES_GENERATED query active? */
bool prims_generated_query_active;
/** 3DSTATE_STREAMOUT and 3DSTATE_SO_DECL_LIST packets */
uint32_t *streamout;