mesa: added comment about gl_PointCoord
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 11 Aug 2008 21:05:57 +0000 (15:05 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 11 Aug 2008 21:12:42 +0000 (15:12 -0600)
src/mesa/swrast/s_fragprog.c

index bf7a1de03bc2a9f623fcc283d5a107726a138fdd..525cf9d72457b383388fe7ff578a919916b606ba 100644 (file)
@@ -129,6 +129,7 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine,
    if (ctx->Shader.CurrentProgram) {
       /* Store front/back facing value in register FOGC.Y */
       machine->Attribs[FRAG_ATTRIB_FOGC][col][1] = 1.0 - span->facing;
+      /* Note FOGC.ZW is gl_PointCoord if drawing a sprite */
    }
 
    machine->CurElement = col;