mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-03 02:35:55 +00:00
In follow-up CLs the aspect of texture views becomes more important as it is used to query the texture format's base type and supported componenet types. Previously asking for the AspectInfo for wgpu::TextureAspect::All could be ambiguous for depth-stencil formats. By using the internal bitfields the constraint is much more clear that a single bit must be set. Bug: dawn:527 Change-Id: Iebff40f28c4a6c38ebe5a7cccf62f8ab3363e4e3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30101 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>