diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-08-16 09:06:15 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-08-18 08:19:52 -0600 |
| commit | 2710134c1febccdf9f46519b8c1a451b396a47d0 (patch) | |
| tree | df2bfe5f903c39c17cce1c7e96ab9e520a30c15e /layers/core_validation.cpp | |
| parent | 108f7dbb183422a156588428d9ca645e9996673f (diff) | |
| download | usermoji-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
