09c308cfcf
Found while investigating Swiftshader support. Some Vulkan loaders fail to create an instance if VK_ICD_FILENAMES is empty string rather than entirely absent. It was set to empty string because Dawn did not distinguish between nonexistent environment variables and the empty string. This CL adds distinguishing between the two, including tests for the behavior. Bug: chromium:1266550 Change-Id: I1680a281f62e6b340009e01da65db9d485e2975e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/69520 Auto-Submit: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Austin Eng <enga@chromium.org> |
||
---|---|---|
.. | ||
Animometer.cpp | ||
BUILD.gn | ||
CHelloTriangle.cpp | ||
CMakeLists.txt | ||
ComputeBoids.cpp | ||
CppHelloTriangle.cpp | ||
CubeReflection.cpp | ||
ManualSwapChainTest.cpp | ||
OWNERS | ||
SampleUtils.cpp | ||
SampleUtils.h |