Skip to content

Conversation

@zeozeozeo
Copy link
Contributor

By default dawn only searches for vulkan-1.dll in the executable folder, this also makes it search in system32 on windows.

TODO: verify memory safety

@zeozeozeo zeozeozeo marked this pull request as draft December 3, 2025 12:41
#endif
}

#ifdef WEBGPU_BACKEND_DAWN
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to #if SUPPORT_WGPU_BACKEND == 1 for now?

// Define DawnInstanceDescriptor from DawnNative.h

#ifndef WGPUSType_DawnInstanceDescriptor
#define WGPUSType_DawnInstanceDescriptor (WGPUSType)0x000003EC
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work or cause an "invalid SType ..." error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't work yeah. Not really sure what to do, maybe we do need a C++ file (like with the Tint parser) just for this.

@zeozeozeo
Copy link
Contributor Author

superseded by #29

@zeozeozeo zeozeozeo closed this Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants