From 05dc3e4fc19d056ce99a7b110665adab2ca1ea21 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sat, 23 Feb 2008 20:29:51 -0500 Subject: Clarify R500 US setup. --- src/radeon_reg.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/radeon_reg.h b/src/radeon_reg.h index 03657d1..5469e9d 100644 --- a/src/radeon_reg.h +++ b/src/radeon_reg.h @@ -4038,8 +4038,10 @@ /* * 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 - * defined here, use offsets to program the others. + * for each instruction slot in the shader. You can't touch them directly. + * R500_US_VECTOR_INDEX() sets the base instruction to modify; successive + * writes to R500_GA_US_VECTOR_DATA autoincrement the index after the + * instruction is fully specified. */ #define R500_US_ALU_ALPHA_INST_0 0xa800 # define R500_ALPHA_OP_MAD 0 -- cgit v1.2.3