diff options
author | Adam Jackson <ajax@redhat.com> | 2008-02-23 20:21:17 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-02-23 20:21:17 -0500 |
commit | 080606ad528972623e1ed1124d8efe7705a73446 (patch) | |
tree | 4f6351a7618140ab7e807e659e84794118b70894 | |
parent | edfb3b6bbf0ee17ace8e6ba704a6f54e249fec63 (diff) |
Add the R500 US index/data pair.
-rw-r--r-- | src/radeon_reg.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |