Lines Matching refs:other
53 const ir_constant *other = ir->as_constant();
54 if (!other)
57 if (type != other->type)
62 if (value.d[i] != other->value.d[i])
65 if (value.u[i] != other->value.u[i])
77 const ir_dereference_variable *other = ir->as_dereference_variable();
78 if (!other)
81 return var == other->var;
88 const ir_dereference_array *other = ir->as_dereference_array();
89 if (!other)
92 if (type != other->type)
95 if (!array->equals(other->array, ignore))
98 if (!array_index->equals(other->array_index, ignore))
108 const ir_swizzle *other = ir->as_swizzle();
109 if (!other)
112 if (type != other->type)
116 if (mask.x != other->mask.x ||
117 mask.y != other->mask.y ||
118 mask.z != other->mask.z ||
119 mask.w != other->mask.w) {
124 return val->equals(other->val, ignore);
130 const ir_texture *other = ir->as_texture();
131 if (!other)
134 if (type != other->type)
137 if (op != other->op)
140 if (is_sparse != other->is_sparse)
143 if (!possibly_null_equals(coordinate, other->coordinate, ignore))
146 if (!possibly_null_equals(projector, other->projector, ignore))
149 if (!possibly_null_equals(shadow_comparator, other->shadow_comparator, ignore))
152 if (!possibly_null_equals(offset, other->offset, ignore))
155 if (!possibly_null_equals(clamp, other->clamp, ignore))
158 if (!sampler->equals(other->sampler, ignore))
169 if (!lod_info.bias->equals(other->lod_info.bias, ignore))
175 if (!lod_info.lod->equals(other->lod_info.lod, ignore))
179 if (!lod_info.grad.dPdx->equals(other->lod_info.grad.dPdx, ignore) ||
180 !lod_info.grad.dPdy->equals(other->lod_info.grad.dPdy, ignore))
184 if (!lod_info.sample_index->equals(other->lod_info.sample_index, ignore))
188 if (!lod_info.component->equals(other->lod_info.component, ignore))
201 const ir_expression *other = ir->as_expression();
202 if (!other)
205 if (type != other->type)
208 if (operation != other->operation)
212 if (!operands[i]->equals(other->operands[i], ignore))