From: Alex Deucher Date: Tue, 26 May 2009 16:21:54 +0000 (-0400) Subject: r6xx: fix more r6xx specific cases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3eaba017c77f4dcf6cdecba7c19c9ea4fd3ce63;p=mesa.git r6xx: fix more r6xx specific cases --- diff --git a/src/mesa/drivers/dri/r600/r700_clear.c b/src/mesa/drivers/dri/r600/r700_clear.c index e2571626dc6..c011b863fea 100644 --- a/src/mesa/drivers/dri/r600/r700_clear.c +++ b/src/mesa/drivers/dri/r600/r700_clear.c @@ -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; diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c index 464023e96f8..fccf416c8cb 100644 --- a/src/mesa/drivers/dri/r600/r700_render.c +++ b/src/mesa/drivers/dri/r600/r700_render.c @@ -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));