diff options
author | Brian Paul <[email protected]> | 2016-04-15 15:30:34 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-04-25 09:45:16 -0600 |
commit | 464d6080c60e6f97d286b16f5b09fde94ab37cfc (patch) | |
tree | c4febe68f4228829c0d63ef636573cea5abdb4b0 /src/gallium/drivers/svga/svga_pipe_rasterizer.c | |
parent | b87856d25d1be1953dea30814994fc40cac5e573 (diff) |
svga: separate HUD counters for state objects
Count depth/stencil, blend, sampler, etc. state objects separately
but just report the sum for the HUD. This change lets us use gdb to
see the breakdown of state objects in more detail.
Also, count sampler views too.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_pipe_rasterizer.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_rasterizer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_rasterizer.c b/src/gallium/drivers/svga/svga_pipe_rasterizer.c index d397c95da98..968770c6faa 100644 --- a/src/gallium/drivers/svga/svga_pipe_rasterizer.c +++ b/src/gallium/drivers/svga/svga_pipe_rasterizer.c @@ -360,7 +360,7 @@ svga_create_rasterizer_state(struct pipe_context *pipe, "GL_POLYGON_SMOOTH not supported"); } - svga->hud.num_state_objects++; + svga->hud.num_rasterizer_objects++; return rast; } @@ -405,7 +405,7 @@ svga_delete_rasterizer_state(struct pipe_context *pipe, void *state) } FREE(state); - svga->hud.num_state_objects--; + svga->hud.num_rasterizer_objects--; } |