diff options
author | Brian Paul <[email protected]> | 2017-06-16 16:36:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-06-16 17:04:08 -0600 |
commit | e3f5b8ac168fe3d3afa48906ea56465a5836ac58 (patch) | |
tree | 034d27b7040d3df85600b42519e111e77398a59e /src/gallium/drivers/svga/svga_context.h | |
parent | b27281c1109efc91a3e0e986e8d8f33b2fbb28ed (diff) |
svga: add new num-failed-allocations HUD query
This counter is incremented if we fail to allocate memory for
vertex/index/const buffers, textures, etc.
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 2987c709ac9..b1ccfc8775d 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -72,6 +72,7 @@ enum svga_hud { SVGA_QUERY_NUM_STATE_OBJECTS, SVGA_QUERY_NUM_SURFACE_VIEWS, SVGA_QUERY_NUM_GENERATE_MIPMAP, + SVGA_QUERY_NUM_FAILED_ALLOCATIONS, /*SVGA_QUERY_MAX has to be last because it is size of an array*/ SVGA_QUERY_MAX |