Lines Matching refs:deriv
313 GLfloat deriv[4]; in fetch_vector4_deriv() local
316 deriv[0] = machine->DerivX[source->Index][0] * invQ; in fetch_vector4_deriv()
317 deriv[1] = machine->DerivX[source->Index][1] * invQ; in fetch_vector4_deriv()
318 deriv[2] = machine->DerivX[source->Index][2] * invQ; in fetch_vector4_deriv()
319 deriv[3] = machine->DerivX[source->Index][3] * invQ; in fetch_vector4_deriv()
322 deriv[0] = machine->DerivY[source->Index][0] * invQ; in fetch_vector4_deriv()
323 deriv[1] = machine->DerivY[source->Index][1] * invQ; in fetch_vector4_deriv()
324 deriv[2] = machine->DerivY[source->Index][2] * invQ; in fetch_vector4_deriv()
325 deriv[3] = machine->DerivY[source->Index][3] * invQ; in fetch_vector4_deriv()
328 result[0] = deriv[GET_SWZ(source->Swizzle, 0)]; in fetch_vector4_deriv()
329 result[1] = deriv[GET_SWZ(source->Swizzle, 1)]; in fetch_vector4_deriv()
330 result[2] = deriv[GET_SWZ(source->Swizzle, 2)]; in fetch_vector4_deriv()
331 result[3] = deriv[GET_SWZ(source->Swizzle, 3)]; in fetch_vector4_deriv()