summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-05-26 12:21:54 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-26 12:21:54 -0400
commitf3eaba017c77f4dcf6cdecba7c19c9ea4fd3ce63 (patch)
treec6c5a1203b6e8e497f5abc12a69e597ffc1d2613
parent930b42693eb2e875d2447897dd1379d7bd273a95 (diff)
r6xx: fix more r6xx specific cases
-rw-r--r--src/mesa/drivers/dri/r600/r700_clear.c2
-rw-r--r--src/mesa/drivers/dri/r600/r700_render.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_clear.c b/src/mesa/drivers/dri/r600/r700_clear.c
index e2571626dc..c011b863fe 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 464023e96f..fccf416c8c 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));