diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-07-01 17:36:48 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-07-06 09:41:25 -0600 |
| commit | 198eba699b3dfe38b9c3457facb6312439848e14 (patch) | |
| tree | c2ec40ee27690da6704865d162a9808b07a92004 /layers/vk_layer_config.cpp | |
| parent | db0ae3f4949d6c8531e7eba88feb07417ca53fea (diff) | |
| download | usermoji-198eba699b3dfe38b9c3457facb6312439848e14.tar.xz | |
layers: Add validation for VkDescriptorBufferInfo struct
For a descriptor write update to a buffer type, verify that the contents of
VkDescriptorBufferInfo struct are valid according to valid usage guidelines
of the spec.
Spun off the usage bit validation into its own function ValidateBufferUsage().
Previous ValidateBufferUpdate() function now calls that function as well as
performing all of the checks for the buffer, range, and offset members of
VkDescriptorBufferInfo struct.
Diffstat (limited to 'layers/vk_layer_config.cpp')
0 files changed, 0 insertions, 0 deletions
