Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ See docs/process.md for more on how version tagging works.
- The usage of `EM_BOOL` in the emscripten API has been replaced with C/C++
bool. This change should not be observable since `EM_BOOL` has been
equivalent to `bool` since #22157. (#22155)
- Fix regression introduced in 3.1.67 (#22557) which broke webgpu / int64
integration. (#22689)

3.1.68 - 09/30/24
-----------------
Expand Down
4 changes: 2 additions & 2 deletions src/library_webgpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -2883,9 +2883,9 @@ for (var value in LibraryWebGPU.$WebGPU.FeatureName) {

for (const key of Object.keys(LibraryWebGPU)) {
if (typeof LibraryWebGPU[key] === 'function') {
const sig = LibraryWebGPU[key + '__sig'];
const sig = LibraryManager.library[key + '__sig'];
if (sig?.includes('j')) {
LibraryWebGPU[key + '__i53abi'] = true;
LibraryManager.library[key + '__i53abi'] = true;
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions test/webgpu_basic_rendering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ void doCopyTestMappedAtCreation(bool useRange) {
dst = device.CreateBuffer(&descriptor);
}

// Write some random data to the buffer, just to verify that
// wgpuQueueWriteBuffer works.
char data[4];
queue.WriteBuffer(dst, 0, data, sizeof(data));

wgpu::CommandBuffer commands;
{
wgpu::CommandEncoder encoder = device.CreateCommandEncoder();
Expand Down
Loading