[Mesa-dev] [PATCH 10/15] i965/msaa: Add defines for Gen7.
Chad Versace
chad.versace at linux.intel.com
Tue May 22 11:51:26 PDT 2012
On 05/11/2012 11:03 AM, Paul Berry wrote:
> ---
> src/mesa/drivers/dri/i965/brw_defines.h | 5 +++++
> 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 a087f70..4ad905b 100644
> --- a/src/mesa/drivers/dri/i965/brw_defines.h
> +++ b/src/mesa/drivers/dri/i965/brw_defines.h
> @@ -437,6 +437,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)
> @@ -461,6 +464,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
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
More information about the mesa-dev
mailing list