From 609a8453fb907041db52e8e029bc33f6bd49d907 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Sat, 19 Jan 2013 17:05:48 +0000 Subject: 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 --- assembler/brw_eu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'assembler/brw_eu.h') diff --git a/assembler/brw_eu.h b/assembler/brw_eu.h index 262a40bc..f3e99faa 100644 --- a/assembler/brw_eu.h +++ b/assembler/brw_eu.h @@ -34,6 +34,7 @@ #define BRW_EU_H #include +#include "brw_context.h" #include "brw_structs.h" #include "brw_defines.h" #include "brw_reg.h" -- cgit v1.2.3