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>
This commit is contained in:
Damien Lespiau
2013-01-19 17:05:48 +00:00
parent 3ee5808d63
commit 609a8453fb
4 changed files with 107 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@
#define BRW_EU_H
#include <stdbool.h>
#include "brw_context.h"
#include "brw_structs.h"
#include "brw_defines.h"
#include "brw_reg.h"