layers: Add fix for lx172 to catch invalid line widths.
authorMark Young <marky@lunarg.com>
Thu, 31 Mar 2016 20:56:43 +0000 (14:56 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 21 Apr 2016 20:55:22 +0000 (14:55 -0600)
commita27508babf63d50aea75883a3702979193c23683
tree4b99b5224fe4afb4e5898271df524c78a6952f79
parentb3d308d63ba34f40839f009ac83b33962d7f26b2
layers: Add fix for lx172 to catch invalid line widths.

Validate line wdith in both vkCreateGraphicsPipelines and in
vkCmdSetLineWidth.  Also, add a warning in vkCmdSetLineWidth
if the user calls it but doesn't enable dynamic line width.

Also, updated demos to fix missing lineWidth setting as well.

Change-Id: I62118da9cb5282fcc22b1506e9be2db82b5f4a40
demos/cube.c
demos/tri.c
layers/core_validation.cpp
tests/layer_validation_tests.cpp