Mesa (master): r600g: add missing printf operand

Dave Airlie airlied at kemper.freedesktop.org
Sun Sep 5 23:20:55 UTC 2010


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep  6 09:13:12 2010 +1000

r600g: add missing printf operand

---

 src/gallium/drivers/r600/r600_asm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 6483dac..bf3d31c 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -376,7 +376,7 @@ static int r600_bc_alu_build(struct r600_bc *bc, struct r600_bc_alu *alu, unsign
 	}
 	if (alu->last) {
 		if (alu->nliteral && !alu->literal_added) {
-			R600_ERR("Bug in ALU processing for instruction 0x%08x, literal not added correctly\n");
+			R600_ERR("Bug in ALU processing for instruction 0x%08x, literal not added correctly\n", alu->inst);
 		}
 		for (i = 0; i < alu->nliteral; i++) {
 			bc->bytecode[id++] = alu->value[i];




More information about the mesa-commit mailing list