aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-09-17 12:24:13 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-09-21 11:41:54 -0600
commit8c518a7809b6d6914532a3383cda5e8df02c42d7 (patch)
tree0ce3ad134ae749eba79eda2d4ff12207e41be571 /layers/device_limits.cpp
parent71ccff011ec16ed932fe8b58504f05d3915b64cb (diff)
downloadusermoji-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