diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2015-09-17 12:24:13 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobin@lunarg.com> | 2015-09-21 11:41:54 -0600 |
| commit | 8c518a7809b6d6914532a3383cda5e8df02c42d7 (patch) | |
| tree | 0ce3ad134ae749eba79eda2d4ff12207e41be571 /layers/device_limits.cpp | |
| parent | 71ccff011ec16ed932fe8b58504f05d3915b64cb (diff) | |
| download | usermoji-8c518a7809b6d6914532a3383cda5e8df02c42d7.tar.xz | |
layers: Add Idx buffer alignment check to DrawState
At vkCmdBindIndexBuffer() time, verify that offset param falls on an aligment boundary as set by indexType param. New check enum is DRAWSTATE_VTX_INDEX_ALIGNMENT_ERROR.
Removed checks for this from the driver and added a validation test and documentation for the new check.
ParamChecker has a check to verify indexType param is an acceptable value, but it's after the call so documented a TODO for ParamChecker to push this check prior to call.
Diffstat (limited to 'layers/device_limits.cpp')
0 files changed, 0 insertions, 0 deletions
