assembler: Introduce struct brw_context
authorDamien Lespiau <damien.lespiau@intel.com>
Sat, 19 Jan 2013 17:05:48 +0000 (17:05 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:37 +0000 (15:54 +0000)
commit609a8453fb907041db52e8e029bc33f6bd49d907
treee431f7fbdab8b94c867d11739c9bb2df156ed15c
parent3ee5808d63be8c9604849b491d64e692315e8470
assembler: Introduce struct brw_context

A lot of the mesa code use struct brw_context to get the GPU generation
and various information. Let's stub this structure and initialize it
ourselves to be able to resuse mesa's code untouched.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
assembler/Makefile.am
assembler/brw_context.c [new file with mode: 0644]
assembler/brw_context.h [new file with mode: 0644]
assembler/brw_eu.h