diff options
| author | Tobin Ehlis <tobine@google.com> | 2017-02-02 17:26:40 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-02-06 14:34:18 -0700 |
| commit | 13e86f8706e6ceb9a09ee8f016f13c0dfaf463a3 (patch) | |
| tree | 1fa1cf5acde29ada4a6b01899df06f926996b999 /layers/core_validation.cpp | |
| parent | 7252d4c52cbba1c24d1bb4383b813ef8d837b851 (diff) | |
| download | usermoji-13e86f8706e6ceb9a09ee8f016f13c0dfaf463a3.tar.xz | |
layers:Add buffer descriptor device limit checks
This adds missing checks for max range for storage and uniform buffer
updates. Also update database file.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 75a65c0a..ff84729f 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -2122,6 +2122,10 @@ static PIPELINE_LAYOUT_NODE const *getPipelineLayout(layer_data const *my_data, return &it->second; } +VkPhysicalDeviceLimits GetPhysicalDeviceLimits(layer_data const *dev_data) { + return dev_data->phys_dev_properties.properties.limits; +} + // Return true if for a given PSO, the given state enum is dynamic, else return false static bool isDynamic(const PIPELINE_STATE *pPipeline, const VkDynamicState state) { if (pPipeline && pPipeline->graphicsPipelineCI.pDynamicState) { |
