Lines Matching refs:slot

62               unsigned slot,
66 info->a0[slot][i] = value;
67 info->dadx[slot][i] = 0.0f;
68 info->dady[slot][i] = 0.0f;
75 unsigned slot,
89 info->a0[slot][i] = info->v0[slot][i]*w0;
90 info->dadx[slot][i] = 0.0f;
91 info->dady[slot][i] = 0.0f;
97 * \param slot the vertex attribute slot to setup
106 unsigned slot,
121 info->dadx[slot][0] = dadx;
122 info->dady[slot][0] = dady;
123 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0);
126 info->dadx[slot][0] *= w0;
127 info->dady[slot][0] *= w0;
128 info->a0[slot][0] *= w0;
141 info->dadx[slot][1] = dadx;
142 info->dady[slot][1] = dady;
143 info->a0[slot][1] = 0.5 - (dadx * x0 + dady * y0);
146 info->dadx[slot][1] *= w0;
147 info->dady[slot][1] *= w0;
148 info->a0[slot][1] *= w0;
152 info->a0[slot][2] = 0.0f;
153 info->dadx[slot][2] = 0.0f;
154 info->dady[slot][2] = 0.0f;
157 info->a0[slot][3] = perspective ? w0 : 1.0f;
158 info->dadx[slot][3] = 0.0f;
159 info->dady[slot][3] = 0.0f;
173 unsigned slot,
178 info->a0[slot][0] = 0.0;
179 info->dadx[slot][0] = 1.0;
180 info->dady[slot][0] = 0.0;
185 info->a0[slot][1] = 0.0;
186 info->dadx[slot][1] = 0.0;
187 info->dady[slot][1] = 1.0;
192 constant_coef(setup, info, slot, info->v0[0][2], 2);
197 constant_coef(setup, info, slot, info->v0[0][3], 3);
212 unsigned slot;
216 for (slot = 0; slot < key->num_inputs; slot++) {
217 unsigned vert_attr = key->inputs[slot].src_index;
218 unsigned usage_mask = key->inputs[slot].usage_mask;
219 enum lp_interp interp = key->inputs[slot].interp;
231 * slot 0, so all need to ensure that the usage mask is covers all
244 if (shader->info.base.input_semantic_name[slot] == TGSI_SEMANTIC_GENERIC) {
245 unsigned semantic_index = shader->info.base.input_semantic_index[slot];
253 texcoord_coef(setup, info, slot + 1, i,
266 point_persp_coeff(setup, info, slot+1, i);
269 constant_coef(setup, info, slot+1, info->v0[vert_attr][i], i);
278 constant_coef(setup, info, slot+1, 1.0, i);
287 /* The internal position input is in slot zero: