aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2016-08-16 09:06:15 -0600
committerMark Lobodzinski <mark@lunarg.com>2016-08-18 08:19:52 -0600
commit2710134c1febccdf9f46519b8c1a451b396a47d0 (patch)
treedf2bfe5f903c39c17cce1c7e96ab9e520a30c15e /layers/core_validation.cpp
parent108f7dbb183422a156588428d9ca645e9996673f (diff)
downloadusermoji-2710134c1febccdf9f46519b8c1a451b396a47d0.tar.xz
layers: VT59, Change query count errors to warnings
In patterns where an API call is normally made twice, the first with a NULL pointer returning the count of structures to receive followed by second call with a pointer to the appropriately-sized buffer, the swapchain layer was returning validation errors if the size call was made. However, this is legal behavior so these now return validation warnings. Also updated the relevant validation tests. Change-Id: I9f493b27bf4fa0bec6385499c76c5cece1ad86b9
Diffstat (limited to 'layers/core_validation.cpp')
0 files changed, 0 insertions, 0 deletions