/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | serialize_tests.cpp | 145 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/amd/vulkan/ |
H A D | radv_rt_common.c | 57 nir_ssa_def *new_distances[4] = {nir_ssa_undef(b, 1, 32), nir_ssa_undef(b, 1, 32), in nir_sort_hit_pair() 58 nir_ssa_undef(b, 1, 32), nir_ssa_undef(b, 1, 32)}; in nir_sort_hit_pair() 59 nir_ssa_def *new_indices[4] = {nir_ssa_undef(b, 1, 32), nir_ssa_undef(b, 1, 32), in nir_sort_hit_pair() 60 nir_ssa_undef(b, 1, 32), nir_ssa_undef(b, 1, 32)}; in nir_sort_hit_pair()
|
H A D | radv_meta_bufimage.c | 85 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_nir_itob_compute_shader() 261 is_3d ? nir_channel(&b, coord, 2) : nir_ssa_undef(&b, 1, 32), in build_nir_btoi_compute_shader() 262 nir_ssa_undef(&b, 1, 32)); in build_nir_btoi_compute_shader() 265 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), .image_dim = dim); in build_nir_btoi_compute_shader() 443 nir_ssa_undef(&b, 1, 32), nir_channel(&b, outval, chan), in build_nir_btoi_r32g32b32_compute_shader() 592 is_3d ? nir_channel(&b, dst_coord, 2) : nir_ssa_undef(&b, 1, 32), in build_nir_itoi_compute_shader() 593 nir_ssa_undef(&b, 1, 32)); in build_nir_itoi_compute_shader() 797 nir_ssa_undef(&b, 1, 32), nir_channel(&b, outval, 0), in build_nir_itoi_r32g32b32_compute_shader() 913 comps[3] = nir_ssa_undef(&b, 1, 32); in build_nir_cleari_compute_shader() 1075 nir_ssa_undef( in build_nir_cleari_r32g32b32_compute_shader() [all...] |
H A D | radv_meta_fast_clear.c | 58 nir_ssa_undef(&b, 1, 32), in build_dcc_decompress_compute_shader() 59 nir_ssa_undef(&b, 1, 32)); in build_dcc_decompress_compute_shader() 62 &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() 73 nir_ssa_undef(&b, 1, 32), data, nir_imm_int(&b, 0), in build_dcc_decompress_compute_shader()
|
H A D | radv_meta_resolve_cs.c | 99 nir_ssa_undef(&b, 1, 32), in build_resolve_compute_shader() 100 nir_ssa_undef(&b, 1, 32)); in build_resolve_compute_shader() 103 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_resolve_compute_shader() 222 nir_channel(&b, img_coord, 2), nir_ssa_undef(&b, 1, 32)); in build_depth_stencil_resolve_compute_shader() 224 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_depth_stencil_resolve_compute_shader()
|
H A D | radv_meta_fmask_copy.c | 58 nir_ssa_undef(&b, 1, 32), in build_fmask_copy_compute_shader() 59 nir_ssa_undef(&b, 1, 32)); in build_fmask_copy_compute_shader()
|
H A D | radv_meta_dcc_retile.c | 74 nir_ssa_undef(&b, 1, 32), nir_imm_int(&b, 0), in build_dcc_retile_compute_shader() 78 nir_ssa_undef(&b, 1, 32), dcc_val, nir_imm_int(&b, 0), .image_dim = dim); in build_dcc_retile_compute_shader()
|
H A D | radv_meta_decompress.c | 63 &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() 74 nir_ssa_undef(&b, 1, 32), data, nir_imm_int(&b, 0), in build_expand_depth_stencil_compute_shader()
|
H A D | radv_meta_fmask_expand.c | 78 nir_channel(&b, tex_coord, 2), nir_ssa_undef(&b, 1, 32)); in build_fmask_expand_compute_shader()
|
H A D | radv_meta_etc_decode.c | 504 nir_channel(&b, coord, 2), nir_ssa_undef(&b, 1, 32)); in build_shader() 509 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_shader() 515 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_shader()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_gs_intrinsics.c | 96 count_per_primitive = nir_ssa_undef(b, 1, 32); in rewrite_emit_vertex() 217 count_per_primitive = nir_ssa_undef(b, count->num_components, count->bit_size); in rewrite_end_primitive() 300 : nir_ssa_undef(b, 1, 32); in append_set_vertex_and_primitive_count() 315 prim_cnt = nir_ssa_undef(b, 1, 32); in append_set_vertex_and_primitive_count()
|
H A D | nir_opt_uniform_atomics.c | 235 nir_ssa_def *undef = nir_ssa_undef(b, 1, intrin->dest.ssa.bit_size); in optimize_atomic() 272 nir_ssa_def *undef = result ? nir_ssa_undef(b, 1, result->bit_size) : NULL; in optimize_and_rewrite_atomic()
|
H A D | nir_lower_io_to_vector.c | 567 comps[c] = nir_get_ssa_scalar(nir_ssa_undef(&b, old_value->num_components, in nir_lower_io_to_vector_impl() 654 nir_ssa_def *u = nir_ssa_undef(&b, val->num_components, val->bit_size); in nir_vectorize_tess_levels_impl() 666 nir_ssa_def *new_val = nir_ssa_undef(&b, intrin->num_components, 32); in nir_vectorize_tess_levels_impl()
|
H A D | nir_opt_remove_phis.c | 119 def = nir_ssa_undef(b, phi->dest.ssa.num_components, in remove_phis_block()
|
H A D | nir_opt_undef.c | 91 nir_ssa_def *undef = nir_ssa_undef(b, alu->dest.dest.ssa.num_components, in opt_undef_vecN()
|
H A D | nir_lower_clip_disable.c | 94 components[i] = nir_ssa_undef(b, 1, 32); in lower_clip_plane_store()
|
H A D | nir_lower_array_deref_of_vec.c | 35 nir_ssa_def *u = nir_ssa_undef(b, 1, value->bit_size); in build_write_masked_store()
|
H A D | nir_opt_combine_stores.c | 146 comps[i] = nir_get_ssa_scalar(nir_ssa_undef(&state->b, 1, bit_size), 0); in combine_stores()
|
H A D | nir_opt_constant_folding.c | 245 val = nir_ssa_undef(b, intrin->dest.ssa.num_components, in try_fold_intrinsic()
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_nir_lower_int_cubemaps.c | 150 nir_vec4(b, x,y, face, nir_ssa_undef(b, 1, 32)) : in evaluate_face_x() 169 nir_vec4(b, x,y, face, nir_ssa_undef(b, 1, 32)) : in evaluate_face_y() 188 nir_vec4(b, x,y, face, nir_ssa_undef(b, 1, 32)) : in evaluate_face_z()
|
H A D | dxil_nir_tess.c | 309 nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_ssa_undef(b, 1, intr->dest.ssa.bit_size)); in remove_tess_level_accesses()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_storage_image.c | 385 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/mesa/state_tracker/ |
H A D | st_atifs_to_nir.c | 78 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/freedreno/ir3/ |
H A D | ir3_nir_lower_64b.c | 191 nir_ssa_def *lowered = nir_ssa_undef(b, 2, 32); in lower_64b_undef()
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_nir_lower_ngg.c | 319 nir_ssa_def *dont_care = nir_ssa_undef(b, 1, num_lds_dwords * 32); in repack_invocations_in_workgroup() 679 nir_ssa_def *undef_arg = nir_ssa_undef(b, 1, 32); in remove_compacted_arg() 834 nir_store_var(b, position_value_var, nir_ssa_undef(b, 4, 32), 0xfu); in compact_vertices_after_culling() 836 nir_store_var(b, repacked_arg_vars[i], nir_ssa_undef(b, 1, 32), 0x1u); in compact_vertices_after_culling() 1750 nir_store_var(b, s->output_vars[slot][c], nir_ssa_undef(b, 1, 32), 0x1); in lower_ngg_gs_emit_vertex_with_counter() 2628 nir_ssa_def *dont_care = nir_ssa_undef(b, 1, 32); in emit_ms_prelude() 2674 nir_ssa_def *dont_care = nir_ssa_undef(b, 1, 32); in set_nv_ms_final_output_counts()
|