summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_resource_buffer.h
diff options
context:
space:
mode:
authorCharmaine Lee <charmainel@vmware.com>2016-08-31 14:49:52 -0700
committerBrian Paul <brianp@vmware.com>2016-09-17 10:09:00 -0600
commitee39814d90b9ecfb35dc4b5977b1f1ced0c0fd83 (patch)
treecc8aaee3982d09c2d69eb2cecd96009cd691c5e8 /src/gallium/drivers/svga/svga_resource_buffer.h
parentf168c886c9f0940551de23b242cb794547cfaf0c (diff)
svga: split the num-resources-mapped hud to textures & buffers
Replace the num-resources-mapped hud with num-textures-mapped and num-buffers-mapped, so we can differentiate the map counts for these two different resources. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_buffer.h')
-rw-r--r--src/gallium/drivers/svga/svga_resource_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.h b/src/gallium/drivers/svga/svga_resource_buffer.h
index 69075888892..2804a99c004 100644
--- a/src/gallium/drivers/svga/svga_resource_buffer.h
+++ b/src/gallium/drivers/svga/svga_resource_buffer.h
@@ -263,7 +263,7 @@ svga_buffer_hw_storage_map(struct svga_context *svga,
{
struct svga_winsys_screen *sws = svga_buffer_winsys_screen(sbuf);
- svga->hud.num_resources_mapped++;
+ svga->hud.num_buffers_mapped++;
if (sws->have_gb_objects) {
return svga->swc->surface_map(svga->swc, sbuf->handle, flags, retry);