From e3f5b8ac168fe3d3afa48906ea56465a5836ac58 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 16 Jun 2017 16:36:43 -0600 Subject: 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 --- src/gallium/drivers/svga/svga_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/svga/svga_context.h') 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 -- cgit v1.2.3