diff options
author | Samuel Pitoiset <[email protected]> | 2015-10-28 11:20:36 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2015-10-29 23:01:29 +0100 |
commit | 0260620ab35615838a76bf218788adc957212934 (patch) | |
tree | 5aa339fa79888a0fa8c703e4d0e07da13ed45672 /src/gallium/drivers/nouveau/nvc0/nvc0_query.h | |
parent | 6166a8e369b86395ffec7229257f797662f9d1aa (diff) |
nvc0: expose a group of performance metrics on Fermi
This allows to monitor those performance metrics through
GL_AMD_performance_monitor.
Signed-off-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_query.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_query.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query.h b/src/gallium/drivers/nouveau/nvc0/nvc0_query.h index 6883ab6ab9d..c46361c31aa 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_query.h +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_query.h @@ -32,7 +32,8 @@ nvc0_query(struct pipe_query *pipe) * Driver queries groups: */ #define NVC0_HW_SM_QUERY_GROUP 0 -#define NVC0_SW_QUERY_DRV_STAT_GROUP 1 +#define NVC0_HW_METRIC_QUERY_GROUP 1 +#define NVC0_SW_QUERY_DRV_STAT_GROUP 2 void nvc0_init_query_functions(struct nvc0_context *); |