mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-12 15:09:23 +00:00
This patch adds validations on the sample count of the textures used in buffer-to-texture and texture-to-buffer copies. Vulkan SPEC requires the textures used in vkCmdCopyBufferToImage and VkCmdCopyImageToBuffer must have a sample count equal to VK_SAMPLE_COUNT_1_BIT. BUG=dawn:56 TEST=dawn_unittests Change-Id: I189923eee2d8734d5ae3b57aea1a55533e8d98b7 Reviewed-on: https://dawn-review.googlesource.com/c/5220 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>