anv/query: Use a variable-length slot size
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Mar 2017 00:58:44 +0000 (17:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Mar 2017 19:12:49 +0000 (12:12 -0700)
commitbce4a935c6de6dd3ac37339b51c1a6a3e9131a11
tree25a026e16858f26407dd06ff734e20f19b6ea53b
parent1c797af2c6007382b1cdd11a653e2e5c670e8cda
anv/query: Use a variable-length slot size

Not all queries are the same.  Even the two queries we support today
require a different amount of data per slot.  Once we introduce pipeline
statistics queries, the size will vary wildly.

Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_query.c