mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
wgpu: update to 25.0.2.1
This commit is contained in:
Vendored
+5
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user