aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-07-01 17:36:48 -0600
committerTobin Ehlis <tobine@google.com>2016-07-06 09:41:25 -0600
commit198eba699b3dfe38b9c3457facb6312439848e14 (patch)
treec2ec40ee27690da6704865d162a9808b07a92004 /layers/device_limits.cpp
parentdb0ae3f4949d6c8531e7eba88feb07417ca53fea (diff)
downloadusermoji-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/device_limits.cpp')
0 files changed, 0 insertions, 0 deletions