mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
i965/msaa: Add defines for Gen7.
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>
This commit is contained in:
parent
b08545199a
commit
0e11b2c5af
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue