summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Brill <[email protected]>2008-02-25 23:08:02 +0100
committerChristoph Brill <[email protected]>2008-02-25 23:08:02 +0100
commit7d83618f99063a38e15e31b3f93e8112db20e0c4 (patch)
tree4aa3efa07bb55e37103ace5eeb8d1ce4d416e091
parent4cba59f8e7172bc85127265a0a74a172ee65cb70 (diff)
[r300] Document registers completed 10.1 to 10.3
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index 3ad08297d9f..b127353fdc5 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -714,7 +714,16 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
# define GA_LINE_STIPPLE_CONFIG_STIPPLE_SCALE_SHIFT 2
# define GA_LINE_STIPPLE_CONFIG_STIPPLE_SCALE_MASK 0xfffffffc
+/* Used to load US instructions and constants */
#define R500_GA_US_VECTOR_INDEX 0x4250
+# define GA_US_VECTOR_INDEX_SHIFT 0
+# define GA_US_VECTOR_INDEX_MASK 0x000000ff
+# define GA_US_VECTOR_INDEX_TYPE_INSTR (0 << 16)
+# define GA_US_VECTOR_INDEX_TYPE_CONST (1 << 16)
+# define GA_US_VECTOR_INDEX_CLAMP_NO (0 << 17)
+# define GA_US_VECTOR_INDEX_CLAMP_CONST (1 << 17)
+
+/* Data register for loading US instructions and constants */
#define R500_GA_US_VECTOR_DATA 0x4254
/* Specifies color properties and mappings of textures. */