mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-11 14:41:50 +00:00
D3D12: Only enable toggle 'use_dxc' when Dawn can load DXC DLLs
This patch adds an additional check in the initialization of device on D3D12 backend to ensure that 'use_dxc' is enabled only when Dawn can load DXC DLLs (dxil.dll and dxcompiler.dll). BUG=dawn:402 Change-Id: I85bc8698cf54b612244efc3673241f60a9cee209 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/33060 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
d4e7f08e0b
commit
a0758a1aef
@@ -108,4 +108,4 @@ TEST_P(ShaderFloat16Tests, Basic16BitFloatFeaturesTest) {
|
||||
EXPECT_BUFFER_U16_RANGE_EQ(expected, bufferOut, 0, 2);
|
||||
}
|
||||
|
||||
DAWN_INSTANTIATE_TEST(ShaderFloat16Tests, MetalBackend(), VulkanBackend());
|
||||
DAWN_INSTANTIATE_TEST(ShaderFloat16Tests, D3D12Backend(), MetalBackend(), VulkanBackend());
|
||||
|
||||
Reference in New Issue
Block a user