Home | History | Annotate | Download | only in glsl

Lines Matching refs:op0

63 dot(ir_constant *op0, ir_constant *op1)
65 assert(op0->type->is_float() && op1->type->is_float());
68 for (unsigned c = 0; c < op0->type->components(); c++)
69 result += op0->value.f[c] * op1->value.f[c];