Home
last modified time | relevance | path

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

12

/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_opt_offsets.c135 replace_src = nir_imm_zero(b, off_src->ssa->num_components, off_src->ssa->bit_size); in try_fold_load_store()
171 nir_instr_rewrite_src(&intrin->instr, off_src, nir_src_for_ssa(nir_imm_zero(b, 1, 32))); in try_fold_shared2()
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_lower_variable_initializers.c185 nir_store_shared(&b, nir_imm_zero(&b, chunk_comps, 32), offset, in nir_zero_initialize_shared_memory()
Dnir_lower_task_shader.c403 nir_launch_mesh_workgroups(&builder, nir_imm_zero(&builder, 3, 32)); in nir_lower_task_shader()
Dnir_lower_idiv.c224 nir_ssa_def *zero = nir_imm_zero(b, 1, sz); in convert_instr_small()
Dnir_opt_preamble.c550 nir_imm_zero(b, tex->coord_components - tex->is_array, 32); in nir_opt_preamble()
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_system_values.c444 defs[i] = is_zero & (1 << i) ? nir_get_ssa_scalar(nir_imm_zero(b, 1, 32), 0) : in lower_compute_system_value_instr()
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()
/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.cpp48 default_value = nir_imm_zero(b, nir_dest_num_components(ir->dest), in r600_legalize_image_load_store_impl()
Dsfn_nir_lower_64bit.cpp211 nir_imm_zero(b, nir_dest_num_components(alu->dest.dest), 64)); in lower()
240 return nir_bcsel(b, gt0, value, nir_isub(b, nir_imm_zero(b, 1, 64), value)); in lower()
250 nir_imm_zero(b, 1, 64)); in lower()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_global_access.c161 new_intrin->src[num_src] = nir_src_for_ssa(offset ? offset : nir_imm_zero(b, 1, 32)); in process_instr()
Dac_nir_lower_esgs_io_to_mem.c283 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_ngg.c499 nir_store_output(b, prim_id, nir_imm_zero(b, 1, 32), in emit_store_ngg_nogs_es_primitive_id()
1227 …nir_store_shared(b, nir_imm_zero(b, 1, 8), es_vertex_lds_addr, .align_mul = 4, .base = lds_es_vert… in add_deferred_attribute_culling()
1609 nir_ssa_def *zero_u8 = nir_imm_zero(b, 1, 8); in ngg_gs_clear_primflags()
1981 … nir_if *if_wave_0 = nir_push_if(b, nir_ieq(b, nir_load_subgroup_id(b), nir_imm_zero(b, 1, 32))); in ngg_gs_finale()
2003 …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()
2014 nir_if *if_wave_0 = nir_push_if(b, nir_ieq(b, nir_load_subgroup_id(b), nir_imm_zero(b, 1, 32))); in ngg_gs_finale()
Dac_nir_lower_tess_io_to_mem.c590 nir_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/freedreno/ir3/
Dir3_nir_lower_64b.c162 components[i] = nir_pack_64_2x32_split(b, c, nir_imm_zero(b, 1, 32)); in lower_64b_intrinsics()
/third_party/mesa3d/src/compiler/nir/tests/
Dserialize_tests.cpp127 nir_ssa_def *zero = nir_imm_zero(b, GetParam(), 32); in TEST_P()
/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/mesa/state_tracker/
Dst_glsl_to_nir.cpp297 nir_ssa_def *zero = nir_imm_zero(b, 4, 32); in zero_array_members()
Dst_draw_hw_select.c147 nir_ssa_def *zero = nir_imm_zero(b, 1, det->bit_size); in face_culling()

12