36200d1943
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> |
||
---|---|---|
.. | ||
common | ||
dawn | ||
dawn_native | ||
dawn_node | ||
dawn_platform | ||
dawn_wire | ||
fuzzers | ||
include | ||
tests | ||
utils | ||
Dummy.cpp |