Home
last modified time | relevance | path

Searched refs:nir_build_deref_array (Results 1 – 24 of 24) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp41 … nir_load_deref(b, nir_build_deref_array(b, nir_build_deref_var(b, vertices), nir_imm_int(b, 0))); in nir_cull_face()
43 … nir_load_deref(b, nir_build_deref_array(b, nir_build_deref_var(b, vertices), nir_imm_int(b, 1))); in nir_cull_face()
45 … nir_load_deref(b, nir_build_deref_array(b, nir_build_deref_var(b, vertices), nir_imm_int(b, 2))); in nir_cull_face()
102 nir_deref_instr *in_value = nir_build_deref_array(&b, nir_build_deref_var(&b, in), in d3d12_make_passthrough_gs()
260 …nir_load_deref(b, nir_build_deref_array(b, nir_build_deref_var(b, edgeflag_var), emit_ctx->loop_in… in d3d12_begin_emit_primitives_gs()
328 …nir_deref_instr *in_value = nir_build_deref_array(b, nir_build_deref_var(b, emit_ctx.in[i]), index… in d3d12_emit_points()
361 …nir_deref_instr *in_value = nir_build_deref_array(b, nir_build_deref_var(b, emit_ctx.in[i]), index… in d3d12_emit_lines()
376 nir_build_deref_array(b, nir_build_deref_var(b, emit_ctx.in[i]), index)); in d3d12_emit_lines()
416 …nir_deref_instr *in_value = nir_build_deref_array(b, nir_build_deref_var(b, emit_ctx.in[i]), index… in d3d12_emit_triangles()
Dd3d12_nir_passes.c709 …nir_deref_instr *deref = nir_build_deref_array(b, nir_build_deref_var(b, varyings[var->data.locati… in lower_triangle_strip_store()
754 …nir_copy_deref(b, nir_build_deref_array(b, nir_build_deref_var(b, varyings[i]), nir_umod(b, vertex… in lower_triangle_strip_emit_vertex()
755 nir_build_deref_array(b, nir_build_deref_var(b, varyings[i]), two)); in lower_triangle_strip_emit_vertex()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_printf.c87 nir_build_deref_array(b, buffer, fmt_str_id_offset); in lower_printf_instr()
118 nir_build_deref_array(b, buffer, arg_offset); in lower_printf_instr()
Dnir_lower_multiview.c291 nir_load_deref(&b, nir_build_deref_array(&b, view_index_deref, loop_index)); in nir_lower_multiview()
293 nir_build_deref_array(&b, nir_build_deref_var(&b, pos_var), loop_index); in nir_lower_multiview()
Dnir_lower_io_to_temporaries.c160 nir_build_deref_array(b, temp_deref, in emit_interp()
163 nir_build_deref_array(b, new_interp_deref, in emit_interp()
Dnir_lower_io_to_vector.c373 deref = nir_build_deref_array(b, deref, index); in build_array_deref_of_new_var_flat()
381 return nir_build_deref_array(b, deref, in build_array_deref_of_new_var_flat()
Dnir_lower_non_uniform_access.c99 nir_build_deref_array(b, h->parent_deref, h->first); in nu_handle_rewrite()
Dnir_lower_io_to_scalar.c172 return nir_build_deref_array(b, dst_tail, in clone_deref_array()
Dnir_lower_io_arrays_to_elements.c169 element_deref = nir_build_deref_array(b, element_deref, array_index); in lower_array()
Dnir_builder.h1287 nir_build_deref_array(nir_builder *build, nir_deref_instr *parent, in nir_build_deref_array() function
1321 return nir_build_deref_array(build, parent, idx_ssa); in nir_build_deref_array_imm()
1475 return nir_build_deref_array(b, parent, index); in nir_build_deref_follower()
/third_party/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp1244 create_shared_load(nir_build_deref_array(b, deref, index_base), 0x1); in TEST_F()
1245 create_shared_load(nir_build_deref_array(b, deref, nir_iadd_imm(b, index_base, 1)), 0x2); in TEST_F()
1280 create_shared_load(nir_build_deref_array(b, deref, index_base_prev), 0x1); in TEST_F()
1281 create_shared_load(nir_build_deref_array(b, deref, index_base), 0x2); in TEST_F()
1774 …nir_deref_instr *load_deref = nir_build_deref_array(b, nir_build_deref_struct(b, deref, 0), index0… in TEST_F()
1777 create_shared_store(nir_build_deref_array(b, nir_build_deref_struct(b, deref, 1), index1), 0x2); in TEST_F()
1946 create_shared_load(nir_build_deref_array(b, deref, index), 0x1); in TEST_F()
1947 create_shared_load(nir_build_deref_array(b, deref, nir_iadd_imm(b, index, 1)), 0x2); in TEST_F()
1948 create_shared_load(nir_build_deref_array(b, deref, nir_iadd_imm(b, index, 2)), 0x3); in TEST_F()
Dvars_tests.cpp1226 nir_build_deref_array(b, nir_build_deref_var(b, vec), idx_ssa); in TEST_F()
1231 nir_build_deref_array(b, nir_build_deref_var(b, vec), idx_ssa); in TEST_F()
1266 nir_build_deref_array(b, nir_build_deref_var(b, vec), idx_ssa); in TEST_F()
1303 nir_build_deref_array(b, nir_build_deref_var(b, arr), idx_ssa); in TEST_F()
1308 nir_build_deref_array(b, nir_build_deref_var(b, arr), idx_ssa); in TEST_F()
1986 …nir_store_deref(b, nir_build_deref_array(b, temp_deref, &ind_deref->dest.ssa), nir_load_var(b, in[… in TEST_F()
2011 nir_deref_instr *level0 = nir_build_deref_array(b, temp_deref, &ind_deref->dest.ssa); in TEST_F()
2044 …nir_deref_instr *level1 = nir_build_deref_array(b, level0, nir_iadd(b, &ind_deref->dest.ssa, nir_i… in TEST_F()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_64bit.cpp234 auto deref_array1 = nir_build_deref_array(b, deref1, nir_ssa_for_src(b, index, 1)); in split_load_deref_array()
238 auto deref_array2 = nir_build_deref_array(b, deref2, nir_ssa_for_src(b, index, 1)); in split_load_deref_array()
258 auto deref_array1 = nir_build_deref_array(b, deref1, nir_ssa_for_src(b, deref->arr.index, 1)); in split_store_deref_array()
263 auto deref_array2 = nir_build_deref_array(b, deref2, nir_ssa_for_src(b, deref->arr.index, 1)); in split_store_deref_array()
Dsfn_nir_vectorize_vs_inputs.c53 return nir_build_deref_array(b, dst_tail, in r600_clone_deref_array()
Dsfn_nir_lower_fs_out_to_vector.cpp308 return nir_build_deref_array(b, dst_tail, in clone_deref_array()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c217 new_deref = nir_build_deref_array(b, new_deref, in lower_deref()
Dglsl_to_nir.cpp2602 this->deref = nir_build_deref_array(&b, this->deref, index); in visit()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1092 deref = nir_build_deref_array(b, deref, nir_u2uN(b, tex->src[idx].src.ssa, 32)); in lower_bindless_instr()
1159 deref = nir_build_deref_array(b, deref, nir_u2uN(b, instr->src[0].ssa, 32)); in lower_bindless_instr()
1592 …nir_deref_instr *in_array_var = nir_build_deref_array(&b, nir_build_deref_var(&b, in), invocation_… in zink_shader_tcs_create()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c139 nir_deref_instr *deref = nir_build_deref_array(t->b, in atifs_load_uniform()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c183 deref = nir_build_deref_array(b, deref, nir_channel(b, index, 0)); in ptn_get_src()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c1221 …nir_deref_instr *new_array_deref = nir_build_deref_array(b, new_var_deref, nir_imm_int(b, total_in… in dxil_nir_split_clip_cull_distance_instr()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c459 tail = nir_build_deref_array(&b->nb, tail, arr_index); in vtn_pointer_dereference()
Dspirv_to_nir.c5544 nir_build_deref_array(&b->nb, indices, in vtn_handle_write_packed_primitive_indices()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c507 return nir_build_deref_array(&c->build, deref, index); in ttn_array_deref()