cell: additional debug
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2008 16:54:06 +0000 (10:54 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2008 16:54:57 +0000 (10:54 -0600)
src/gallium/drivers/cell/spu/spu_command.c

index c28677e..a07b312 100644 (file)
@@ -250,6 +250,7 @@ cmd_state_fs_constants(const uint64_t *buffer, uint pos)
 
    /* Expand each float to float[4] for SOA execution */
    for (i = 0; i < num_const; i++) {
+      DEBUG_PRINTF("  const[%u] = %f\n", i, constants[i]);
       spu.constants[i] = spu_splats(constants[i]);
    }