Searched refs:last_bit (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_shrink_vectors.c | 75 int last_bit = util_last_bit(mask); in shrink_dest_to_read_mask() local 81 unsigned rounded = round_up_components(last_bit); in shrink_dest_to_read_mask() 83 last_bit = rounded; in shrink_dest_to_read_mask() 85 if (def->num_components > last_bit) { in shrink_dest_to_read_mask() 86 def->num_components = last_bit; in shrink_dest_to_read_mask() 195 unsigned last_bit = util_last_bit(mask); in opt_shrink_vectors_alu() local 206 const bool is_bitfield_mask = last_bit == num_components; in opt_shrink_vectors_alu() 216 for (unsigned i = 0; i < last_bit; i++) { in opt_shrink_vectors_alu()
|
D | nir_opt_shrink_stores.c | 84 unsigned last_bit = util_last_bit(write_mask); in opt_shrink_store_instr() local 85 if (last_bit < instr->num_components && instr->src[0].is_ssa) { in opt_shrink_store_instr() 86 nir_ssa_def *def = nir_trim_vector(b, instr->src[0].ssa, last_bit); in opt_shrink_store_instr() 90 instr->num_components = last_bit; in opt_shrink_store_instr()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | rdgif.c | 97 int last_bit; /* # of bits in code_buf */ member 199 sinfo->last_bit = 0; /* nothing in the buffer */ in InitLZWCode() 220 while (sinfo->cur_bit + sinfo->code_size > sinfo->last_bit) { in GetCode() 241 sinfo->cur_bit = (sinfo->cur_bit - sinfo->last_bit) + 16; in GetCode() 243 sinfo->last_bit = sinfo->last_byte * 8; in GetCode()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_bc.h | 845 #define BC_FIELD(fmt, name, shortname, last_bit, first_bit) \ argument 847 value |= ((v&((1ull<<((last_bit)-(first_bit)+1))-1))<<(first_bit)); \ 851 return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \ 854 #define BC_RSRVD(fmt, last_bit, first_bit) argument
|
/third_party/mesa3d/src/broadcom/cle/ |
D | v3d_decoder.c | 732 int last_bit = 0; in v3d_group_get_length() local 736 last_bit = MAX2(last_bit, field->end); in v3d_group_get_length() 738 return last_bit / 8 + 1; in v3d_group_get_length()
|
/third_party/libsnd/src/ |
D | wavlike.c | 497 { int chan, mask = 0, bit = -1, last_bit = -1 ; in wavlike_gen_channel_mask() local 512 if (bit <= last_bit) in wavlike_gen_channel_mask() 516 last_bit = bit ; in wavlike_gen_channel_mask()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_cmdstream.c | 969 unsigned last_bit = util_last_bit(ctx->image_mask[stage]); in panfrost_emit_images() local 972 pan_pool_alloc_desc_array(&batch->pool.base, last_bit, TEXTURE); in panfrost_emit_images() 976 for (int i = 0; i < last_bit; ++i) { in panfrost_emit_images() 1849 unsigned last_bit = util_last_bit(ctx->image_mask[shader]); in emit_image_attribs() local 1851 for (unsigned i = 0; i < last_bit; ++i) { in emit_image_attribs() 1882 unsigned last_bit = util_last_bit(ctx->image_mask[shader]); in emit_image_bufs() local 1884 for (unsigned i = 0; i < last_bit; ++i) { in emit_image_bufs()
|