anv/query: Rework store_query_result
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Mar 2017 22:29:13 +0000 (15:29 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Mar 2017 19:12:50 +0000 (12:12 -0700)
commit149d10d38a21135d98d0306ea93baeac2c690828
tree7d4873381df33571e640e2315f3dd5b70ee18558
parentc773ae88dfbf206dbcbe656e0c8697fc7dea38fc
anv/query: Rework store_query_result

The new version is a nice GPU parallel to cpu_write_query_result and it
nicely handles things like dealing with 32 vs. 64-bit offsets in the
destination buffer.

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