Home
last modified time | relevance | path

Searched refs:nir_dest_bit_size (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp407 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
528 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
661 if (nir_dest_bit_size(instr->dest) == 32) { in nir_emit_intrinsic()
1106 nir_dest_bit_size(instr->dest.dest)); in nir_emit_alu()
1175 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1183 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1194 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1228 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1258 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1268 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
[all …]
Dbrw_fs_nir.cpp734 nir_dest_bit_size(instr->dest.dest))); in prepare_alu_destination_and_sources()
827 if (nir_dest_bit_size(instr->dest.dest) != 32 || in try_emit_b2fi_of_inot()
1251 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1257 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1305 assert(nir_dest_bit_size(instr->dest.dest) == 32); in nir_emit_alu()
1330 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1336 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1342 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1358 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1470 nir_dest_bit_size(instr->dest.dest))); in nir_emit_alu()
[all …]
Dbrw_vec4_gs_nir.cpp41 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
Dbrw_nir_lower_conversions.c72 unsigned dst_bit_size = nir_dest_bit_size(alu->dest.dest); in lower_instr()
Dbrw_vec4_tes.cpp159 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
Dbrw_nir_analyze_ubo_ranges.c169 (nir_dest_bit_size(intrin->dest) / 8); in analyze_ubos_block()
Dbrw_vec4_tcs.cpp260 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
/external/mesa3d/src/compiler/nir/
Dnir_lower_bool_to_bitsize.c112 if (nir_dest_bit_size(alu->dest.dest) > 1) in lower_alu_instr()
135 if (nir_dest_bit_size(alu->dest.dest) == 1) in lower_alu_instr()
361 if (nir_dest_bit_size(phi->dest) != 1) in lower_phi_instr()
Dnir_lower_memcpy.c53 index = nir_i2i(b, index, nir_dest_bit_size(parent->dest)); in memcpy_load_deref_elem()
74 index = nir_i2i(b, index, nir_dest_bit_size(parent->dest)); in memcpy_store_deref_elem()
Dnir_validate.c380 unsigned dest_bit_size = nir_dest_bit_size(instr->dest.dest); in validate_alu_instr()
451 validate_src(&instr->parent, state, nir_dest_bit_size(instr->dest), in validate_deref_instr()
494 nir_dest_bit_size(instr->dest), 1); in validate_deref_instr()
508 nir_dest_bit_size(instr->dest), 1); in validate_deref_instr()
639 int bit_size = nir_dest_bit_size(instr->dest); in validate_intrinsic_instr()
671 validate_assert(state, nir_dest_bit_size(instr->dest) >= 8); in validate_intrinsic_instr()
730 validate_assert(state, nir_dest_bit_size(instr->dest) == in validate_intrinsic_instr()
746 validate_assert(state, nir_dest_bit_size(instr->dest) == in validate_intrinsic_instr()
758 validate_assert(state, nir_dest_bit_size(instr->dest) == 32); in validate_intrinsic_instr()
Dnir_opt_undef.c93 nir_dest_bit_size(alu->dest.dest)); in opt_undef_vecN()
Dnir_lower_to_source_mods.c144 if (nir_dest_bit_size(alu->dest.dest) == 64 && in nir_lower_to_source_mods_block()
Dnir_gather_info.c736 shader->info.bit_sizes_float |= nir_dest_bit_size(instr->dest.dest); in gather_alu_info()
738 shader->info.bit_sizes_int |= nir_dest_bit_size(instr->dest.dest); in gather_alu_info()
/external/mesa3d/src/panfrost/midgard/
Dnir_fuse_io_16.c67 if (nir_dest_bit_size(intr->dest) != 32) in nir_fuse_io_16()
Dmidgard_compile.c219 if (nir_dest_bit_size(alu->dest.dest) == 64) in mdg_is_64()
640 ASSERTED unsigned dst_bitsize = nir_dest_bit_size(*dest); in emit_alu()
869 | nir_dest_bit_size(*dest), in emit_alu()
1047 dsize = nir_dest_bit_size(intr->dest); in mir_set_intr_mask()
1543 …ing_read(ctx, reg, offset, nr_comp, component, indirect_offset, t | nir_dest_bit_size(instr->dest)… in emit_intrinsic()
1602 unsigned bits = nir_dest_bit_size(instr->dest); in emit_intrinsic()
1918 nir_alu_type dest_type = dest_base | nir_dest_bit_size(*dest); in emit_texop_native()
/external/mesa3d/src/freedreno/ir3/
Dir3_image.c115 int bit_size = info->has_dest ? nir_dest_bit_size(instr->dest) : 32; in ir3_get_type_for_image_intrinsic()
Dir3_context.h223 { return utype_for_size(nir_dest_bit_size(dst)); } in utype_dst()
Dir3_compiler_nir.c267 type_t dst_type = nir_dest_bit_size(alu->dest.dest) == 16 ? in emit_alu()
704 assert(nir_dest_bit_size(alu->dest.dest) == 1 || in emit_alu()
719 compile_assert(ctx, nir_dest_bit_size(alu->dest.dest) != 1); in emit_alu()
1199 type_t dst_type = nir_dest_bit_size(intr->dest) == 16 ? in emit_intrinsic_image_size_tex()
1505 nir_dest_bit_size(intr->dest) == 16 ? TYPE_F16 : TYPE_F32); in emit_intrinsic()
1511 nir_dest_bit_size(intr->dest) == 16 ? TYPE_F16 : TYPE_F32, in emit_intrinsic()
1998 type = nir_dest_bit_size(tex->dest) == 16 ? TYPE_F16 : TYPE_F32; in get_tex_dest_type()
2001 type = nir_dest_bit_size(tex->dest) == 16 ? TYPE_S16 : TYPE_S32; in get_tex_dest_type()
2005 type = nir_dest_bit_size(tex->dest) == 16 ? TYPE_U16 : TYPE_U32; in get_tex_dest_type()
/external/mesa3d/src/gallium/drivers/zink/
Dnir_lower_dynamic_bo_access.c65 nir_dest_bit_size(instr->dest), NULL); in recursive_generate_bo_ssa_def()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c988 …cast_type(bld_base, result[c], nir_op_infos[instr->op].output_type, nir_dest_bit_size(instr->dest.… in visit_alu()
1086 unsigned bit_size = nir_dest_bit_size(instr->dest); in visit_load_input()
1139 unsigned bit_size = nir_dest_bit_size(instr->dest); in visit_load_var()
1193 … bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_ubo()
1206 … bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_push_constant()
1217 … bld_base->load_mem(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_ssbo()
1453 … bld_base->load_mem(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_shared_load()
1504 …bld_base->load_kernel_arg(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr-… in visit_load_kernel_input()
1513 …bld_base->load_global(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->des… in visit_load_global()
1580 nir_dest_bit_size(instr->dest), offset, result); in visit_load_scratch()
/external/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c168 ins.dest_type = nir_type_float | nir_dest_bit_size(instr->dest); in bi_emit_ld_vary()
465 .dest_type = nir_type_uint | nir_dest_bit_size(instr->dest), in bi_emit_ld_ubo()
1065 unsigned dest_bits = nir_dest_bit_size(instr->dest.dest); in bi_copy_src()
1164 | nir_dest_bit_size(instr->dest.dest), in emit_alu()
1171 bool vector = comps > MAX2(1, 32 / nir_dest_bit_size(instr->dest.dest)); in emit_alu()
1183 unsigned dest_bits = nir_dest_bit_size(instr->dest.dest); in emit_alu()
2045 unsigned sz = nir_dest_bit_size(instr->dest); in emit_tex()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c185 unsigned bit_size = MAX2(nir_dest_bit_size(*dest), 32); in get_dest_uvec_type()
820 unsigned bit_size = nir_dest_bit_size(*dest); in store_dest()
1147 unsigned bit_size = nir_dest_bit_size(*dest); in get_dest_type()
1182 unsigned bit_size = nir_dest_bit_size(alu->dest.dest); in emit_alu()
1570 if (nir_dest_bit_size(intr->dest) == 1) in emit_load_ubo_vec4()
1595 unsigned bit_size = nir_dest_bit_size(intr->dest); in emit_load_deref()
1699 … var_type = get_ivec_type(ctx, nir_dest_bit_size(intr->dest), nir_dest_num_components(intr->dest)); in emit_load_vec_input()
1702 … var_type = get_uvec_type(ctx, nir_dest_bit_size(intr->dest), nir_dest_num_components(intr->dest)); in emit_load_vec_input()
1705 … var_type = get_fvec_type(ctx, nir_dest_bit_size(intr->dest), nir_dest_num_components(intr->dest)); in emit_load_vec_input()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c544 int dst_64 = nir_dest_bit_size(instr->dest.dest) == 64; in ntt_emit_alu()
1020 int bit_size = nir_dest_bit_size(instr->dest); in ntt_emit_load_ubo_vec4()
1312 bool is_64 = nir_dest_bit_size(instr->dest) == 64; in ntt_emit_load_input()
2216 int dst_bit_size = nir_dest_bit_size(a->dest.dest); in ntt_should_vectorize_instr()
2319 return (nir_dest_bit_size(alu->dest.dest) == 64 || in scalarize_64bit()
2348 if (nir_dest_bit_size(instr->dest) != 64) in nir_to_tgsi_lower_64bit_intrinsic()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c149 nir_dest_bit_size(old_tex->dest), NULL); in create_plane_tex_instr_implicit()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c159 nir_dest_bit_size(old_tex->dest), NULL); in create_plane_tex_instr_implicit()

12