Lines Matching refs:we
11 other hand, most compiler recognize that the template struct we
17 2) For some types we need to have overlapping bit fields. For
27 flexibility in how we combine things. In the case of overlapping
28 fields (the u32 and float case), if we only set one of them in
38 Once we have the pack function it allows us to hook in various
39 transformations and validation as we go from template struct to dwords
43 overflowing values to the fields, but we've of course had lots of
44 cases where we make mistakes and write overflowing values. With
45 the pack function, we can actually assert on that and catch it at
49 float to a u32, but we also convert from bool to bits, from
52 3) Relocations: whenever we have a pointer from one buffer to
54 to the raw texture data), we have to tell the kernel about it so
56 means extra work we have to do extra work to record and annotate
57 the dword location that holds the pointer. With bit fields, we'd
58 have to call a function to do this, but with the pack function we