Closed Bug 1936228 Opened 1 year ago Closed 1 year ago

Port bug 1903302 - Ship dxcompiler.dll and dxil.dll

Categories

(Thunderbird :: Upstream Synchronization, task)

task

Tracking

(thunderbird_esr128 unaffected)

RESOLVED FIXED
135 Branch
Tracking Status
thunderbird_esr128 --- unaffected

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(1 file)

M-C is planning to enable DXC by default. At least then we need to follow with loading this DLLs.

Comment from M-C patch:
This patch is the first step towards shipping dxcompiler.dll and
dxil.dll (also referred to as DXC) on Windows for WebGPU.

With this patch DXC is disabled by default at build time and can be enabled
on x86_64 by adding ac_add_options --enable-dxcompiler in the mozconfig
file.

Followup work will include in no particular order:

  • Enabling DXC by default.
  • Enabling DXC for Windows on x86 and arm architectures.
  • Using our own DXC builds instead of pulling the dlls from the Windows
    SDK.
Depends on: webgpu-dxc
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Target Milestone: --- → 135 Branch

Note that we only plan to use DXC with WebGPU (at least for a while). So if thunderbird does not need/want webgpu support, then you don't have to bundle the dlls. They are loaded dynamically the first time webgpu is used and failure to load the dll should just cause webgpu to not provide access to the GPU adapter.

Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/77d0eac938f4
Port bug 1903302 - Ship dxcompiler.dll and dxil.dll. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: