diff options
author | Tom Stellard <[email protected]> | 2012-04-27 15:26:30 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-03 09:20:23 -0400 |
commit | a2e08a40f5144a3533de9c3ede422a34b7a44255 (patch) | |
tree | 74d50aed45578a6b688416581d051fc83689aa92 | |
parent | 18617d7423b2c12aac9adbb8354fbf5d0c8ddfea (diff) |
r600g: Print integer values of literal constants in shader dumps
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 4fb06bf78f7..0d67fbd6a04 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -2484,7 +2484,8 @@ void r600_bytecode_dump(struct r600_bytecode *bc) if (alu->last) { for (i = 0; i < nliteral; i++, id++) { float *f = (float*)(bc->bytecode + id); - fprintf(stderr, "%04d %08X\t%f\n", id, bc->bytecode[id], *f); + fprintf(stderr, "%04d %08X\t%f (%d)\n", id, bc->bytecode[id], *f, + *(bc->bytecode + id)); } id += nliteral & 1; nliteral = 0; |