summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-11-10 15:00:11 +0100
committerMarek Olšák <[email protected]>2011-11-10 18:09:10 +0100
commitcb7c6c30d02ab46efc4ed711b2a632de50157347 (patch)
tree274505a0fbfb745db05656ace972f49765423205 /src/gallium/drivers/r600/r600.h
parent1d09831253b82374774daee772e90a83de17517a (diff)
r600g: properly reserve CS space for queries_suspend
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 715501d91d3..f41828b5ab3 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -178,6 +178,8 @@ struct r600_query {
* data blocks for current query are stored sequentially from
* results_start to results_end, with wrapping on the buffer end */
struct r600_resource *buffer;
+ /* The number of dwords for begin_query or end_query. */
+ unsigned num_cs_dw;
/* linked list of queries */
struct list_head list;
};
@@ -210,8 +212,8 @@ struct r600_context {
/* The list of active queries. Only one query of each type can be active. */
struct list_head active_query_list;
+ unsigned num_cs_dw_queries_suspend;
- unsigned num_query_running;
unsigned backend_mask;
unsigned max_db; /* for OQ */
unsigned num_dest_buffers;