anv/device: assert that commands submitted to a queue are not bogus
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 9 Mar 2017 09:44:13 +0000 (10:44 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 16 Mar 2017 10:40:05 +0000 (11:40 +0100)
commita578b06d7bd6d1bb075bc9b8b04af97118bee18f
tree2c8545c1ceaa5dcf15b6768299e616e62e4c5434
parenta752c4ecdaa2084a4335993947512cd0eaa79046
anv/device: assert that commands submitted to a queue are not bogus

Any errors that may have happened during the command buffer recording are
reported by vkEndCommandBuffer() and it is the application's reponsibility
to not submit broken commands to a queue.

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