Lines Matching refs:deriv
234 GLfloat deriv[4]; in fetch_vector4_deriv() local
237 deriv[0] = machine->DerivX[source->Index][0] * invQ; in fetch_vector4_deriv()
238 deriv[1] = machine->DerivX[source->Index][1] * invQ; in fetch_vector4_deriv()
239 deriv[2] = machine->DerivX[source->Index][2] * invQ; in fetch_vector4_deriv()
240 deriv[3] = machine->DerivX[source->Index][3] * invQ; in fetch_vector4_deriv()
243 deriv[0] = machine->DerivY[source->Index][0] * invQ; in fetch_vector4_deriv()
244 deriv[1] = machine->DerivY[source->Index][1] * invQ; in fetch_vector4_deriv()
245 deriv[2] = machine->DerivY[source->Index][2] * invQ; in fetch_vector4_deriv()
246 deriv[3] = machine->DerivY[source->Index][3] * invQ; in fetch_vector4_deriv()
249 result[0] = deriv[GET_SWZ(source->Swizzle, 0)]; in fetch_vector4_deriv()
250 result[1] = deriv[GET_SWZ(source->Swizzle, 1)]; in fetch_vector4_deriv()
251 result[2] = deriv[GET_SWZ(source->Swizzle, 2)]; in fetch_vector4_deriv()
252 result[3] = deriv[GET_SWZ(source->Swizzle, 3)]; in fetch_vector4_deriv()