mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 03:05:42 +00:00
This patch implements the optional feature "bgra8unorm-storage" on Vulkan. As SPIR-V doesn't support 'bgra8' as a valid image format, we have to create an image view with RGBA8Unorm format on the BGRA8Unorm texture when we want to use it as a storage texture. Bug: dawn:1641 Test: dawn_end2end_tests Change-Id: I4aeea96ae872fe4e6367c535afb6ab896b952453 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/118021 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>