From 0e1deb607f94e4aa3ec4b9df8ff7a07a1c95e31d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 11 Jun 2007 17:33:33 -0700 Subject: [PATCH] Fix a typo in _3DSTATE_DEPTH_SUBRECT_DISABLE definition. This is already fixed in the definition in the 3d driver. --- src/i915_reg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i915_reg.h b/src/i915_reg.h index 6751de60..6b40d70a 100644 --- a/src/i915_reg.h +++ b/src/i915_reg.h @@ -133,9 +133,9 @@ #define _3DSTATE_DEPTH_OFFSET_SCALE (CMD_3D | (0x1d<<24) | (0x97<<16)) /* scale in dword 1 */ - +/* The depth subrectangle is not supported, but must be disabled. */ /* 3DSTATE_DEPTH_SUBRECT_DISABLE, p160 */ -#define _3DSTATE_DEPTH_SUBRECT_DISABLE (CMD_3D | (0x1c<<24) | (0x11<19) | 0x2) +#define _3DSTATE_DEPTH_SUBRECT_DISABLE (CMD_3D | (0x1c<<24) | (0x11<<19) | (1 << 1) | (0 << 0)) /* p161 */ #define _3DSTATE_DST_BUF_VARS_CMD (CMD_3D | (0x1d<<24) | (0x85<<16))