summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-11 15:05:57 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-08-11 15:12:42 -0600
commit3a428aca93fe2bab84ddfaf794a396133e802465 (patch)
treed2d61288ecb2058b45ce5b8cbad3c61d2f1d47a5 /src
parentac0d19601caf1f3f86cb30cbafb9c000479e2b37 (diff)
mesa: added comment about gl_PointCoord
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_fragprog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index bf7a1de03bc..525cf9d7245 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -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;