Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c242 unsigned src_bit_size = src->bit_size; in vtn_handle_bitcast() local
246 vtn_assert(src_bit_size * src_components == dest_bit_size * dest_components); in vtn_handle_bitcast()
249 if (src_bit_size > dest_bit_size) { in vtn_handle_bitcast()
250 vtn_assert(src_bit_size % dest_bit_size == 0); in vtn_handle_bitcast()
251 unsigned divisor = src_bit_size / dest_bit_size; in vtn_handle_bitcast()
253 vtn_assert(src_bit_size == 64); in vtn_handle_bitcast()
261 vtn_assert(dest_bit_size % src_bit_size == 0); in vtn_handle_bitcast()
262 unsigned divisor = dest_bit_size / src_bit_size; in vtn_handle_bitcast()
268 vtn_assert(src_bit_size == 32); in vtn_handle_bitcast()
/external/mesa3d/src/compiler/nir/
Dnir_validate.c362 unsigned src_bit_size = nir_src_bit_size(instr->src[i].src); in validate_alu_instr() local
364 validate_assert(state, src_bit_size == nir_alu_type_get_type_size(src_type)); in validate_alu_instr()
366 validate_assert(state, src_bit_size == instr_bit_size); in validate_alu_instr()
368 instr_bit_size = src_bit_size; in validate_alu_instr()
373 validate_assert(state, src_bit_size == 16 || src_bit_size == 32 || in validate_alu_instr()
374 src_bit_size == 64); in validate_alu_instr()
Dnir_builder.h330 unsigned src_bit_size = instr->src[i].src.ssa->bit_size; in nir_build_alu() local
333 assert(src_bit_size == bit_size); in nir_build_alu()
335 bit_size = src_bit_size; in nir_build_alu()
337 assert(src_bit_size == in nir_build_alu()
/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
16 src_bit_size == dst_bit_size) { in nir_type_conversion_op()