Home
last modified time | relevance | path

Searched refs:dest_bit_size (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c243 unsigned dest_bit_size = glsl_get_bit_size(dest->type); 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()
254 vtn_assert(dest_bit_size == 32); 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()
267 vtn_assert(dest_bit_size == 64); in vtn_handle_bitcast()
/external/mesa3d/src/compiler/nir/
Dnir_validate.c381 unsigned dest_bit_size = nir_dest_bit_size(instr->dest.dest); in validate_alu_instr() local
383 validate_assert(state, dest_bit_size == nir_alu_type_get_type_size(dest_type)); in validate_alu_instr()
385 validate_assert(state, dest_bit_size == instr_bit_size); in validate_alu_instr()
392 validate_assert(state, dest_bit_size == 16 || dest_bit_size == 32 || in validate_alu_instr()
393 dest_bit_size == 64); in validate_alu_instr()