diff options
author | Marek Olšák <[email protected]> | 2010-05-04 22:42:29 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-05-05 23:04:44 +0200 |
commit | 0ad541a684ca55e883a0bcde9ab8b5d73806269a (patch) | |
tree | e60604a9099af76331915942341f3c48edc3229e /src/mesa/state_tracker | |
parent | 5c2f6a3e9ff933444e0d0b2e844702dd91cc2ce2 (diff) |
st/mesa: fix per-vertex point size
This fixes FDO bug #27343.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index e8eb9ec3904..0991e99e76c 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c @@ -154,7 +154,7 @@ dst_register( struct st_translate *t, return t->temps[index]; case PROGRAM_OUTPUT: - if (index == t->psizoutindex) + if (index == VERT_RESULT_PSIZ) t->prevInstWrotePsiz = GL_TRUE; return t->outputs[t->outputMapping[index]]; |