mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-21 05:20:43 +01:00
mesa: added comment about gl_PointCoord
This commit is contained in:
parent
ac0d19601c
commit
3a428aca93
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue