aboutsummaryrefslogtreecommitdiff
path: root/layers/image.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2015-12-17 11:48:42 -0700
committerMark Lobodzinski <mark@lunarg.com>2015-12-28 15:13:16 -0700
commit205dee39569c65da1bdfa86b00c6a42276d39240 (patch)
tree7f409241f8fb5e1094266515690b97bc5eb3190a /layers/image.cpp
parentad883c0b5a931b237325cac1f9150eed9398aa39 (diff)
downloadusermoji-205dee39569c65da1bdfa86b00c6a42276d39240.tar.xz
layers: MR101, Add DrawState validation of pDynamicOffsets
At draw time, verify that any dynamic descriptors that are bound and used by the pipeline do not overflow their buffer. This requires checking the combindation of the pDynamicOffsets value from vkCmdBindDescriptorSets() for each descriptor along with its offset and range from vkUpdateDescriptors() to makes sure this combination doesn't overflow the buffer size. Also added a test to hit this case along with some additional testing for incorrect dynamicOffsetCount at vkCmdBindDescriptorSets() time. Conflicts: layers/draw_state.cpp
Diffstat (limited to 'layers/image.cpp')
0 files changed, 0 insertions, 0 deletions