Lines Matching full:assigned
143 unsigned assigned;
145 /* Write-mask in the destination that receives counted by 'assigned'.
153 * - All constant components can be assigned at once.
155 * unary operator can be assigned at once.
159 assigned = 0;
168 case GLSL_TYPE_UINT: d.u[assigned] = c->value.u[0]; break;
169 case GLSL_TYPE_INT: d.i[assigned] = c->value.i[0]; break;
170 case GLSL_TYPE_FLOAT: d.f[assigned] = c->value.f[0]; break;
171 case GLSL_TYPE_BOOL: d.b[assigned] = c->value.b[0]; break;
176 assigned++;
179 assert((write_mask == 0) == (assigned == 0));
183 if (assigned > 0) {
186 assigned, 0),
206 assigned++;
209 assert(assigned == expr->type->vector_elements);