Lines Matching defs:slot
400 * The value value comes from vertex[slot][i].
401 * The result will be put into setup->coef[slot].a0[i].
402 * \param slot which attribute slot
403 * \param i which component of the slot (0..3)
506 setup_fragcoord_coeff(struct setup_context *setup, uint slot)
515 setup->coef[slot].a0[0] = pixel_center_integer ? 0.0f : 0.5f;
516 setup->coef[slot].dadx[0] = 1.0f;
517 setup->coef[slot].dady[0] = 0.0f;
519 setup->coef[slot].a0[1] =
522 setup->coef[slot].dadx[1] = 0.0f;
523 setup->coef[slot].dady[1] = origin_lower_left ? -1.0f : 1.0f;
525 setup->coef[slot].a0[2] = setup->posCoef.a0[2];
526 setup->coef[slot].dadx[2] = setup->posCoef.dadx[2];
527 setup->coef[slot].dady[2] = setup->posCoef.dady[2];
529 setup->coef[slot].a0[3] = setup->posCoef.a0[3];
530 setup->coef[slot].dadx[3] = setup->posCoef.dadx[3];
531 setup->coef[slot].dady[3] = setup->posCoef.dady[3];