tests: Add in-use sampler test
authorTobin Ehlis <tobine@google.com>
Wed, 7 Sep 2016 19:52:18 +0000 (13:52 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 8 Sep 2016 15:21:49 +0000 (09:21 -0600)
commit41660da03f3d77a21fc42c2a946bee0613582cb5
tree9b201d845a45272b90154c749093ce2a9b91f0a7
parentec04b25af3058efd04e7a04b74b4950c000fe850
tests: Add in-use sampler test

SamplerInUseDestroyedSignaled creates a sampler that is indirectly bound to
cmd buffer via a descriptor set. Then submit cmd buffer, destroy sampler and
verify that an error is correctly flagged.
tests/layer_validation_tests.cpp