r600/r700: typo, fix mask of DB_ALPHA_TO_MASK
authorJerome Glisse <jglisse@redhat.com>
Mon, 9 Nov 2009 21:37:41 +0000 (22:37 +0100)
committerJerome Glisse <jglisse@redhat.com>
Mon, 9 Nov 2009 21:37:41 +0000 (22:37 +0100)
src/mesa/drivers/dri/r600/r600_reg_r6xx.h

index f7702c46de5dc53bbb77acca7557eec54cc4ba84..74af7b4fed7772e74fd9d7b1b3f5caf6503adefc 100644 (file)
@@ -415,11 +415,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,