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