diff options
Diffstat (limited to 'src/gallium/drivers/swr/swr_query.h')
-rw-r--r-- | src/gallium/drivers/swr/swr_query.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gallium/drivers/swr/swr_query.h b/src/gallium/drivers/swr/swr_query.h index 931d687b005..c5160ceb453 100644 --- a/src/gallium/drivers/swr/swr_query.h +++ b/src/gallium/drivers/swr/swr_query.h @@ -30,20 +30,16 @@ struct swr_query_result { SWR_STATS core; SWR_STATS_FE coreFE; - uint64_t timestamp; + uint64_t timestamp_start; + uint64_t timestamp_end; }; struct swr_query { unsigned type; /* PIPE_QUERY_* */ unsigned index; - struct swr_query_result *result; - struct swr_query_result start; - struct swr_query_result end; - + struct swr_query_result result; struct pipe_fence_handle *fence; - - boolean enable_stats; }; extern void swr_query_init(struct pipe_context *pipe); |