Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 39 of file s_feedback.c.
Referenced by _swrast_feedback_line(), _swrast_feedback_point(), and _swrast_feedback_triangle().
{ GLfloat win[4]; const GLfloat *vtc = v->attrib[FRAG_ATTRIB_TEX0]; const GLfloat *color = v->attrib[FRAG_ATTRIB_COL0]; win[0] = v->attrib[FRAG_ATTRIB_WPOS][0]; win[1] = v->attrib[FRAG_ATTRIB_WPOS][1]; win[2] = v->attrib[FRAG_ATTRIB_WPOS][2] / ctx->DrawBuffer->_DepthMaxF; win[3] = 1.0F / v->attrib[FRAG_ATTRIB_WPOS][3]; _mesa_feedback_vertex(ctx, win, color, v->attrib[FRAG_ATTRIB_CI][0], vtc); }