anv: flag batch & instruction BOs for capture
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 17 Nov 2017 17:29:26 +0000 (17:29 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 22 Nov 2017 22:53:27 +0000 (22:53 +0000)
commitd4c52c540879d7e77aa83710f6b0acd3c5b30e99
tree22f3d59440fbf07de9bc295169e01d85153376ba
parent118a8c7587d919b3b85cec7855a16d9e778394e6
anv: flag batch & instruction BOs for capture

When the kernel support flagging our BO, let's mark batch &
instruction BOs for capture so then can be included in the error
state.

v2: Only add EXEC_CAPTURE if supported (Kristian)

v3: Fix operator precedence issue (Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h