assembler: Put struct opcode_desc back in brw_context.h

I originally moved struct opcode_desc from brw_context.h to brw_eu.h on
the mesa side, but that was before the realization we needed struct
brw_context if we wanted to not touch the code too much.

So put it back there now that the mesa patch has been dropped.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2013-01-31 14:28:00 +00:00
parent e75faa3e43
commit 28ff66a13c
3 changed files with 23 additions and 19 deletions
-11
View File
@@ -420,17 +420,6 @@ void brw_optimize(struct brw_compile *p);
void brw_remove_duplicate_mrf_moves(struct brw_compile *p);
void brw_remove_grf_to_mrf_moves(struct brw_compile *p);
/* brw_disasm.c */
struct opcode_desc {
char *name;
int nsrc;
int ndst;
};
extern const struct opcode_desc opcode_descs[128];
int brw_disasm (FILE *file, struct brw_instruction *inst, int gen);
#ifdef __cplusplus
}
#endif