{gpu,gpu-dawn}: add X11 linkage back; update to latest WebGPU API
This commit is contained in:
parent
8a15fcd694
commit
9f6020e545
5 changed files with 20 additions and 5 deletions
|
|
@ -277,6 +277,9 @@ pub fn Sdk(comptime deps: anytype) type {
|
|||
step.addIncludePath(include_dir);
|
||||
step.addIncludePath(sdkPath("/src/dawn"));
|
||||
|
||||
if (isLinuxDesktopLike(step.target_info.target.os.tag)) {
|
||||
step.linkSystemLibraryName("X11");
|
||||
}
|
||||
if (options.metal.?) {
|
||||
step.linkFramework("Metal");
|
||||
step.linkFramework("CoreGraphics");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue