diff options
author | Matt Turner <[email protected]> | 2013-12-02 13:15:45 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-12-04 20:05:43 -0800 |
commit | b9af66528e5b7bd5608086557c44e6b9eb2f2d9d (patch) | |
tree | b978235fb834b5c299ba2f74a3861c4a6fb558f7 /src/mesa/drivers | |
parent | 637dda1c307aee921ecc646b75f891deab6585a9 (diff) |
i965: Externalize conditional_modifier for use in dump_instruction().
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_disasm.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 0a45f056dbf..d25e145f18c 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1827,6 +1827,7 @@ struct opcode_desc { }; extern const struct opcode_desc opcode_descs[128]; +extern const char * const conditional_modifier[16]; extern const char * const reg_encoding[8]; void diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 4de848512ec..5f6cd40765b 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -101,7 +101,7 @@ const struct opcode_desc opcode_descs[128] = { }; static const struct opcode_desc *opcode = opcode_descs; -static const char * const conditional_modifier[16] = { +const char * const conditional_modifier[16] = { [BRW_CONDITIONAL_NONE] = "", [BRW_CONDITIONAL_Z] = ".e", [BRW_CONDITIONAL_NZ] = ".ne", |