anv/cmd_buffer: skip vkCmdExecuteCommands() on broken command buffers
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 6 Mar 2017 11:16:05 +0000 (12:16 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 16 Mar 2017 10:40:05 +0000 (11:40 +0100)
commita752c4ecdaa2084a4335993947512cd0eaa79046
tree21ebfa27d3d5b9554afe729aaaffea34009909fa
parent801493051e8593971ebdea52c78e21e694aa246b
anv/cmd_buffer: skip vkCmdExecuteCommands() on broken command buffers

v2: Assert on secondary commands, applications should've called
    vkEndCommandBuffer() and received an error for them before (Jason)

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/vulkan/genX_cmd_buffer.c