aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2008-05-21 16:00:18 +1000
committerDave Airlie <[email protected]>2008-05-21 16:00:18 +1000
commitbb57c30a537f2ae01a146dd697ca332f7667c5c5 (patch)
tree8f9efc9a900fbad7df70519aa4cb57057cb4ce06 /src
parentb453b0e2e1c82e6d08180c341989d6d0c05f21fa (diff)
r500: print out opcode string
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r500_fragprog.c2
1 files changed, 1 insertions, 1 deletions
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;
}