Searched refs:nir_shift (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_format_convert.h | 29 nir_shift(nir_builder *b, nir_ssa_def *value, int left_shift) in nir_shift() function 43 return nir_shift(b, nir_iand(b, src, nir_imm_int(b, mask)), left_shift); in nir_mask_shift() 138 packed = nir_ior(b, packed, nir_shift(b, nir_channel(b, color, i), in nir_format_pack_uint_unmasked()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 900 packed = nir_ior(b, packed, nir_shift(b, chan, chan_start_bit)); in bit_cast_color() 912 chans[c] = nir_iand(b, nir_shift(b, packed, -(int)chan_start_bit), in bit_cast_color()
|