st/mesa: fix per-vertex point size
authorMarek Olšák <maraeo@gmail.com>
Tue, 4 May 2010 20:42:29 +0000 (22:42 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 5 May 2010 21:04:44 +0000 (23:04 +0200)
This fixes FDO bug #27343.

src/mesa/state_tracker/st_mesa_to_tgsi.c

index e8eb9ec3904157d224c4ecda8d9e78d5f39aa437..0991e99e76c1c4837ea6cb4e50776916bb0c0d50 100644 (file)
@@ -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]];