summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_pipe_common.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-02-12 00:58:46 +0100
committerMarek Olšák <[email protected]>2016-11-01 22:33:13 +0100
commitd268b7f95e0df35fe0e1e67bb6b6c146589dcc7d (patch)
tree01f56161d2188077184f8e448478324e22102bb8 /src/gallium/drivers/radeon/r600_pipe_common.h
parent6b309f736865feb395499cdc357de093f5bdf564 (diff)
radeonsi: add a driver query for shader cache hits
This is an 8-month old patch. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.h')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h
index d49f9d3597a..9356274791a 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.h
+++ b/src/gallium/drivers/radeon/r600_pipe_common.h
@@ -380,6 +380,7 @@ struct r600_common_screen {
* are loading shaders on demand. This is a monotonic counter.
*/
unsigned num_shaders_created;
+ unsigned num_shader_cache_hits;
/* GPU load thread. */
pipe_mutex gpu_load_mutex;