summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-05-26 11:36:55 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-26 11:36:55 -0400
commit930b42693eb2e875d2447897dd1379d7bd273a95 (patch)
tree97a75a9caa5a674b0861cd113c3b7a86cd56f0ba /src
parent17417fc8eeaf5f88452fa3d37a763cee3c92a28c (diff)
R6xx: select proper shader format
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r600/r700_render.c2
-rw-r--r--src/mesa/drivers/dri/r600/r700_vertprog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c
index 3d7eec3403..464023e96f 100644
--- a/src/mesa/drivers/dri/r600/r700_render.c
+++ b/src/mesa/drivers/dri/r600/r700_render.c
@@ -250,7 +250,7 @@ static GLboolean r700RunRender(GLcontext * ctx,
struct r700_fragment_program *fp = (struct r700_fragment_program *)
(ctx->FragmentProgram._Current);
- if (context->radeon.radeonScreen->chip_family <= CHIP_FAMILY_RV670)
+ if (context->radeon.radeonScreen->chip_family < CHIP_FAMILY_RV770)
{
fp->r700AsmCode.bR6xx = 1;
}
diff --git a/src/mesa/drivers/dri/r600/r700_vertprog.c b/src/mesa/drivers/dri/r600/r700_vertprog.c
index 4d113e2e0b..932555376c 100644
--- a/src/mesa/drivers/dri/r600/r700_vertprog.c
+++ b/src/mesa/drivers/dri/r600/r700_vertprog.c
@@ -297,7 +297,7 @@ void r700SelectVertexShader(GLcontext *ctx)
context_t *context = R700_CONTEXT(ctx);
struct r700_vertex_program *vpc
= (struct r700_vertex_program *)ctx->VertexProgram._Current;
- if (context->radeon.radeonScreen->chip_family <= CHIP_FAMILY_RV670)
+ if (context->radeon.radeonScreen->chip_family < CHIP_FAMILY_RV770)
{
vpc->r700AsmCode.bR6xx = 1;
}