r200: Add logging for glPolygonStripple.
authorPauli Nieminen <suokkos@gmail.com>
Thu, 4 Feb 2010 21:47:55 +0000 (23:47 +0200)
committerPauli Nieminen <suokkos@gmail.com>
Thu, 4 Feb 2010 21:59:20 +0000 (23:59 +0200)
src/mesa/drivers/dri/r200/r200_state.c

index d9bf31b61126f49dc2dc0c51bac4c3770bf35aa2..d6964484bf31a482e7616e070c626d7e22da977e 100644 (file)
@@ -2464,6 +2464,12 @@ static void r200PolygonStipple( GLcontext *ctx, const GLubyte *mask )
 
    radeon_firevertices(&r200->radeon);
 
+   radeon_print(RADEON_STATE, RADEON_TRACE,
+                  "%s(%p) first 32 bits are %x.\n",
+                  __func__,
+                  ctx,
+                  *(uint32_t*)mask);
+
    R200_STATECHANGE(r200, stp);
 
    /* Must flip pattern upside down.