[r300] Document registers completed 10.1 to 10.3
authorChristoph Brill <egore911@egore911.de>
Mon, 25 Feb 2008 22:08:02 +0000 (23:08 +0100)
committerChristoph Brill <egore911@egore911.de>
Mon, 25 Feb 2008 22:08:02 +0000 (23:08 +0100)
src/mesa/drivers/dri/r300/r300_reg.h

index 3ad08297d9fbc2792d4f8fc77be6415c01fbf376..b127353fdc5f83822c8604f1b0308ada2570a2e8 100644 (file)
@@ -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. */