diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-27 12:53:48 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-27 13:14:52 -0700 |
commit | a0ffee2cd79deb5a437784e25de6512d7f8e6bb8 (patch) | |
tree | 0fa802375757633cdee699c60694533b151bd4a7 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 40932c1752b0fa918d764e3367f5ab450033304a (diff) |
i965: When encountering an unknown opcode in new FS backend, print its name.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 3728a7a122..703a7de78d 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -702,7 +702,13 @@ struct brw_context #define BRW_PACKCOLOR8888(r,g,b,a) ((r<<24) | (g<<16) | (b<<8) | a) - +struct brw_instruction_info { + char *name; + int nsrc; + int ndst; + GLboolean is_arith; +}; +extern const struct brw_instruction_info brw_opcodes[128]; /*====================================================================== * brw_vtbl.c |