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 c28677ebf8764b9de6916882097954daa9494c0b..a07b312111eb496082230dbeb440cc3c7298d246 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]);
    }