win: distrib: Add DirectX compiler binaries for WebGPU (fixes #3646)

This commit is contained in:
Marshall Greenblatt 2024-02-15 16:59:55 -05:00
parent e7d470d7fa
commit 5c4a81b6da
3 changed files with 15 additions and 0 deletions

View File

@ -554,6 +554,13 @@ if(OS_WINDOWS)
vulkan-1.dll
)
if(PROJECT_ARCH STREQUAL "x86_64")
list(APPEND CEF_BINARY_FILES
dxil.dll
dxcompiler.dll
)
endif()
# List of CEF resource files.
set(CEF_RESOURCE_FILES
chrome_100_percent.pak

View File

@ -56,6 +56,12 @@ run but any related functionality may become broken or disabled.
is recommended instead of relying on the possibly old and untested system
installed version.
* DirectX compiler support (x64 only).
* dxil.dll
* dxcompiler.dll
Support for DirectX rendering of WebGPU. Without these files the
aforementioned capabilities may fail.
* ANGLE support.
* libEGL.dll
* libGLESv2.dll

View File

@ -890,6 +890,8 @@ if platform == 'windows':
binaries = [
{'path': 'chrome_elf.dll'},
{'path': 'd3dcompiler_47.dll'},
{'path': 'dxcompiler.dll', 'conditional': True},
{'path': 'dxil.dll', 'conditional': True},
{'path': libcef_dll},
{'path': 'libEGL.dll'},
{'path': 'libGLESv2.dll'},