From 7d83618f99063a38e15e31b3f93e8112db20e0c4 Mon Sep 17 00:00:00 2001 From: Christoph Brill Date: Mon, 25 Feb 2008 23:08:02 +0100 Subject: [PATCH] [r300] Document registers completed 10.1 to 10.3 --- src/mesa/drivers/dri/r300/r300_reg.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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. */ -- 2.30.2