summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-02-23 20:21:17 -0500
committerAdam Jackson <ajax@redhat.com>2008-02-23 20:21:17 -0500
commit080606ad528972623e1ed1124d8efe7705a73446 (patch)
tree4f6351a7618140ab7e807e659e84794118b70894 /src
parentedfb3b6bbf0ee17ace8e6ba704a6f54e249fec63 (diff)
Add the R500 US index/data pair.
Diffstat (limited to 'src')
-rw-r--r--src/radeon_reg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index 9460967..03657d1 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