layers: Update DeviceQueueCreate checks
authorPetr Kraus <petr_kraus@email.cz>
Mon, 8 May 2017 21:45:36 +0000 (23:45 +0200)
committerMark Lobodzinski <mark@lunarg.com>
Thu, 11 May 2017 21:30:02 +0000 (15:30 -0600)
commit358d80f303f54e02ab7606dfb3b4b379f3f42453
treea13b9190ada2cfff1e1168133febb2632bc4789a
parent2b8725c2e537ba0c5606dd34967928db760d865e
layers: Update DeviceQueueCreate checks

- remove some potential false-positives from QF check
- update error db with existing check
- use error db unique codes on existing checks
- move check that need state to core_validation
- deal with VK_QUEUE_FAMILY_IGNORED case
- improve error messages texts
- make messages return appropriate object
- move code that looks displaced to appropriate places
- add locks
layers/core_validation.cpp
layers/core_validation.h
layers/parameter_validation.cpp
layers/vk_validation_error_database.txt