i965: Externalize reg_encoding for use in dump_instruction().

Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Matt Turner 2013-12-02 12:58:45 -08:00
parent 729fe77e3b
commit 21e92e74c8
2 changed files with 2 additions and 1 deletions

View File

@ -1827,6 +1827,7 @@ struct opcode_desc {
};
extern const struct opcode_desc opcode_descs[128];
extern const char * const reg_encoding[8];
void
brw_emit_depthbuffer(struct brw_context *brw);

View File

@ -244,7 +244,7 @@ static const char * const access_mode[2] = {
[1] = "align16",
};
static const char * const reg_encoding[8] = {
const char * const reg_encoding[8] = {
[0] = "UD",
[1] = "D",
[2] = "UW",