Searched refs:vtn_ssa_value (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/compiler/spirv/ |
D | vtn_private.h | 243 struct vtn_ssa_value { struct 246 struct vtn_ssa_value **elems; argument 253 struct vtn_ssa_value *transposed; argument 503 struct vtn_ssa_value *ssa; 615 struct vtn_type *type, struct vtn_ssa_value *ssa) in vtn_push_ssa() 642 struct vtn_ssa_value *vtn_ssa_value(struct vtn_builder *b, uint32_t value_id); 644 struct vtn_ssa_value *vtn_create_ssa_value(struct vtn_builder *b, 647 struct vtn_ssa_value *vtn_ssa_transpose(struct vtn_builder *b, 648 struct vtn_ssa_value *src); 671 struct vtn_ssa_value *vtn_local_load(struct vtn_builder *b, nir_deref_var *src); [all …]
|
D | vtn_alu.c | 34 static struct vtn_ssa_value * 35 wrap_matrix(struct vtn_builder *b, struct vtn_ssa_value *val) in wrap_matrix() 43 struct vtn_ssa_value *dest = rzalloc(b, struct vtn_ssa_value); in wrap_matrix() 45 dest->elems = ralloc_array(b, struct vtn_ssa_value *, 1); in wrap_matrix() 51 static struct vtn_ssa_value * 52 unwrap_matrix(struct vtn_ssa_value *val) in unwrap_matrix() 60 static struct vtn_ssa_value * 62 struct vtn_ssa_value *_src0, struct vtn_ssa_value *_src1) in matrix_multiply() 65 struct vtn_ssa_value *src0 = wrap_matrix(b, _src0); in matrix_multiply() 66 struct vtn_ssa_value *src1 = wrap_matrix(b, _src1); in matrix_multiply() [all …]
|
D | spirv_to_nir.c | 158 static struct vtn_ssa_value * 161 struct vtn_ssa_value *val = rzalloc(b, struct vtn_ssa_value); in vtn_undef_ssa_value() 170 val->elems = ralloc_array(b, struct vtn_ssa_value *, elems); in vtn_undef_ssa_value() 193 static struct vtn_ssa_value * 202 struct vtn_ssa_value *val = rzalloc(b, struct vtn_ssa_value); in vtn_const_ssa_value() 230 val->elems = ralloc_array(b, struct vtn_ssa_value *, columns); in vtn_const_ssa_value() 233 struct vtn_ssa_value *col_val = rzalloc(b, struct vtn_ssa_value); in vtn_const_ssa_value() 251 val->elems = ralloc_array(b, struct vtn_ssa_value *, elems); in vtn_const_ssa_value() 261 val->elems = ralloc_array(b, struct vtn_ssa_value *, elems); in vtn_const_ssa_value() 278 struct vtn_ssa_value * [all …]
|
D | vtn_variables.c | 126 nir_ssa_def *ssa = vtn_ssa_value(b, link.id)->def; in vtn_access_link_as_ssa() 131 nir_ssa_def *src0 = vtn_ssa_value(b, link.id)->def; in vtn_access_link_as_ssa() 436 nir_src_for_ssa(vtn_ssa_value(b, chain->link[i].id)->def); in vtn_pointer_to_deref() 472 nir_deref *tail, struct vtn_ssa_value *inout) in _vtn_local_load_store() 553 struct vtn_ssa_value * 557 struct vtn_ssa_value *val = vtn_create_ssa_value(b, src_tail->type); in vtn_local_load() 575 vtn_local_store(struct vtn_builder *b, struct vtn_ssa_value *src, in vtn_local_store() 581 struct vtn_ssa_value *val = vtn_create_ssa_value(b, dest_tail->type); in vtn_local_store() 747 struct vtn_ssa_value **inout, const struct glsl_type *type) in _vtn_load_store_tail() 796 struct vtn_type *type, struct vtn_ssa_value **inout) in _vtn_block_load_store() [all …]
|
D | vtn_glsl450.c | 91 build_mat_det(struct vtn_builder *b, struct vtn_ssa_value *src) in build_mat_det() 112 build_mat_subdet(struct nir_builder *b, struct vtn_ssa_value *src, in build_mat_subdet() 142 static struct vtn_ssa_value * 143 matrix_inverse(struct vtn_builder *b, struct vtn_ssa_value *src) in matrix_inverse() 163 struct vtn_ssa_value *val = vtn_create_ssa_value(b, src->type); in matrix_inverse() 492 src[i] = vtn_ssa_value(b, w[i + 5])->def; in handle_glsl450_alu() 744 intrin->src[0] = nir_src_for_ssa(vtn_ssa_value(b, w[6])->def); in handle_glsl450_interpolation() 766 val->ssa = rzalloc(b, struct vtn_ssa_value); in vtn_handle_glsl450_instruction() 768 val->ssa->def = build_mat_det(b, vtn_ssa_value(b, w[5])); in vtn_handle_glsl450_instruction() 774 val->ssa = matrix_inverse(b, vtn_ssa_value(b, w[5])); in vtn_handle_glsl450_instruction()
|
D | vtn_cfg.c | 192 struct vtn_ssa_value *param_ssa = in vtn_cfg_handle_prepass_instruction() 655 struct vtn_ssa_value *src = vtn_ssa_value(b, w[i]); in vtn_handle_phi_second_pass() 718 struct vtn_ssa_value *src = vtn_ssa_value(b, block->branch[1]); in vtn_emit_cf_list() 736 nir_push_if(&b->nb, vtn_ssa_value(b, vtn_if->condition)->def); in vtn_emit_cf_list() 820 nir_ssa_def *sel = vtn_ssa_value(b, vtn_switch->selector)->def; in vtn_emit_cf_list()
|