summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-05-08 15:29:43 -0700
committerPaul Berry <[email protected]>2012-05-25 08:45:11 -0700
commit0e11b2c5afca456e19b1c29889dde449a4072ede (patch)
tree32e1acf7b483285f536ffcaf9b4d0ff74c2072c9 /src/mesa/drivers/dri
parentb08545199ac8a01392a805f158d22cc03060a6fb (diff)
i965/msaa: Add defines for Gen7.
Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_defines.h5
1 files changed, 5 insertions, 0 deletions
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