api.binding_model: Wait for idle before throwing NotSupportedError
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 18 Dec 2015 18:09:41 +0000 (10:09 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 24 Dec 2015 06:06:15 +0000 (22:06 -0800)
commit45d5e644a7259f65a1b79bf895aafe3704c699d4
tree8d0e4a312359fe30e1510f23ae1b07af23eb021e
parent6ef06724e94f40530f416156100adf531bb2a5ce
api.binding_model: Wait for idle before throwing NotSupportedError

If we don't, then the GPU could be busy and some of the objects destroyed
by the exception propagation could be in-use.  This is something of a
stop-gap measure; the problem of exceptions and the GPU being busy is
something that needs to be solved in general.  However, it does fix GPU
hangs on some drivers.

This is related to #20.
external/vulkancts/modules/vulkan/binding_model/vktBindingShaderAccessTests.cpp