From 57de9bbb632ed7639d07d37965dcee5a1fe3bf30 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 15 Oct 2014 16:16:09 +0100 Subject: [PATCH] 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 f4b723ae820..70a2b867ad8 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 } -- 2.30.2