Re: [Mesa-dev] [PATCH 06/12] anv/query: Move the available bits to the front

2017-03-16 Thread Lionel Landwerlin
It feels like using offsetof() would prevent surprises in case we change the order again. On 16/03/17 00:03, Jason Ekstrand wrote: We're about to make slots variable-length and always having the available bits at the front makes certain operations substantially easier once we do that. --- src

[Mesa-dev] [PATCH 06/12] anv/query: Move the available bits to the front

2017-03-15 Thread Jason Ekstrand
We're about to make slots variable-length and always having the available bits at the front makes certain operations substantially easier once we do that. --- src/intel/vulkan/anv_private.h | 2 +- src/intel/vulkan/genX_query.c | 43 +- 2 files changed, 18