From 0fe19bc91d89dd83b9a7bab28a6009a30e1bc856 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 30 Jun 2009 16:35:23 -0600 Subject: [PATCH] i965: move BRW_MAX_GRF, define BRW_MAX_MRF --- src/mesa/drivers/dri/i965/brw_context.h | 6 ------ src/mesa/drivers/dri/i965/brw_structs.h | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 8c55a13e9a3..ec0b045de4e 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -246,12 +246,6 @@ struct brw_vs_ouput_sizes { }; -/** Number of general purpose registers (VS, WM, etc) */ -#define BRW_MAX_GRF 128 - -/** Number of message register file registers */ -#define BRW_MAX_MRF 16 - /** Number of texture sampler units */ #define BRW_MAX_TEX_UNIT 16 diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h index 040ec9327d5..39e75a0455e 100644 --- a/src/mesa/drivers/dri/i965/brw_structs.h +++ b/src/mesa/drivers/dri/i965/brw_structs.h @@ -33,6 +33,14 @@ #ifndef BRW_STRUCTS_H #define BRW_STRUCTS_H + +/** Number of general purpose registers (VS, WM, etc) */ +#define BRW_MAX_GRF 128 + +/** Number of message register file registers */ +#define BRW_MAX_MRF 16 + + /* Command packets: */ struct header -- 2.30.2