anv: add support for INTEL_DEBUG=bat
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 23 Feb 2019 23:27:17 +0000 (23:27 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 2 Mar 2019 12:53:21 +0000 (12:53 +0000)
commit32ffd90002b04bff20a587e5d2f31fe79af1a4f2
treeb2da0fe62833ae74ca0d72434b4a2de444bad6a8
parentf1122f78b765ecbb5702b5c2e2bf4a03fb83d778
anv: add support for INTEL_DEBUG=bat

As requested by Ken ;)

v2: Also decode simple batches (Caio)
    Fix u_vector usage issues (Lionel)

v3: Make binding/instruction/state/surface available (Lionel)

v4: Going through device pools for simple batches (Lionel)
    Centralize search BO callbacks into anv_device.c (Lionel)

v5: Clear decoded batch buffer var after use (Caio)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_queue.c