Home
last modified time | relevance | path

Searched refs:vec_deref (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_array_deref_of_vec.c28 build_write_masked_store(nir_builder *b, nir_deref_instr *vec_deref, in build_write_masked_store() argument
32 unsigned num_components = glsl_get_components(vec_deref->type); in build_write_masked_store()
41 nir_store_deref(b, vec_deref, vec, (1u << component)); in build_write_masked_store()
45 build_write_masked_stores(nir_builder *b, nir_deref_instr *vec_deref, in build_write_masked_stores() argument
50 build_write_masked_store(b, vec_deref, value, start); in build_write_masked_stores()
54 build_write_masked_stores(b, vec_deref, value, index, start, mid); in build_write_masked_stores()
56 build_write_masked_stores(b, vec_deref, value, index, mid, end); in build_write_masked_stores()
99 nir_deref_instr *vec_deref = nir_deref_instr_parent(deref); in nir_lower_array_deref_of_vec_impl() local
100 if (!glsl_type_is_vector(vec_deref->type)) in nir_lower_array_deref_of_vec_impl()
104 unsigned num_components = glsl_get_components(vec_deref->type); in nir_lower_array_deref_of_vec_impl()
[all …]
/external/mesa3d/src/compiler/spirv/
Dvtn_amd.c206 nir_deref_instr *vec_deref = NULL; in vtn_handle_amd_shader_explicit_vertex_parameter_instruction() local
208 vec_deref = deref; in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
223 assert(vec_deref); in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
225 vec_deref->arr.index.ssa); in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
Dvtn_glsl450.c596 nir_deref_instr *vec_deref = NULL; in handle_glsl450_interpolation() local
598 vec_deref = deref; in handle_glsl450_interpolation()
623 def = nir_vector_extract(&b->nb, def, vec_deref->arr.index.ssa); in handle_glsl450_interpolation()