r6xx: fix more r6xx specific cases
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 26 May 2009 16:21:54 +0000 (12:21 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Tue, 26 May 2009 16:21:54 +0000 (12:21 -0400)
src/mesa/drivers/dri/r600/r700_clear.c
src/mesa/drivers/dri/r600/r700_render.c

index e2571626dc64057a0fee8e4d53dc18deadd28f11..c011b863fea04b3f499f6388a567b7276a94049f 100644 (file)
@@ -80,7 +80,7 @@ static GLboolean r700ClearWithDraw(context_t *context, GLbitfield mask)
                            0x10000000, 0x340C90,   0x10000400, 0x20340C90,
                            0x10000800, 0x40340C90, 0x90000C00, 0x60200C90};
 
-    if (context->radeon.radeonScreen->chip_family <= CHIP_FAMILY_RV670)
+    if (context->radeon.radeonScreen->chip_family < CHIP_FAMILY_RV770)
     {
         uVs[9]  = 0x541910;
         uVs[11] = 0x20541910;
index 464023e96f8a04f1388ce3d24a9e1307d6052fca..fccf416c8cb3bc9762fca7308c7e8790122275da 100644 (file)
@@ -86,7 +86,7 @@ void r700WaitForIdleClean(context_t *context)
 static void r700Start3D(context_t *context)
 {
     BATCH_LOCALS(&context->radeon);
-    if (context->radeon.radeonScreen->chip_family <= CHIP_FAMILY_RV670)
+    if (context->radeon.radeonScreen->chip_family < CHIP_FAMILY_RV770)
     {
         BEGIN_BATCH_NO_AUTOSTATE(2);
         R600_OUT_BATCH(CP_PACKET3(R600_IT_START_3D_CMDBUF, 0));