Mesa (master): vc4: Fix the uniform debug output.

Eric Anholt anholt at kemper.freedesktop.org
Wed Oct 15 17:21:02 UTC 2014


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Oct 15 16:16:09 2014 +0100

vc4: Fix the uniform debug output.

I dropped the shader index when moving to the compiled shader struct, but
didn't update the format string here.

---

 src/gallium/drivers/vc4/vc4_program.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index f4b723a..70a2b86 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -2466,7 +2466,7 @@ vc4_write_uniforms(struct vc4_context *vc4, struct vc4_compiled_shader *shader,
                 }
 #if 0
                 uint32_t written_val = *(uint32_t *)(vc4->uniforms.next - 4);
-                fprintf(stderr, "%p/%d: %d: 0x%08x (%f)\n",
+                fprintf(stderr, "%p: %d / 0x%08x (%f)\n",
                         shader, i, written_val, uif(written_val));
 #endif
         }




More information about the mesa-commit mailing list