summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svgadump
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2011-01-28 16:09:04 +0100
committerMichel Dänzer <[email protected]>2011-01-31 17:45:07 +0100
commita61b7aa90df7ea4eff9fe34fabba3fb7342a7f77 (patch)
tree3908fef74a3a320d2d9bd17a16689e83b9dc5ed7 /src/gallium/drivers/svga/svgadump
parent0b47d59e5be0fb5eb0277f02646914f4a55d35d5 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/svga/svgadump')
-rw-r--r--src/gallium/drivers/svga/svgadump/svga_shader_op.c2
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 95612a80063..b40e24f8927 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;
}