[M150] Vulkan: Avoid UB in CreateSamplerYCbCrConversion Original change's description: > Vulkan: Avoid UB in CreateSamplerYCbCrConversion > > If the Chroma Filter is linear in CreateSamplerYCbCrConversion do > a check to ensure that the format allows for it and adjust the > filter to nearest if not to avoid undefined behavior in > CreateSamplerYcbcrConversion. > > Fixed: 520180257 > Change-Id: I6be11b5e72f83326f73a2e4ad9b6659172c83ae4 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/314296 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Commit-Queue: Brandon Jones <bajones@chromium.org> (cherry picked from commit dbeb906300358eb5c8f61e98a8f71f57285b714c) Bug: 523532146,520180257 Change-Id: I6be11b5e72f83326f73a2e4ad9b6659172c83ae4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/317015 Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.