aboutsummaryrefslogtreecommitdiff
path: root/layers/parameter_validation.h
AgeCommit message (Collapse)Author
2018-01-16layers: Make ValidateGreaterThan report vuid etc.Petr Kraus
- make ValidateGreaterThan report proper vuid and other log_msg parameters - make ValidateGreaterThanZero to avoid having to convert common 0 literal (for template deduction) - update check and remove redundant ones in core_validation
2017-12-15layers: Fix Graphics Pipeline pointers not ignoredPetr Kraus
Some VkGraphicsPipelineCreateInfo pointers must be ignored under some conditions, but were not in the layers. Add relevant tests. Fix tests found broken (using depth or color without attachment in subpass)
2017-12-15layers: Fix PV overflowMike Schuchardt
Buffer pCreateInfo->size was being truncated to uint32_t before comparison with 0 Change-Id: Iba6b94f2a0df6514d1ffb79d38e6c0738ea44d71
2017-09-12Revert "layers: Fix Graphics Pipeline pointers not ignored"Mark Lobodzinski
This caused segfaults on Intel Skylake, NexusPlayer, and Samsung Galaxy S8 (Mali). This reverts commit 367d276ffe5c0748ff9d8e2b3551d4a00c9fc3c2.
2017-09-12layers: Fix Graphics Pipeline pointers not ignoredPetr Kraus
Some VkGraphicsPipelineCreateInfo pointers must be ignored under some conditions, but were not in the layers. Add relevant tests. Fix tests found broken (using depth or color without attachment in subpass) Change-Id: I3e2a3f61a52c72ce3a11483ff8b031189f4c61c9
2017-08-16layers: Re-architect parameter validation layerMark Lobodzinski
Changed the codegen to autogenerate validation functions for any new APIs without user intervention. Manual updates are only necessary to extend PV functionality. - parameter_validation.h is now checked into the layers directory - parameter_validation.cpp is now generated - parameter_validation_utils.cpp is new and contains any custom (non-generated) or housekeeping functions. - parameter_validation_utils.h is deprecated - updated database for new VUID coverage Change-Id: Ib9261894386145573ba9e8906ba4ad4e9fecbdfd