Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_undef_to_zero.c51 nir_ssa_def *zero = nir_imm_zero(b, und->def.num_components, in lower_undef_instr_to_zero()
Dnir_lower_texcoord_replace.c94 nir_ssa_def *zero = nir_imm_zero(&b, 1, new_coord->bit_size); in nir_lower_texcoord_replace_impl()
Dnir_opt_offsets.c108 replace_src = nir_imm_zero(b, off_src->ssa->num_components, off_src->ssa->bit_size); in try_fold_load_store()
Dnir_lower_variable_initializers.c185 nir_store_shared(&b, nir_imm_zero(&b, chunk_comps, 32), offset, in nir_zero_initialize_shared_memory()
Dnir_lower_idiv.c230 nir_ssa_def *zero = nir_imm_zero(b, 1, sz); in convert_instr_small()
Dnir_lower_io_arrays_to_elements.c121 nir_ssa_def *zero = nir_imm_zero(b, intr->dest.ssa.num_components, in lower_array()
Dnir_conversion_builder.h96 return nir_bcsel(b, nir_flt(b, src, nir_imm_zero(b, 1, src->bit_size)), in nir_round_float_to_float()
Dnir_lower_int64.c510 nir_ssa_def *q_lo = nir_imm_zero(b, n->num_components, 32); in lower_udiv64_mod64()
511 nir_ssa_def *q_hi = nir_imm_zero(b, n->num_components, 32); in lower_udiv64_mod64()
Dnir_lower_io.c658 nir_imm_zero(b, intrin->dest.ssa.num_components, in nir_lower_io_block()
1403 nir_ssa_def *zero = nir_imm_zero(b, load->num_components, bit_size); in build_explicit_io_load()
Dnir_builder.h277 nir_imm_zero(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_imm_zero() function
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c165 return nir_imm_zero(b, 1, 32); in replace_load_view_index_with_zero()
207 nir_store_var(&b, layer_id_out, nir_imm_zero(&b, 1, 32), 0x1); in anv_nir_lower_multiview()
Danv_nir_lower_ubo_loads.c85 nir_ssa_def *zero = nir_imm_zero(b, load->num_components, bit_size); in lower_ubo_load_instr()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_lower_divergent_indirects.c95 nir_ssa_def *zero = has_dest ? nir_imm_zero(b, 1, size) : NULL; in bi_lower_divergent_indirects_impl()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_legalize_image_load_store.cpp47 default_value = nir_imm_zero(b, nir_dest_num_components(ir->dest), in r600_legalize_image_load_store_impl()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c339 : nir_imm_zero(b, 1, 32); in emit_ngg_nogs_prim_exp_arg()
342 : nir_imm_zero(b, 1, 32); in emit_ngg_nogs_prim_exp_arg()
400 nir_build_store_output(b, prim_id, nir_imm_zero(b, 1, 32), in emit_store_ngg_nogs_es_primitive_id()
1129 …nir_build_store_shared(b, nir_imm_zero(b, 1, 8), es_vertex_lds_addr, .write_mask = 0x1u, .align_mu… in add_deferred_attribute_culling()
1451 nir_ssa_def *zero_u8 = nir_imm_zero(b, 1, 8); in ngg_gs_clear_primflags()
1794 …nir_if *if_wave_0 = nir_push_if(b, nir_ieq(b, nir_build_load_subgroup_id(b), nir_imm_zero(b, 1, 32… in ngg_gs_finale()
1816 …nir_ssa_def *vertex_live = nir_ine(b, out_vtx_primflag_0, nir_imm_zero(b, 1, out_vtx_primflag_0->b… in ngg_gs_finale()
1827 …nir_if *if_wave_0 = nir_push_if(b, nir_ieq(b, nir_build_load_subgroup_id(b), nir_imm_zero(b, 1, 32… in ngg_gs_finale()
Dac_nir_lower_esgs_io_to_mem.c221 return emit_split_buffer_load(b, ring, off, nir_imm_zero(b, 1, 32), 4u * wave_size, in lower_gs_per_vertex_input_load()
Dac_nir_lower_tess_io_to_mem.c538 …nir_build_store_buffer_amd(b, ctrlw, tessfactor_ring, nir_imm_zero(b, 1, 32), tess_factors_base, .… in hs_emit_write_tess_factors()
/third_party/mesa3d/src/compiler/nir/tests/
Dserialize_tests.cpp127 nir_ssa_def *zero = nir_imm_zero(b, GetParam(), 32); in TEST_P()
Dload_store_vectorizer_tests.cpp190 res->src[0] = nir_src_for_ssa(nir_imm_zero(b, 1, 32)); in get_resource()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c436 nir_ssa_def *zero = nir_imm_zero(b, load->num_components, 32); in lower_image_load_instr()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c555 nir_ssa_def *zero = nir_imm_zero(&b, 4, 32); in d3d12_add_missing_dual_src_target()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_alu.c1048 nir_ssa_def *const zero = nir_imm_zero(&b->nb, 1, 32); in vtn_handle_integer_dot()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c343 def = nir_imm_zero(&b, 1, 32); in lower_intrinsics()
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst2217 - nir/builder: Add a nir_imm_zero helper