Closed Bug 1932564 Opened 9 months ago Closed 6 months ago

Build dxcompiler.dll from source on taskcluster

Categories

(Core :: Graphics: WebGPU, task, P3)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: nical, Assigned: sergesanspaille)

References

Details

Attachments

(1 file, 1 obsolete file)

We are in the process of switching WebGPU from FXC to DXC. Unfortunately, grabbing DXC from the Windows SDK is not enough as we want the latest security fixes and a build with assertions enabled, so following Chrome's footsteps we are going to produce and ship our own builds of dxcompiler.dll
The way to do that is to have a taskcluster job to produce the builds, ideally cross-compiling from linux.

The upstream repository is https://github.com/microsoft/DirectXShaderCompiler/ although by the time we ship we'll want to have our own fork stood up.

We can probably get a lot of inspiration from how we do it with clang. Since both are built on top of some version of LLVM, there should be commonalities.

Assignee: nobody → sguelton
Status: NEW → ASSIGNED
Attachment #9462841 - Attachment description: WIP: WIP(nical): Bug 1932564 - Build dxcompiler.dll from source on taskcluster. → Bug 1932564 - Build dxcompiler.dll from source on taskcluster. r=glandium
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfcfa8600009 Build dxcompiler.dll from source on taskcluster. r=glandium
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Attachment #9439467 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: