Searched refs:swiz_idx (Results 1 – 3 of 3) sorted by relevance
681 const unsigned swiz_idx[4] = { in constant_expression_value() local688 case GLSL_TYPE_INT: data.u[i] = v->value.u[swiz_idx[i]]; break; in constant_expression_value()689 case GLSL_TYPE_FLOAT: data.f[i] = v->value.f[swiz_idx[i]]; break; in constant_expression_value()690 case GLSL_TYPE_BOOL: data.b[i] = v->value.b[swiz_idx[i]]; break; in constant_expression_value()691 case GLSL_TYPE_DOUBLE:data.d[i] = v->value.d[swiz_idx[i]]; break; in constant_expression_value()
1456 int swiz_idx[4] = { 0, 0, 0, 0 }; in create() local1476 swiz_idx[i] = idx_map[str[i] - 'a'] - base; in create()1477 if ((swiz_idx[i] < 0) || (swiz_idx[i] >= (int) vector_length)) in create()1484 return new(ctx) ir_swizzle(val, swiz_idx[0], swiz_idx[1], swiz_idx[2], in create()1485 swiz_idx[3], i); in create()
443 unsigned swiz_idx) in get_imm_u32() argument446 unsigned int idx = imm->reg * 4 + ((imm->swiz >> (swiz_idx * 2)) & 3); in get_imm_u32()