Lines Matching defs:width
59 dxil_buffer_emit_bits(struct dxil_buffer *b, uint32_t data, unsigned width)
62 assert(width > 0 && width <= 32);
63 assert((data & ~((UINT64_C(1) << width) - 1)) == 0);
66 b->buf_bits += width;
76 unsigned width)
78 assert(width > 1 && width <= 32);
80 uint32_t tag = UINT32_C(1) << (width - 1);
84 data >>= width - 1;
86 if (!dxil_buffer_emit_bits(b, value, width))
90 return dxil_buffer_emit_bits(b, data, width);