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 706193f3d9
commit 8db08e657d
3 changed files with 15 additions and 0 deletions

View File

@ -554,6 +554,13 @@ if(OS_WINDOWS)
vulkan-1.dll vulkan-1.dll
) )
if(PROJECT_ARCH STREQUAL "x86_64")
list(APPEND CEF_BINARY_FILES
dxil.dll
dxcompiler.dll
)
endif()
# List of CEF resource files. # List of CEF resource files.
set(CEF_RESOURCE_FILES set(CEF_RESOURCE_FILES
chrome_100_percent.pak 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 is recommended instead of relying on the possibly old and untested system
installed version. 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. * ANGLE support.
* libEGL.dll * libEGL.dll
* libGLESv2.dll * libGLESv2.dll

View File

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