i965: Externalize conditional_modifier for use in dump_instruction().
authorMatt Turner <mattst88@gmail.com>
Mon, 2 Dec 2013 21:15:45 +0000 (13:15 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 5 Dec 2013 04:05:43 +0000 (20:05 -0800)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_disasm.c

index 0a45f056dbf78020dac5e7fff25db060cb505d12..d25e145f18c50e108ded96b9d319f59a8843ec3e 100644 (file)
@@ -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
index 4de848512ec6e7a9939ea3218814d68610a4afb8..5f6cd40765b970e73f2a8e6299db1f43aaaec261 100644 (file)
@@ -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",