aboutsummaryrefslogtreecommitdiff
path: root/layers/unique_objects.cpp
diff options
context:
space:
mode:
authorMarcin Kantoch <Marcin.Kantoch@amd.com>2017-01-27 12:33:21 +0100
committerMark Lobodzinski <mark@lunarg.com>2017-01-27 08:55:56 -0700
commit8d5226c619572dacf4778aa95dc51a98557f9554 (patch)
treead963c73d77dd7e9b1693592a63e4a92091cd087 /layers/unique_objects.cpp
parent85dbd823c410a2817b077e2c6d1ee0cda7e247dd (diff)
downloadusermoji-8d5226c619572dacf4778aa95dc51a98557f9554.tar.xz
layers: Fix for VkBufferImageCopy for depth/stencil
According to the Vulkan spec: "If the the calling command's VkImage parameter's format is not a depth/stencil format, then VkBufferImageCopy::bufferOffset must be a multiple of the format's element size" Currently the image validation layer is checking unconditionally if VkBufferImageCopy::bufferOffset is a multiple of the format's element size and reporting error otherwise. Added code that skips the alignment check if the VkImage parameter's format is combined depth/stencil. Change-Id: I92f2a67eee590fa3616df9da121aceec65204c24
Diffstat (limited to 'layers/unique_objects.cpp')
0 files changed, 0 insertions, 0 deletions