From 930b42693eb2e875d2447897dd1379d7bd273a95 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 26 May 2009 11:36:55 -0400 Subject: R6xx: select proper shader format --- src/mesa/drivers/dri/r600/r700_render.c | 2 +- src/mesa/drivers/dri/r600/r700_vertprog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/r600') 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; } -- cgit v1.2.3