mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 11:21:40 +00:00
Instead of using template functions, generate define string pairs in std::string. For DXC path, convert them to std::wstring. It is okay since shader generation is already expensive. By the way generalize it to all kinds of defines in ShaderCompilationRequest. Bug: dawn:1137 Change-Id: I5518e992b56497e28c8ac7e818bf19b4853dee4a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/70120 Commit-Queue: Shrek Shao <shrekshao@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>