Home
last modified time | relevance | path

Searched refs:nir_ssa_undef (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/tests/
Dserialize_tests.cpp145 nir_ssa_def *undef = nir_ssa_undef(b, GetParam(), 32); in TEST_P()
167 nir_ssa_def *undef = nir_ssa_undef(b, 2, 32); in TEST_P()
189 nir_ssa_def *undef = nir_ssa_undef(b, 2, 32); in TEST_P()
218 nir_ssa_def *undef = nir_ssa_undef(b, GetParam(), 32); in TEST_P()
246 nir_ssa_def *undef = nir_ssa_undef(b, GetParam(), 32); in TEST_P()
272 nir_ssa_def *zero = nir_ssa_undef(b, GetParam(), 32); in TEST_P()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_gs_intrinsics.c93 count_per_primitive = nir_ssa_undef(b, 1, 32); in rewrite_emit_vertex()
212 count_per_primitive = nir_ssa_undef(b, count->num_components, count->bit_size); in rewrite_end_primitive()
295 : nir_ssa_undef(b, 1, 32); in append_set_vertex_and_primitive_count()
303 : nir_ssa_undef(b, 1, 32); in append_set_vertex_and_primitive_count()
Dnir_opt_uniform_atomics.c219 nir_ssa_def *undef = nir_ssa_undef(b, 1, intrin->dest.ssa.bit_size); in optimize_atomic()
256 nir_ssa_def *undef = result ? nir_ssa_undef(b, 1, result->bit_size) : NULL; in optimize_and_rewrite_atomic()
Dnir_opt_remove_phis.c119 def = nir_ssa_undef(b, phi->dest.ssa.num_components, in remove_phis_block()
Dnir_lower_clip_disable.c94 components[i] = nir_ssa_undef(b, 1, 32); in lower_clip_plane_store()
Dnir_opt_undef.c91 nir_ssa_def *undef = nir_ssa_undef(b, alu->dest.dest.ssa.num_components, in opt_undef_vecN()
Dnir_lower_array_deref_of_vec.c35 nir_ssa_def *u = nir_ssa_undef(b, 1, value->bit_size); in build_write_masked_store()
Dnir_lower_io_to_vector.c566 comps[c] = nir_ssa_undef(&b, old_value->num_components, in nir_lower_io_to_vector_impl()
648 nir_ssa_def *new_val = nir_ssa_undef(&b, intrin->num_components, 32); in nir_vectorize_tess_levels_impl()
Dnir_opt_constant_folding.c245 val = nir_ssa_undef(b, intrin->dest.ssa.num_components, in try_fold_intrinsic()
Dnir_opt_combine_stores.c148 comps[i] = nir_ssa_undef(&state->b, 1, bit_size); in combine_stores()
Dnir_split_vars.c820 nir_ssa_undef(&b, intrin->dest.ssa.num_components, in split_array_access_impl()
1549 nir_ssa_undef(&b, intrin->dest.ssa.num_components, in shrink_vec_var_access_impl()
1569 nir_ssa_undef(&b, 1, intrin->dest.ssa.bit_size); in shrink_vec_var_access_impl()
Dnir_format_convert.h388 nir_ssa_def *undef = nir_ssa_undef(b, 1, color->bit_size); in nir_format_pack_11f11f10f()
Dnir_builder.h246 nir_ssa_undef(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_ssa_undef() function
728 return nir_ssa_undef(b, 1, vec->bit_size); in nir_vector_extract()
1179 nir_ssa_def *undef = nir_ssa_undef(b, 1, src->bit_size); in nir_pad_vector()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_fast_clear.c60 nir_ssa_undef(&b, 1, 32), in build_dcc_decompress_compute_shader()
61 nir_ssa_undef(&b, 1, 32)); in build_dcc_decompress_compute_shader()
64 &b, 4, 32, &nir_build_deref_var(&b, input_img)->dest.ssa, img_coord, nir_ssa_undef(&b, 1, 32), in build_dcc_decompress_compute_shader()
75 nir_ssa_undef(&b, 1, 32), data, nir_imm_int(&b, 0), in build_dcc_decompress_compute_shader()
Dradv_meta_bufimage.c89 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_nir_itob_compute_shader()
271 … is_3d ? nir_channel(&b, coord, 2) : nir_ssa_undef(&b, 1, 32), in build_nir_btoi_compute_shader()
272 nir_ssa_undef(&b, 1, 32)); in build_nir_btoi_compute_shader()
275 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), .image_dim = dim); in build_nir_btoi_compute_shader()
459 nir_ssa_undef(&b, 1, 32), nir_channel(&b, outval, chan), in build_nir_btoi_r32g32b32_compute_shader()
609 … is_3d ? nir_channel(&b, dst_coord, 2) : nir_ssa_undef(&b, 1, 32), in build_nir_itoi_compute_shader()
610 nir_ssa_undef(&b, 1, 32)); in build_nir_itoi_compute_shader()
819 nir_ssa_undef(&b, 1, 32), nir_channel(&b, outval, 0), in build_nir_itoi_r32g32b32_compute_shader()
936 comps[3] = nir_ssa_undef(&b, 1, 32); in build_nir_cleari_compute_shader()
1102 nir_ssa_undef(&b, 1, 32), nir_channel(&b, clear_val, chan), in build_nir_cleari_r32g32b32_compute_shader()
Dradv_meta_resolve_cs.c100 nir_ssa_undef(&b, 1, 32), in build_resolve_compute_shader()
101 nir_ssa_undef(&b, 1, 32)); in build_resolve_compute_shader()
104 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_resolve_compute_shader()
223 nir_channel(&b, img_coord, 2), nir_ssa_undef(&b, 1, 32)); in build_depth_stencil_resolve_compute_shader()
225 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_depth_stencil_resolve_compute_shader()
Dradv_meta_dcc_retile.c75 nir_ssa_undef(&b, 1, 32), nir_imm_int(&b, 0), in build_dcc_retile_compute_shader()
79 nir_ssa_undef(&b, 1, 32), dcc_val, nir_imm_int(&b, 0), .image_dim = dim); in build_dcc_retile_compute_shader()
Dradv_meta_fmask_expand.c79 nir_channel(&b, tex_coord, 2), nir_ssa_undef(&b, 1, 32)); in build_fmask_expand_compute_shader()
Dradv_meta_decompress.c65 &b, 4, 32, &nir_build_deref_var(&b, input_img)->dest.ssa, global_id, nir_ssa_undef(&b, 1, 32), in build_expand_depth_stencil_compute_shader()
76 nir_ssa_undef(&b, 1, 32), data, nir_imm_int(&b, 0), in build_expand_depth_stencil_compute_shader()
Dradv_pipeline_rt.c1530 …ir_ssa_def *new_distances[4] = {nir_ssa_undef(b, 1, 32), nir_ssa_undef(b, 1, 32), nir_ssa_undef(b,… in nir_sort_hit_pair()
1531 …ir_ssa_def *new_indices[4] = {nir_ssa_undef(b, 1, 32), nir_ssa_undef(b, 1, 32), nir_ssa_undef(b,… in nir_sort_hit_pair()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c78 t->temps[index] = nir_ssa_undef(t->b, 4, 32); in get_temp()
343 coord = nir_ssa_undef(t->b, 4, 32); in compile_setupinst()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c385 nir_ssa_def *placeholder = nir_ssa_undef(b, 4, 32); in lower_image_load_instr()
613 nir_ssa_def *placeholder = nir_ssa_undef(b, 4, 32); in lower_image_atomic_instr()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c246 nir_ssa_def *dont_care = nir_ssa_undef(b, 1, num_lds_dwords * 32); in repack_invocations_in_workgroup()
580 nir_ssa_def *undef_arg = nir_ssa_undef(b, 1, 32); in remove_compacted_arg()
735 nir_store_var(b, position_value_var, nir_ssa_undef(b, 4, 32), 0xfu); in compact_vertices_after_culling()
737 nir_store_var(b, repacked_arg_vars[i], nir_ssa_undef(b, 1, 32), 0x1u); in compact_vertices_after_culling()
1591 nir_store_var(b, s->output_vars[slot][comp], nir_ssa_undef(b, 1, 32), 0x1u); in lower_ngg_gs_emit_vertex_with_counter()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c567 state->pos[i] = nir_ssa_undef(b, 1, 32); in v3d_nir_emit_ff_vpm_outputs()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp214 auto undef = nir_ssa_undef(b, 1, 32); in replace_load_instr()

12