i965/msaa: Add defines for Gen7.
authorPaul Berry <stereotype441@gmail.com>
Tue, 8 May 2012 22:29:43 +0000 (15:29 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 25 May 2012 15:45:11 +0000 (08:45 -0700)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_defines.h

index 467a418eaa20ce17c8ec1f2dc747309b10fd1118..ff6cc6e27d6a6eaa37fec0b5054de16f121f5ba4 100644 (file)
 #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)
 #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