OSDN Git Service

anv/batch_chain: Fix patching up of block pool relocations on Gen8+.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 21 Jan 2016 22:14:07 +0000 (14:14 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jan 2016 00:30:44 +0000 (16:30 -0800)
commit2e54381622357622221f0ca936462ea0a6a69a0f
tree3d384c237abc0c8ea8f9937b797c3125ae2ca29a
parent13aaf9004809b400a22a0cb1d0e85afdff169189
anv/batch_chain: Fix patching up of block pool relocations on Gen8+.

Relocations are 64 bits on Gen8+.  Most CTS tests that send
non-trivial work to the GPU would fail when run from a single deqp-vk
invocation because they were effectively relying on reloc presumed
offsets to be wrong so the kernel would come and apply relocations
correctly.
src/vulkan/anv_batch_chain.c