Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d6e2587
Deps: Update wgpu-native to the latest HEAD
rdw-software Jun 1, 2025
166a11d
Update wgpu_aliases.h
rdw-software Jun 2, 2025
4f2b495
Update wgpu-library.spec.lua
rdw-software Jun 2, 2025
de16ba7
Update wgpu_aliases.h
rdw-software Jun 2, 2025
92bf76c
Update wgpu_aliases.h
rdw-software Jun 2, 2025
7a56ab2
Update wgpu_exports.h
rdw-software Jun 2, 2025
060beed
Update wgpu-library.spec.lua
rdw-software Jun 2, 2025
c7dd922
Update wgpu_aliases.h
rdw-software Jun 2, 2025
a206cbd
Update wgpu_aliases.h
rdw-software Jun 2, 2025
f3d59b9
Update wgpu_exports.h
rdw-software Jun 2, 2025
4073e8e
Update wgpu_aliases.h
rdw-software Jun 2, 2025
4216348
Update wgpu_aliases.h
rdw-software Jun 2, 2025
5f4f6e9
Update wgpu_aliases.h
rdw-software Jun 2, 2025
a5417c4
Update wgpu_aliases.h
rdw-software Jun 2, 2025
b2c3b64
Update wgpu_aliases.h
rdw-software Jun 2, 2025
fd963cf
Update wgpu_aliases.h
rdw-software Jun 2, 2025
bad8f0f
Update wgpu_aliases.h
rdw-software Jun 2, 2025
50a0fe5
Update wgpu_aliases.h
rdw-software Jun 2, 2025
22ae86f
Update wgpu_aliases.h
rdw-software Jun 2, 2025
6f6d896
Update wgpu_aliases.h
rdw-software Jun 2, 2025
aca02b3
Update wgpu_exports.h
rdw-software Jun 2, 2025
a12f29e
Update wgpu_aliases.h
rdw-software Jun 2, 2025
295a9da
Update wgpu_aliases.h
rdw-software Jun 2, 2025
dc48573
Update wgpu_exports.h
rdw-software Jun 2, 2025
960b784
Update wgpu_aliases.h
rdw-software Jun 2, 2025
70267f8
Update wgpu.lua
rdw-software Jun 2, 2025
cc821b6
Update wgpu_aliases.h
rdw-software Jun 2, 2025
3d2009a
Create WIP.md
rdw-software Jun 2, 2025
793b749
Update WIP.md
rdw-software Jun 2, 2025
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
10 changes: 10 additions & 0 deletions Runtime/Bindings/FFI/wgpu/WIP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
https://github.com/webgpu-native/webgpu-headers/compare/043af6c77e566f707db36759d9c9f161ebb616fd...bac520839ff5ed2e2b648ed540bd9ec45edbccbc#diff-074fca0467717d8d789bdfb86bf9e2d4afec03055a2787e0b604fda4254d4ed9R2285

Somewhere around here:
typedef void (*WGPUProcBindGroupSetLabel)(WGPUBindGroup bindGroup, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;

See also the docs RE async mapping and futures, ownership changes etc (this doesn't map cleanly to the FFI?):

https://github.com/webgpu-native/webgpu-headers/compare/043af6c77e566f707db36759d9c9f161ebb616fd...bac520839ff5ed2e2b648ed540bd9ec45edbccbc#diff-074fca0467717d8d789bdfb86bf9e2d4afec03055a2787e0b604fda4254d4ed9R2285

Need to test whether that's problematic and possibly change approaches here, it's not feasible to keep up with those kinds of breaking changes unless the bindings are automatically generated/wrapped in native code.
4 changes: 2 additions & 2 deletions Runtime/Bindings/FFI/wgpu/wgpu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ typedef enum WGPUColorWriteMask {
WGPUColorWriteMask_All = 0x0000000F, // WGPUColorWriteMask_None | WGPUColorWriteMask_Red | WGPUColorWriteMask_Green | WGPUColorWriteMask_Blue | WGPUColorWriteMask_Alpha
WGPUColorWriteMask_Force32 = 0x7FFFFFFF
} WGPUColorWriteMask;
typedef WGPUFlags WGPUColorWriteMaskFlags;
typedef WGPUFlags WGPUColorWriteMask;

typedef enum WGPUMapMode {
WGPUMapMode_None = 0x00000000,
Expand Down Expand Up @@ -1127,7 +1127,7 @@ typedef struct WGPUColorTargetState {
WGPUChainedStruct const* nextInChain;
WGPUTextureFormat format;
WGPUBlendState const* blend;
WGPUColorWriteMaskFlags writeMask;
WGPUColorWriteMask writeMask;
} WGPUColorTargetState;

typedef struct WGPUComputePipelineDescriptor {
Expand Down
Loading
Loading