Mesa (master): svga: fix ordering of mksstats counter strings

Brian Paul brianp at kemper.freedesktop.org
Fri Aug 26 13:39:03 UTC 2016


Module: Mesa
Branch: master
Commit: b1772651b728fd231b0c5885415b35f43a307c7f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1772651b728fd231b0c5885415b35f43a307c7f

Author: Charmaine Lee <charmainel at vmware.com>
Date:   Thu Aug 18 18:02:17 2016 -0700

svga: fix ordering of mksstats counter strings

String for SVGA_STATS_COUNT_TEXREADBACK was swapped
with the string for SVGA_STATS_COUNT_SURFACEWRITEFLUSH.

Trivial fix.

---

 src/gallium/drivers/svga/svga_winsys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/svga/svga_winsys.h b/src/gallium/drivers/svga/svga_winsys.h
index 5eb7308..a7b25ab 100644
--- a/src/gallium/drivers/svga/svga_winsys.h
+++ b/src/gallium/drivers/svga/svga_winsys.h
@@ -169,8 +169,8 @@ enum svga_stats_time {
    SVGA_STATS_PREFIX "RasterizerState",       \
    SVGA_STATS_PREFIX "Sampler",               \
    SVGA_STATS_PREFIX "SamplerView",           \
-   SVGA_STATS_PREFIX "TextureReadback",       \
    SVGA_STATS_PREFIX "SurfaceWriteFlush",     \
+   SVGA_STATS_PREFIX "TextureReadback",       \
    SVGA_STATS_PREFIX "VertexElement"          \
 
 #define SVGA_STATS_TIME_NAMES                       \




More information about the mesa-commit mailing list