52 const float* invW,
float reciprocalInterpolatedInvW,
void interpolateDepthAndWTriangle(SRPVertexShaderOut *vertices, const float *weights, const float *invW, const SRPShaderProgram *sp, float *depth, float *reciprocalInterpolatedInvW)
Definition interpolation.c:34
void interpolateDepthAndWLine(SRPVertexShaderOut *vertices, const float *weights, const float *invW, const SRPShaderProgram *sp, float *depth, float *reciprocalInterpolatedInvW)
Definition interpolation.c:49
void interpolateAttributes(SRPVertexShaderOut *vertices, size_t nVertices, const float *weights, const float *invW, float reciprocalInterpolatedInvW, const SRPShaderProgram *sp, SRPInterpolated *pOutput)
Definition interpolation.c:93
struct SRPInterpolated SRPInterpolated
Definition vertex.h:46