tests: GH424 Addition of Device Limits Validation tests
authorMark Mueller <markm@lunarg.com>
Thu, 4 Aug 2016 18:59:48 +0000 (12:59 -0600)
committerMark Mueller <markm@lunarg.com>
Wed, 17 Aug 2016 13:29:54 +0000 (07:29 -0600)
commite63035786ab9f202cc16425ca86d57434b9cd456
treefa3d59f5f1518288935307bcb4a266d31e5acf11
parent1d659b4113b77a95325df10d602a03f1e7abf8b7
tests: GH424 Addition of Device Limits Validation tests

Tests to challenge layer validation under these conditions:
1) INVALID_QUEUE_INDEX Check that queue family index is correct
     InvalidQueueIndexInvalidQuery

2) INVALID_QUERY Check that query is not in progress on
     vkEndCommandBuffer
     InvalidQueueIndexInvalidQuery

3) COUNT_MISMATCH Check that the Physical Device count
     value is not unreasonable.
     MismatchCountQueueCreateRequestedFeature

4) INVALID_QUEUE_CREATE_REQUEST Check that QueueFamilyIndex
     is reasonable on vkCreateDevice.
     MismatchCountQueueCreateRequestedFeature

5) INVALID_FEATURE_REQUESTED Check for feature requests
     that are invalid.
     MismatchCountQueueCreateRequestedFeature

Change-Id: Ib1589e24d6c9584e68779c93b91de927a177ec8d
tests/layer_validation_tests.cpp