From 0e11b2c5afca456e19b1c29889dde449a4072ede Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Tue, 8 May 2012 15:29:43 -0700 Subject: [PATCH] i965/msaa: Add defines for Gen7. Reviewed-by: Chad Versace Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_defines.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index 467a418eaa2..ff6cc6e27d6 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -439,6 +439,9 @@ #define BRW_SURFACE_BUFFER 4 #define BRW_SURFACE_NULL 7 +#define GEN7_SURFACE_ARYSPC_FULL 0 +#define GEN7_SURFACE_ARYSPC_LOD0 1 + /* Surface state DW2 */ #define BRW_SURFACE_HEIGHT_SHIFT 19 #define BRW_SURFACE_HEIGHT_MASK INTEL_MASK(31, 19) @@ -463,6 +466,8 @@ #define GEN7_SURFACE_MULTISAMPLECOUNT_1 0 #define GEN7_SURFACE_MULTISAMPLECOUNT_4 2 #define GEN7_SURFACE_MULTISAMPLECOUNT_8 3 +#define GEN7_SURFACE_MSFMT_MSS 0 +#define GEN7_SURFACE_MSFMT_DEPTH_STENCIL 1 /* Surface state DW5 */ #define BRW_SURFACE_X_OFFSET_SHIFT 25 -- 2.30.2