|
@@ -13,7 +13,7 @@ when ODIN_OS == .Windows {
|
|
|
@(private) LIB :: "lib/wgpu-windows-" + ARCH + "-msvc-" + TYPE + "/lib/wgpu_native" + EXT
|
|
|
|
|
|
when !#exists(LIB) {
|
|
|
- #panic("Could not find the compiled WGPU Native library at '" + #directory + LIB + "', these can be downloaded from https://github.com/gfx-rs/wgpu-native/releases/tag/v24.0.0.2, make sure to read the README at '" + #directory + "README.md'")
|
|
|
+ #panic("Could not find the compiled WGPU Native library at '" + #directory + LIB + "', these can be downloaded from https://github.com/gfx-rs/wgpu-native/releases/tag/v25.0.2.1, make sure to read the README at '" + #directory + "README.md'")
|
|
|
}
|
|
|
|
|
|
@(export)
|
|
@@ -39,12 +39,13 @@ when ODIN_OS == .Windows {
|
|
|
@(private) LIB :: "lib/wgpu-macos-" + ARCH + "-" + TYPE + "/lib/libwgpu_native" + EXT
|
|
|
|
|
|
when !#exists(LIB) {
|
|
|
- #panic("Could not find the compiled WGPU Native library at '" + #directory + LIB + "', these can be downloaded from https://github.com/gfx-rs/wgpu-native/releases/tag/v24.0.0.2, make sure to read the README at '" + #directory + "README.md'")
|
|
|
+ #panic("Could not find the compiled WGPU Native library at '" + #directory + LIB + "', these can be downloaded from https://github.com/gfx-rs/wgpu-native/releases/tag/v25.0.2.1, make sure to read the README at '" + #directory + "README.md'")
|
|
|
}
|
|
|
|
|
|
@(export)
|
|
|
foreign import libwgpu {
|
|
|
LIB,
|
|
|
+ "system:Foundation.framework",
|
|
|
"system:CoreFoundation.framework",
|
|
|
"system:QuartzCore.framework",
|
|
|
"system:Metal.framework",
|
|
@@ -55,7 +56,7 @@ when ODIN_OS == .Windows {
|
|
|
@(private) LIB :: "lib/wgpu-linux-" + ARCH + "-" + TYPE + "/lib/libwgpu_native" + EXT
|
|
|
|
|
|
when !#exists(LIB) {
|
|
|
- #panic("Could not find the compiled WGPU Native library at '" + #directory + LIB + "', these can be downloaded from https://github.com/gfx-rs/wgpu-native/releases/tag/v24.0.0.2, make sure to read the README at '" + #directory + "README.md'")
|
|
|
+ #panic("Could not find the compiled WGPU Native library at '" + #directory + LIB + "', these can be downloaded from https://github.com/gfx-rs/wgpu-native/releases/tag/v25.0.2.1, make sure to read the README at '" + #directory + "README.md'")
|
|
|
}
|
|
|
|
|
|
@(export)
|
|
@@ -438,7 +439,7 @@ SType :: enum i32 {
|
|
|
DeviceExtras = 0x00030001,
|
|
|
NativeLimits,
|
|
|
PipelineLayoutExtras,
|
|
|
- ShaderModuleGLSLDescriptor,
|
|
|
+ ShaderSourceGLSL,
|
|
|
SupportedLimitsExtras,
|
|
|
InstanceExtras,
|
|
|
BindGroupEntryExtras,
|