From 080606ad528972623e1ed1124d8efe7705a73446 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sat, 23 Feb 2008 20:21:17 -0500 Subject: Add the R500 US index/data pair. --- src/radeon_reg.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/radeon_reg.h') diff --git a/src/radeon_reg.h b/src/radeon_reg.h index 94609678..03657d16 100644 --- a/src/radeon_reg.h +++ b/src/radeon_reg.h @@ -4028,6 +4028,14 @@ #define R300_SC_CLIP_RULE 0x43d0 #define R300_SC_SCREENDOOR 0x43e8 +/* R500 US has to be loaded through an index/data pair */ +#define R500_GA_US_VECTOR_INDEX 0x4250 +# define R500_US_VECTOR_INDEX(x) (x << 0) +# define R500_US_VECTOR_TYPE_INST (0 << 16) +# define R500_US_VECTOR_TYPE_CONST (1 << 16) +# define R500_US_VECTOR_CLAMP (1 << 17) +#define R500_GA_US_VECTOR_DATA 0x4254 + /* * The R500 unified shader (US) registers come in banks of 512 each, one * for each instruction slot in the shader. The base _0 registers are -- cgit v1.2.3