anv: add an option to disable secondary command buffer calls
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 8 Jun 2020 17:33:14 +0000 (20:33 +0300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 20:23:52 +0000 (20:23 +0000)
commit762706c5a6b981c3957e2409f1c81ee5be374604
tree69a0b84cf8c005eba0d8cf5bb1da72cbc528283d
parent20b6ee82acc49b34a34bae2e6d9915a7d53ab456
anv: add an option to disable secondary command buffer calls

Those are currently hurting Felix' ability to look at the batches.

We can probably detect this in the aubinator but that's a bit more
work than falling back to the previous behavior.

v2: Condition VK_KHR_performance_query to not using this variable (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5391>
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_extensions.py
src/intel/vulkan/anv_private.h