From a55974b435224fe5726fa44298d051c71e4056a5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 18 Mar 2008 13:47:20 -0700 Subject: Add defines for 9xx S3 word in 3D_STATE_LOAD_STATE_IMMEDIATE These aren't used at this point, but what the heck. --- src/i915_reg.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/i915_reg.h') diff --git a/src/i915_reg.h b/src/i915_reg.h index 682a157d..4340de93 100644 --- a/src/i915_reg.h +++ b/src/i915_reg.h @@ -360,6 +360,16 @@ #define S2_TEXCOORD_FMT(unit, type) ((type)<<(unit*4)) #define S2_TEXCOORD_NONE (~0) +#define TEXCOORD_WRAP_SHORTEST_TCX 8 +#define TEXCOORD_WRAP_SHORTEST_TCY 4 +#define TEXCOORD_WRAP_SHORTEST_TCZ 2 +#define TEXCOORD_PERSPECTIVE_DISABLE 1 + +#define S3_WRAP_SHORTEST_TCX(unit) (TEXCOORD_WRAP_SHORTEST_TCX << ((unit) * 4)) +#define S3_WRAP_SHORTEST_TCY(unit) (TEXCOORD_WRAP_SHORTEST_TCY << ((unit) * 4)) +#define S3_WRAP_SHORTEST_TCZ(unit) (TEXCOORD_WRAP_SHORTEST_TCZ << ((unit) * 4)) +#define S3_PERSPECTIVE_DISABLE(unit) (TEXCOORD_PERSPECTIVE_DISABLE << ((unit) * 4)) + /* S3 not interesting */ #define S4_POINT_WIDTH_SHIFT 23 -- cgit v1.2.3