Skip to content

Platform: add HLSL compiler to the WinSDK modulemap #35576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions stdlib/public/Platform/winsdk.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ module WinSDK [system] {
header "d3d11_2.h"
header "d3d11_3.h"
header "d3d11_4.h"

header "../shared/dxgi1_6.h"

export *

link "d3d11.lib"
Expand All @@ -182,6 +179,23 @@ module WinSDK [system] {
link "dxgi.lib"
}

// FIXME(compnerd) DXGI is part of the Direct3D interfaces currently; we
// should split it out, but because it is part of the D3D11 interfaces, this
// separate module is meant to augment the uncovered portions only.
module _DXGI {
header "../shared/dxgi1_6.h"
export *

link "dxgi.lib"
}

module D3DCompiler {
header "d3dcompiler.h"
export *

link "d3dcompiler.lib"
}

module XAudio29 {
header "xaudio2.h"
header "xaudio2fx.h"
Expand Down