layers: Fix incorrect VUID for negative viewport ht
authorMark Lobodzinski <mark@lunarg.com>
Wed, 2 Aug 2017 16:45:24 +0000 (10:45 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Wed, 2 Aug 2017 19:58:49 +0000 (13:58 -0600)
commit0e6846609261b280a192b58db10688307e8311c7
tree478e5adb95bb7224228791da8e4687fcb7ff0afb
parentecf6f4952415c47ebb64999e1a962c4f688ca0f7
layers: Fix incorrect VUID for negative viewport ht

Layers used the wrong VUID for the checks for negative viewport
height if the extensions were not enabled.

Fixed existing test, added a new test, and updated the database,
and removed special case from validation_stats script.

Change-Id: Ia165e6245990a4fabb3745102b345a7b4f1b0202
layers/parameter_validation.cpp
layers/vk_validation_error_database.txt
scripts/vk_validation_stats.py
tests/layer_validation_tests.cpp