r300g: hyperz fixing typo.
authorDave Airlie <airlied@redhat.com>
Fri, 24 Dec 2010 05:41:30 +0000 (15:41 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Dec 2010 05:46:11 +0000 (15:46 +1000)
Really no idea why I didn't see this before, but these values were opposite
the register spec.

this seems to fix rv530 HiZ on my laptop, will reenable in next commit.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_reg.h

index 613186e8156979786bc33e3357f4b849035b9197..d1154dee40a16297682965b520cf788a290e5ae7 100644 (file)
@@ -2631,8 +2631,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define R300_ZB_BW_CNTL                     0x4f1c
 #      define R300_HIZ_DISABLE                              (0 << 0)
 #      define R300_HIZ_ENABLE                               (1 << 0)
-#      define R300_HIZ_MIN                                  (0 << 1)
-#      define R300_HIZ_MAX                                  (1 << 1)
+#      define R300_HIZ_MAX                                  (0 << 1)
+#      define R300_HIZ_MIN                                  (1 << 1)
 #      define R300_FAST_FILL_DISABLE                        (0 << 2)
 #      define R300_FAST_FILL_ENABLE                         (1 << 2)
 #      define R300_RD_COMP_DISABLE                          (0 << 3)