Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_clip_disable.c46 nir_store_deref(b, deref, value, 1 << start); in recursive_if_chain()
48 nir_store_deref(b, deref, nir_imm_int(b, 0), 1 << start); in recursive_if_chain()
96 nir_store_deref(b, deref, nir_vec(b, components, instr->num_components), wrmask); in lower_clip_plane_store()
105 nir_store_deref(b, deref, nir_imm_int(b, 0), 1); in lower_clip_plane_store()
Dnir_lower_is_helper_invocation.c54 nir_store_deref(b, is_helper_deref, nir_imm_bool(b, true), 1); in nir_lower_load_and_store_is_helper()
61 nir_store_deref(b, is_helper_deref, updated_is_helper, 1); in nir_lower_load_and_store_is_helper()
120 nir_store_deref(&b, is_helper_deref, started_as_helper, 1); in nir_lower_is_helper_invocation()
Dnir_lower_multiview.c245 nir_store_deref(&b, loop_index_deref, nir_imm_int(&b, 0), 1); in nir_lower_multiview()
259 nir_store_deref(&b, nir_build_deref_array_imm(&b, view_index_deref, array_position), in nir_lower_multiview()
295 nir_store_deref(&b, loop_index_deref, nir_iadd_imm(&b, loop_index, 1), 1); in nir_lower_multiview()
Dnir_lower_printf.c92 nir_store_deref(b, fmt_str_id_deref, fmt_str_id, ~0); in lower_printf_instr()
123 nir_store_deref(b, dst_arg_deref, arg, ~0); in lower_printf_instr()
Dnir_lower_variable_initializers.c37 nir_store_deref(b, deref, &load->def, ~0); in build_constant_load()
79 nir_store_deref(b, dst_deref, &src_deref->dest.ssa, ~0); in lower_const_initializer()
Dnir_lower_array_deref_of_vec.c41 nir_store_deref(b, vec_deref, vec, (1u << component)); in build_write_masked_store()
Dnir_lower_memcpy.c77 nir_store_deref(b, deref, value, ~0); in memcpy_store_deref_elem()
Dnir_lower_indirect_derefs.c110 nir_store_deref(b, parent, src, nir_intrinsic_write_mask(orig_instr)); in emit_load_store_deref()
Dnir_lower_io_to_temporaries.c215 nir_store_deref(b, temp_deref, &new_interp->dest.ssa, in emit_interp()
Dnir_lower_clip.c272 nir_store_deref(b, deref, clipdist[plane], 1); in lower_clip_outputs()
Dnir_builder.h1537 #undef nir_store_deref
1539 nir_store_deref(nir_builder *build, nir_deref_instr *deref, in nir_store_deref() function
1594 nir_store_deref(build, nir_build_deref_var(build, var), value, writemask); in nir_store_var()
Dnir_opt_copy_prop_vars.c1109 nir_store_deref(b, dst.instr, value.ssa.def[0], full_mask); in copy_prop_vars_block()
/third_party/mesa3d/src/compiler/nir/tests/
Dvars_tests.cpp1180 nir_store_deref(b, store_deref_y, nir_imm_int(b, 20), 1); in TEST_F()
1184 nir_store_deref(b, store_deref_x, nir_imm_int(b, 10), 1); in TEST_F()
1227 nir_store_deref(b, store_deref, nir_imm_int(b, 20), 1); in TEST_F()
1304 nir_store_deref(b, store_deref, nir_imm_int(b, 20), 1); in TEST_F()
1704 nir_store_deref(b, out_deref, nir_load_var(b, v[0]), in TEST_F()
1708 nir_store_deref(b, out_deref, nir_load_var(b, v[1]), in TEST_F()
1712 nir_store_deref(b, in TEST_F()
1718 nir_store_deref(b, in TEST_F()
1823 nir_store_deref(b, nir_build_deref_array_imm(b, temp_deref, i), nir_load_var(b, in[i]), 1); in TEST_F()
1856 nir_store_deref(b, nir_build_deref_array_imm(b, temp2_deref, i), nir_load_var(b, in[i]), 1); in TEST_F()
[all …]
Dload_store_vectorizer_tests.cpp334 nir_store_deref(b, deref, value, wrmask & ((1 << components) - 1)); in create_shared_store()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp215 nir_store_deref(b, emit_ctx->loop_index_deref, nir_imm_int(b, 0), 1); in d3d12_begin_emit_primitives_gs()
290 nir_store_deref(b, emit_ctx->loop_index_deref, nir_iadd_imm(b, emit_ctx->loop_index, 1), 1); in d3d12_finish_emit_primitives_gs()
333 nir_store_deref(b, nir_build_deref_var(b, emit_ctx.out[i]), in d3d12_emit_points()
Dd3d12_nir_passes.c711 nir_store_deref(b, deref, value, 0xf); in lower_triangle_strip_store()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_intersection_shader.c85 nir_store_deref(b, commit, nir_imm_false(b), 0x1); in lower_any_hit_for_intersection()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1204 nir_store_deref(b, deref, instr->src[1].ssa, nir_intrinsic_write_mask(instr)); in lower_bindless_io_instr()
1595 nir_store_deref(&b, out_array_var, load, 0xff); in zink_shader_tcs_create()
1627 nir_store_deref(&b, store_idx, nir_channel(&b, load_inner, i), 0xff); in zink_shader_tcs_create()
1631 nir_store_deref(&b, store_idx, nir_channel(&b, load_outer, i), 0xff); in zink_shader_tcs_create()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c977 nir_store_deref(b, deref, value, 1); in memcpy_store_deref_elem()
1006 nir_store_deref(b, loop_index_deref, nir_imm_int(b, 0), 1); in lower_memcpy_deref()
1016 nir_store_deref(b, loop_index_deref, nir_iadd_imm(b, loop_index, 1), 1); in lower_memcpy_deref()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c826 nir_store_deref(&b->nb, field_deref, in handle_printf()
830 nir_store_deref(&b->nb, field_deref, field_src, ~0); in handle_printf()
Dspirv_to_nir.c5548 nir_store_deref(&b->nb, offset_deref, val, 0x1); in vtn_handle_write_packed_primitive_indices()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp868 nir_store_deref(&b, ret_deref, val, ~0); in visit()
1605 nir_store_deref(&b, evaluate_deref(ir->return_deref), ret, ~0); in visit()
1650 nir_store_deref(&b, evaluate_deref(ir->return_deref), nir_load_deref(&b, ret_deref), ~0); in visit()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c2185 nir_store_deref(b, ttn_array_deref(c, var, offset, indirect), in ttn_emit_instruction()
2232 nir_store_deref(b, nir_build_deref_var(b, var), store_value, in ttn_add_output_stores()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c945 nir_store_deref(b, commit, nir_imm_false(b), 0x1); in lower_any_hit_for_intersection()