mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-24 20:52:19 +00:00
This is a reland of f84daa070f05eb80672a9a23e23aed205fe72a5e Eliminate static initializer(disallowed in Chromium) by replacing shader string living in anonymous namespace from type "std::string" to char array. Original change's description: > CopyTextureForBrowser: Support color format conversion > > This CL enables blit from RGBA8Unorm soruce texture to dst texture that > |CopyImageBitmapToTexture| supported dst format. > > BUG=dawn:465 > > Change-Id: I99846cf8dc37bc89e0c168a3d86193bb3a0c0ebb > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44020 > Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Reviewed-by: Austin Eng <enga@chromium.org> Bug: dawn:465 Change-Id: Ic3a156f5a20b217fd2aa5f86b01bad8ce77dc41c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45443 Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>