svga: separate HUD counters for state objects
authorBrian Paul <brianp@vmware.com>
Fri, 15 Apr 2016 21:30:34 +0000 (15:30 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 25 Apr 2016 15:45:16 +0000 (09:45 -0600)
commit464d6080c60e6f97d286b16f5b09fde94ab37cfc
treec4febe68f4228829c0d63ef636573cea5abdb4b0
parentb87856d25d1be1953dea30814994fc40cac5e573
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 <charmainel@vmware.com>
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_blend.c
src/gallium/drivers/svga/svga_pipe_depthstencil.c
src/gallium/drivers/svga/svga_pipe_query.c
src/gallium/drivers/svga/svga_pipe_rasterizer.c
src/gallium/drivers/svga/svga_pipe_sampler.c
src/gallium/drivers/svga/svga_pipe_vertex.c