From 9d104634cf03bea82d1467f01e577cb8d2e4b554 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 21 Jun 2007 01:15:39 +0100 Subject: Add 3DSTATE_CLEAR_PARAMETERS bits --- src/i915_reg.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/i915_reg.h') diff --git a/src/i915_reg.h b/src/i915_reg.h index 6b40d70a..682a157d 100644 --- a/src/i915_reg.h +++ b/src/i915_reg.h @@ -109,6 +109,13 @@ /* 3DSTATE_CHROMA_KEY */ /* 3DSTATE_CLEAR_PARAMETERS, p150 */ +#define _3DSTATE_CLEAR_PARAMETERS (CMD_3D | (0x1d<<24) | (0x9c<<16) | 5) +/* Dword 1 */ +#define CLEARPARAM_CLEAR_RECT (1 << 16) +#define CLEARPARAM_ZONE_INIT (0 << 16) +#define CLEARPARAM_WRITE_COLOR (1 << 2) +#define CLEARPARAM_WRITE_DEPTH (1 << 1) +#define CLEARPARAM_WRITE_STENCIL (1 << 0) /* 3DSTATE_CONSTANT_BLEND_COLOR, p153 */ #define _3DSTATE_CONST_BLEND_COLOR_CMD (CMD_3D | (0x1d<<24) | (0x88<<16)) -- cgit v1.2.3