Home
last modified time | relevance | path

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

12

/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.c260 nir_store_deref(&b, loop_index_deref, nir_imm_int(&b, 0), 1); in nir_lower_multiview()
274 nir_store_deref(&b, nir_build_deref_array_imm(&b, view_index_deref, array_position), in nir_lower_multiview()
310 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_builder.h1395 #undef nir_store_deref
1397 nir_store_deref(nir_builder *build, nir_deref_instr *deref, in nir_store_deref() function
1452 nir_store_deref(build, nir_build_deref_var(build, var), value, writemask); in nir_store_var()
1484 nir_store_deref(build, deref, value, writemask); in nir_store_array_var()
1493 nir_store_deref(build, deref, value, writemask); in nir_store_array_var_imm()
Dnir_lower_io_to_temporaries.c215 nir_store_deref(b, temp_deref, &new_interp->dest.ssa, in emit_interp()
Dnir_lower_clip.c287 nir_store_deref(b, deref, clipdist[plane], 1); in lower_clip_outputs()
/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()
1347 nir_store_deref(b, ssbo0_x, nir_imm_int(b, 20), 1); in TEST_F()
1351 nir_store_deref(b, ssbo1_x, nir_imm_int(b, 30), 1); in TEST_F()
1356 nir_store_deref(b, out_x, nir_load_deref(b, ssbo0_x), 1); in TEST_F()
1393 nir_store_deref(b, ssbo0_x, nir_imm_int(b, 20), 1); in TEST_F()
1397 nir_store_deref(b, ssbo1_x, nir_imm_int(b, 30), 1); in TEST_F()
1402 nir_store_deref(b, out_x, nir_load_deref(b, ssbo0_x), 1); in TEST_F()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_xfb_varying.c144 nir_store_deref(b, new_var_m_deref, value, writemask); in copy_to_new_var()
148 nir_store_deref(b, new_var_deref, value, writemask); in copy_to_new_var()
Dglsl_to_nir.cpp905 nir_store_deref(&b, ret_deref, val, ~0); in visit()
1673 nir_store_deref(&b, ret_deref, ret, ~0); in visit()
1719 nir_store_deref(&b, evaluate_deref(ir->return_deref), nir_load_deref(&b, ret_deref), ~0); in visit()
2696 nir_store_deref(&b, this->deref, ssa, ~0); in visit()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_tcs_variant.cpp127 nir_store_deref(&b, store_idx, nir_channel(&b, load_inner, i), 0xff); in create_tess_ctrl_shader_variant()
131 nir_store_deref(&b, store_idx, nir_channel(&b, load_outer, i), 0xff); in create_tess_ctrl_shader_variant()
Dd3d12_gs_variant.cpp246 nir_store_deref(b, emit_ctx->loop_index_deref, nir_imm_int(b, 0), 1); in d3d12_begin_emit_primitives_gs()
321 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()
364 nir_store_deref(b, nir_build_deref_var(b, emit_ctx.out[i]), in d3d12_emit_points()
Dd3d12_nir_passes.c768 nir_store_deref(b, deref, value, 0xf); in lower_triangle_strip_store()
1114 nir_store_deref(b, deref, zero_val, writemask); in write_0()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_tess.c132 nir_store_deref(b, loop_var_deref, nir_imm_int(b, 0), 1); in start_tcs_loop()
139 nir_store_deref(b, loop_var_deref, nir_iadd_imm(b, state->count, 1), 1); in start_tcs_loop()
/third_party/mesa3d/src/intel/compiler/
Dbrw_kernel.c103 nir_store_deref(&b, ret, &atomic->dest.ssa, ~0); in implement_atomic_builtin()
124 nir_store_deref(&b, ret, &ballot->dest.ssa, ~0); in implement_sub_group_ballot_builtin()
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/mesa/state_tracker/
Dst_glsl_to_nir.cpp256 nir_store_deref(&b, deref, nir_imm_float(&b, 1.0), BITFIELD_BIT(0)); in st_nir_add_point_size()
266 nir_store_deref(&b, deref, nir_imm_float(&b, 1.0), BITFIELD_BIT(0)); in st_nir_add_point_size()
301 nir_store_deref(b, arr, nir_channels(b, zero, mask), mask); in zero_array_members()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1720 nir_store_deref(&b, strct, val, BITFIELD_MASK(incr)); in lower_64bit_vars()
1730 nir_store_deref(&b, deref, dest, mask); in lower_64bit_vars()
1740 nir_store_deref(&b, strct, dest, mask & BITFIELD_MASK(4)); in lower_64bit_vars()
2540 nir_store_deref(b, deref, instr->src[1].ssa, nir_intrinsic_write_mask(instr)); in lower_bindless_io_instr()
3366 nir_store_deref(&b, out_array_var, load, 0xff); in zink_shader_tcs_create()
3396 nir_store_deref(&b, store_idx, nir_channel(&b, load_inner, i), 0xff); in zink_shader_tcs_create()
3400 nir_store_deref(&b, store_idx, nir_channel(&b, load_outer, i), 0xff); in zink_shader_tcs_create()
/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()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c901 nir_store_deref(b, commit, nir_imm_false(b), 0x1); in lower_any_hit_for_intersection()
1431 nir_store_deref(&b, stack, bvh_root, 0x1); in build_traversal_shader()
1508nir_store_deref(&b, stack, nir_iand_imm(&b, nir_channel(&b, instance_data, 0), 63), 0x1); in build_traversal_shader()
1547 nir_store_deref(&b, stack, new_node, 0x1); in build_traversal_shader()
Dradv_nir_lower_ray_queries.c69 nir_store_deref(b, nir_build_deref_array(b, nir_build_deref_var(b, array), index), value, in nir_store_array()
118 nir_store_deref( in rq_store_array()

12