summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r500_fragprog_emit.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-06-14 17:51:04 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2008-06-14 17:59:10 -0700
commit7413c55d93ccdf7ba58932d6186f1e6230df0e8a (patch)
treec17d2bf3bc3b2abcc5f7a1889b05dfd8fbe640b0 /src/mesa/drivers/dri/r300/r500_fragprog_emit.c
parent43da1189610fcaa5ade69620734a7b1e5caf84c4 (diff)
r5xx: Detangle FP fallback and translation switches.
r5xx should fallback if it encounters a bad FP. TODO: Re-enable the dumb shader so we don't have to completely fallback.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r500_fragprog_emit.c')
-rw-r--r--src/mesa/drivers/dri/r300/r500_fragprog_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r500_fragprog_emit.c b/src/mesa/drivers/dri/r300/r500_fragprog_emit.c
index 3b515515ef..59c9048653 100644
--- a/src/mesa/drivers/dri/r300/r500_fragprog_emit.c
+++ b/src/mesa/drivers/dri/r300/r500_fragprog_emit.c
@@ -1296,7 +1296,7 @@ static GLboolean parse_program(struct r500_pfs_compile_state *cs)
fpi = clause->Instructions + ip;
counter = do_inst(cs, fpi, counter);
- if (cs->compiler->fp->error == GL_TRUE)
+ if (cs->compiler->fp->error)
return GL_FALSE;
}
}