diff options
author | Marek Olšák <[email protected]> | 2013-08-31 00:13:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-09-13 01:04:44 +0200 |
commit | 9eb3b9dc2bd459af41a277ba8d4661a6d0b5726d (patch) | |
tree | f56aa292a8a60f4a77d778b6785902cbb31be622 /src/gallium/drivers/radeonsi/radeonsi_pipe.h | |
parent | 2b0a54d6ecbd31a41679d089c4e4abf8687f2fdc (diff) |
radeonsi: initialize the first CS like any other
So that the "init" state is always emitted first and not later in draw_vbo.
This fixes streamout where the "init" state, which disables streamout,
was emitted in draw_vbo after streamout was enabled.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h index ed17f2c6fbc..c5059e82dbd 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h @@ -180,6 +180,8 @@ struct r600_context { /* The list of active queries. Only one query of each type can be active. */ struct list_head active_nontimer_query_list; unsigned num_cs_dw_nontimer_queries_suspend; + /* If queries have been suspended. */ + bool nontimer_queries_suspended; unsigned backend_mask; unsigned max_db; /* for OQ */ |