summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-11-09 16:59:11 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-11-09 16:59:11 -0500
commitf17657fdc83d8f4c0386d2c7dade98de5b94acbe (patch)
tree6e0b5af0fe3ff56ebb6471a66a3bf8252bfbd4fc
parent0ee7763fb33bf7fbc4ae1e8372cbc74578bfb720 (diff)
r600/r700: typo, fix mask of DB_ALPHA_TO_MASK
noticed by glisse.
-rw-r--r--src/r600_reg_r6xx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/r600_reg_r6xx.h b/src/r600_reg_r6xx.h
index b4cc639a..fec02ac4 100644
--- a/src/r600_reg_r6xx.h
+++ b/src/r600_reg_r6xx.h
@@ -417,11 +417,11 @@ enum {
ALPHA_TO_MASK_ENABLE = 1 << 0,
ALPHA_TO_MASK_OFFSET0_mask = 0x03 << 8,
ALPHA_TO_MASK_OFFSET0_shift = 8,
- ALPHA_TO_MASK_OFFSET1_mask = 0x03 << 8,
+ ALPHA_TO_MASK_OFFSET1_mask = 0x03 << 10,
ALPHA_TO_MASK_OFFSET1_shift = 10,
- ALPHA_TO_MASK_OFFSET2_mask = 0x03 << 8,
+ ALPHA_TO_MASK_OFFSET2_mask = 0x03 << 12,
ALPHA_TO_MASK_OFFSET2_shift = 12,
- ALPHA_TO_MASK_OFFSET3_mask = 0x03 << 8,
+ ALPHA_TO_MASK_OFFSET3_mask = 0x03 << 14,
ALPHA_TO_MASK_OFFSET3_shift = 14,
// SQ_VTX_CONSTANT_WORD2_0 = 0x00038008,