aboutsummaryrefslogtreecommitdiff
path: root/layers/multi.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-09-04 13:52:24 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-09-10 10:40:33 -0600
commitab32819639c274019fd17736f8341cc04a5e6d7b (patch)
tree0c92b693e082a2d6efe866bfd081f234d38d0a5e /layers/multi.cpp
parentbf117528ff5799723fd83244b6702de1c4087f67 (diff)
downloadusermoji-ab32819639c274019fd17736f8341cc04a5e6d7b.tar.xz
layers: Add bailout flag to debug report callback
Layer validation tests will deliberately induce errors that the validation layer should catch. In these cases we don't really want the layer to call down the chain once it's detected a failure. We can't know that in the layer so changing the return value on the callback from void to VkBool32 so that the callback can indicate if the call should continue or not. true = bail. That allows the call chain to execute normally, not segfault in the driver and allow the test to clean things up.
Diffstat (limited to 'layers/multi.cpp')
0 files changed, 0 insertions, 0 deletions