Module: Mesa Branch: master Commit: a61b7aa90df7ea4eff9fe34fabba3fb7342a7f77 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a61b7aa90df7ea4eff9fe34fabba3fb7342a7f77
Author: Michel Dänzer <[email protected]> Date: Fri Jan 28 16:09:04 2011 +0100 svga: Print the number and mnemonic of the opcode we're missing information for. Makes it easier to figure out which opcode it's about. --- src/gallium/drivers/svga/svgadump/svga_shader_op.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/svga/svgadump/svga_shader_op.c b/src/gallium/drivers/svga/svgadump/svga_shader_op.c index 95612a8..b40e24f 100644 --- a/src/gallium/drivers/svga/svgadump/svga_shader_op.c +++ b/src/gallium/drivers/svga/svgadump/svga_shader_op.c @@ -156,6 +156,8 @@ const struct sh_opcode_info *svga_opcode_info( uint op ) if (info->svga_opcode == SVGA3DOP_INVALID) { /* No valid information. Please provide number of dst/src registers. */ + _debug_printf("Missing information for opcode %u, '%s'\n", op, + opcode_info[op].mnemonic); assert( 0 ); return NULL; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
