Lines Matching defs:inout
639 struct vtn_ssa_value *inout,
644 inout->def = nir_load_deref_with_access(&b->nb, deref, access);
646 nir_store_deref_with_access(&b->nb, deref, inout->def, ~0, access);
654 _vtn_local_load_store(b, load, child, inout->elems[i], access);
661 _vtn_local_load_store(b, load, child, inout->elems[i], access);
808 struct vtn_ssa_value **inout, const struct glsl_type *type,
824 instr->src[src++] = nir_src_for_ssa((*inout)->def);
860 (*inout)->def = &instr->dest.ssa;
866 (*inout)->def = nir_ine(&b->nb, (*inout)->def, nir_imm_int(&b->nb, 0));
874 struct vtn_ssa_value **inout)
876 if (load && *inout == NULL)
877 *inout = vtn_create_ssa_value(b, type->type);
907 *inout = vtn_create_ssa_value(b, transpose_type);
909 transpose = vtn_ssa_transpose(b, *inout);
910 inout = &transpose;
923 &(*inout)->elems[i],
929 *inout = vtn_ssa_transpose(b, *inout);
938 inout, type->type,
953 temp_val.def = nir_channel(&b->nb, (*inout)->def, i);
965 if (*inout == NULL)
966 *inout = vtn_create_ssa_value(b, type->type);
967 (*inout)->def = nir_vec(&b->nb, per_comp, elems);
982 &(*inout)->elems[i]);
997 &(*inout)->elems[i]);
1067 struct vtn_ssa_value **inout)
1097 *inout = vtn_create_ssa_value(b, ptr->type->type);
1098 (*inout)->def = nir_load_deref_with_access(&b->nb, deref,
1101 nir_store_deref_with_access(&b->nb, deref, (*inout)->def, ~0,
1106 *inout = vtn_local_load(b, deref, ptr->type->access | access);
1108 vtn_local_store(b, *inout, deref, ptr->type->access | access);
1120 vtn_assert(*inout == NULL);
1121 *inout = rzalloc(b, struct vtn_ssa_value);
1122 (*inout)->type = ptr->type->type;
1123 (*inout)->elems = rzalloc_array(b, struct vtn_ssa_value *, elems);
1136 &(*inout)->elems[i]);
2157 /* In order to know whether or not we're a per-vertex inout, we need