Mesa (master): svga: Use consistent hexadecimal representation on debug output.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Nov 30 10:47:34 UTC 2010


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

Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Nov 26 17:12:09 2010 +0000

svga: Use consistent hexadecimal representation on debug output.

---

 src/gallium/drivers/svga/svga_state_need_swtnl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_state_need_swtnl.c b/src/gallium/drivers/svga/svga_state_need_swtnl.c
index d34d68f..66fea02 100644
--- a/src/gallium/drivers/svga/svga_state_need_swtnl.c
+++ b/src/gallium/drivers/svga/svga_state_need_swtnl.c
@@ -114,7 +114,7 @@ static int update_need_pipeline( struct svga_context *svga,
    /* SVGA_NEW_RAST, SVGA_NEW_REDUCED_PRIMITIVE
     */
    if (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim)) {
-      SVGA_DBG(DEBUG_SWTNL, "%s: rast need_pipeline (%d) & prim (%x)\n", 
+      SVGA_DBG(DEBUG_SWTNL, "%s: rast need_pipeline (0x%x) & prim (0x%x)\n",
                  __FUNCTION__,
                  svga->curr.rast->need_pipeline,
                  (1 << svga->curr.reduced_prim) );




More information about the mesa-commit mailing list