Lines Matching defs:cast
31 nir_deref_instr *cast = nir_src_as_deref(*deref_src);
32 if (cast == NULL || cast->deref_type != nir_deref_type_cast)
38 nir_deref_instr *parent = nir_src_as_deref(cast->parent);
43 if (cast->cast.align_mul > 0)
47 if (cast->type == glsl_int8_t_type() ||
48 cast->type == glsl_uint8_t_type()) {
61 /* We don't want to get rid of the cast if the resulting type would be
182 * the cast on the other mode.
199 * cast to any other type and it's never used as a memcpy source so nothing