diff options
author | Sam Hocevar <[email protected]> | 2008-09-23 17:56:19 +0200 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-25 09:49:18 -0600 |
commit | 831bfb9053a6e1f065fc07f9f25ae0ea27053733 (patch) | |
tree | 2c2e623d6f0cd53b0ab66c370d4f09e882d8f34e /src/mesa/drivers/dri/i965/brw_vs_emit.c | |
parent | c5945c2d173b77ace00e6fc225097a6afddecfa3 (diff) |
i965: more meaningful message for unsupported opcodes.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_emit.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index 8759826e83b..b0b0449f99c 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -1155,7 +1155,10 @@ void brw_vs_emit(struct brw_vs_compile *c ) case OPCODE_ENDSUB: break; default: - _mesa_printf("Unsupport opcode %d in vertex shader\n", inst->Opcode); + _mesa_printf("Unsupported opcode %i (%s) in vertex shader\n", + inst->Opcode, inst->Opcode < MAX_OPCODE ? + _mesa_opcode_string(inst->Opcode) : + "unknown"); break; } |