Home
last modified time | relevance | path

Searched refs:src_bit_size (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_conversions.c29 unsigned src_bit_size, in get_conversion_op() argument
34 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); in get_conversion_op()
68 unsigned src_bit_size = nir_src_bit_size(alu->src[0].src); in lower_instr() local
70 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); in lower_instr()
90 (src_bit_size == 64 && dst_full_type == nir_type_float16)) { in lower_instr()
91 nir_op op1 = get_conversion_op(src_type, src_bit_size, in lower_instr()
115 if ((src_bit_size == 8 && dst_bit_size == 64) || in lower_instr()
116 (src_bit_size == 64 && dst_bit_size == 8)) { in lower_instr()
117 nir_op op1 = get_conversion_op(src_type, src_bit_size, dst_type, 32, in lower_instr()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c208 uint32_t src_bit_size, in int_to_bool32() argument
213 struct lp_build_context *int_bld = get_int_bld(bld_base, is_unsigned, src_bit_size); in int_to_bool32()
215 if (src_bit_size == 64) in int_to_bool32()
221 uint32_t src_bit_size, in flt_to_bool32() argument
225 struct lp_build_context *flt_bld = get_flt_bld(bld_base, src_bit_size); in flt_to_bool32()
227 if (src_bit_size == 64) in flt_to_bool32()
234 uint32_t src_bit_size, in fcmp32() argument
238 struct lp_build_context *flt_bld = get_flt_bld(bld_base, src_bit_size); in fcmp32()
245 if (src_bit_size == 64) in fcmp32()
253 uint32_t src_bit_size, in icmp32() argument
[all …]
/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c258 unsigned src_bit_size, unsigned dst_bit_size) in vtn_nir_alu_op_for_spirv_opcode() argument
356 nir_alu_type src_type = convert_op_src_type(opcode) | src_bit_size; in vtn_nir_alu_op_for_spirv_opcode()
602 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); in vtn_handle_alu() local
606 src_bit_size, dst_bit_size); in vtn_handle_alu()
637 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); in vtn_handle_alu() local
640 src_bit_size, dst_bit_size); in vtn_handle_alu()
669 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); in vtn_handle_alu() local
671 nir_alu_type src_type = convert_op_src_type(opcode) | src_bit_size; in vtn_handle_alu()
725 unsigned src_bit_size = in vtn_handle_alu() local
727 if (src_bit_size == 0) in vtn_handle_alu()
[all …]
Dvtn_private.h907 unsigned src_bit_size, unsigned dst_bit_size);
/external/mesa3d/src/compiler/nir/
Dnir_conversion_builder.h61 unsigned src_bit_size = src->bit_size; in nir_round_float_to_float() local
62 if (dest_bit_size > src_bit_size) in nir_round_float_to_float()
65 nir_op low_conv = nir_type_conversion_op(nir_type_float | src_bit_size, in nir_round_float_to_float()
69 nir_type_float | src_bit_size, in nir_round_float_to_float()
373 unsigned src_bit_size = nir_alu_type_get_type_size(src_type); in nir_simplify_conversion_rounding() local
375 assert(src_bit_size > 0 && dest_bit_size > 0); in nir_simplify_conversion_rounding()
388 dest_bit_size >= src_bit_size) in nir_simplify_conversion_rounding()
Dnir_algebraic.py675 lambda first_unsized_src_bit_size, src_bit_size:
679 src, src_bit_size))
682 lambda first_unsized_src_bit_size, src_bit_size:
687 src_bit_size, val))
691 lambda src_bit_size, unused:
694 src, src_bit_size, nir_op.name, src_type_bits))
697 lambda src_bit_size, unused:
701 src, src_bit_size, nir_op.name, src_type_bits))
707 lambda val_bit_size, src_bit_size:
710 val, val_bit_size, first_unsized_src, src_bit_size))
[all …]
Dnir_lower_bool_to_bitsize.c371 uint32_t src_bit_size = nir_src_bit_size(phi_src->src); in lower_phi_instr() local
373 dst_bit_size = src_bit_size; in lower_phi_instr()
374 } else if (src_bit_size != dst_bit_size) { in lower_phi_instr()
Dnir_validate.c361 unsigned src_bit_size = nir_src_bit_size(instr->src[i].src); in validate_alu_instr() local
363 validate_assert(state, src_bit_size == nir_alu_type_get_type_size(src_type)); in validate_alu_instr()
365 validate_assert(state, src_bit_size == instr_bit_size); in validate_alu_instr()
367 instr_bit_size = src_bit_size; in validate_alu_instr()
372 validate_assert(state, src_bit_size == 16 || src_bit_size == 32 || in validate_alu_instr()
373 src_bit_size == 64); in validate_alu_instr()
Dnir_builder.h438 unsigned src_bit_size = instr->src[i].src.ssa->bit_size; in nir_builder_alu_instr_finish_and_insert() local
441 assert(src_bit_size == bit_size); in nir_builder_alu_instr_finish_and_insert()
443 bit_size = src_bit_size; in nir_builder_alu_instr_finish_and_insert()
445 assert(src_bit_size == in nir_builder_alu_instr_finish_and_insert()
1004 const unsigned src_bit_size = srcs[src_idx]->bit_size; in nir_extract_bits() local
1007 rel_bit / src_bit_size); in nir_extract_bits()
1010 comp = nir_channel(b, unpacked, (rel_bit % src_bit_size) / in nir_extract_bits()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c2215 int src_bit_size = nir_src_bit_size(a->src[0].src); in ntt_should_vectorize_instr() local
2218 if (src_bit_size == 64 || dst_bit_size == 64) { in ntt_should_vectorize_instr()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_opcodes.c9 unsigned src_bit_size = nir_alu_type_get_type_size(src); in nir_type_conversion_op() local
18 src_bit_size == dst_bit_size) { in nir_type_conversion_op()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c3589 const uint32_t src_bit_size = in get_color_blit_fs() local
3598 if (dst_bit_size >= src_bit_size) in get_color_blit_fs()