diff options
author | Samuel Pitoiset <[email protected]> | 2015-11-29 16:04:11 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2015-11-29 16:40:12 +0100 |
commit | b8c524ff88499f64c94f1d1c41671107f98f991a (patch) | |
tree | 96a92cce223ef3c42e3b35965212e1faee44f807 /src/gallium/drivers/nouveau | |
parent | d37ebed470c6c37abfc6fe42079bff027ff58e9d (diff) |
nv50/ir: always display the opcode number for unknown instructions
This helps in debugging unknown instructions.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index b163cd2db4a..053df8be7d3 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -1930,7 +1930,7 @@ CodeEmitterGK110::emitInstruction(Instruction *insn) ERROR("operation should have been lowered\n"); return false; default: - ERROR("unknow op\n"); + ERROR("unknown op: %u\n", insn->op); return false; } diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp index 9f84de03a4a..1d4f0d92f6b 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp @@ -2566,7 +2566,7 @@ CodeEmitterNVC0::emitInstruction(Instruction *insn) ERROR("operation should have been lowered\n"); return false; default: - ERROR("unknow op\n"); + ERROR("unknown op: %u\n", insn->op); return false; } |