From: Dave Airlie Date: Wed, 21 May 2008 06:00:18 +0000 (+1000) Subject: r500: print out opcode string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb57c30a537f2ae01a146dd697ca332f7667c5c5;p=mesa.git r500: print out opcode string --- diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c index c83fa3befe2..9e08b2757fb 100644 --- a/src/mesa/drivers/dri/r300/r500_fragprog.c +++ b/src/mesa/drivers/dri/r300/r500_fragprog.c @@ -876,7 +876,7 @@ static GLboolean parse_program(struct r500_fragment_program *fp) counter++; break; default: - ERROR("unknown fpi->Opcode %d\n", fpi->Opcode); + ERROR("unknown fpi->Opcode %s\n", _mesa_opcode_string(fpi->Opcode)); break; }