summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_query.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-01-15 23:59:00 +0100
committerMarek Olšák <[email protected]>2017-01-16 15:35:30 +0100
commit0d9a4efce9c7503544fb828b225ea32a11bc799b (patch)
treeb7769b78d39f42bc08e425988a79ae9150c9cf40 /src/gallium/drivers/radeon/r600_query.h
parentaa0de724c7744d91e259ed6911ab8d1580d2f7da (diff)
gallium/radeon: add GPU-shaders-busy HUD query
It should be close to the GPU load, but it can be much lower if something is stalling shader execution (e.g. CP DMA). Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_query.h')
-rw-r--r--src/gallium/drivers/radeon/r600_query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_query.h b/src/gallium/drivers/radeon/r600_query.h
index 3791ec6096e..43bca2bab94 100644
--- a/src/gallium/drivers/radeon/r600_query.h
+++ b/src/gallium/drivers/radeon/r600_query.h
@@ -70,6 +70,7 @@ enum {
R600_QUERY_CURRENT_GPU_SCLK,
R600_QUERY_CURRENT_GPU_MCLK,
R600_QUERY_GPU_LOAD,
+ R600_QUERY_GPU_SHADERS_BUSY,
R600_QUERY_NUM_COMPILATIONS,
R600_QUERY_NUM_SHADERS_CREATED,
R600_QUERY_BACK_BUFFER_PS_DRAW_RATIO,