Henry Betts

Results 27 comments of Henry Betts

I've had a brief look at the dawn performance tests. Might be worth using them as a model to some degree. https://dawn.googlesource.com/dawn/+/refs/heads/main/docs/testing.md Looks like there is quite a lot going...

Looks like there was a [recent change](https://dawn.googlesource.com/dawn/+/670e0bbfa55ffa72422dc22fda4a8cdbfd59e014) to the format of dawn.json which probably explains the build errors. Not entirely sure why they've made that change, but I'll probably need...

The issues with the code generation should be fixed with 44f87e7b2644f8f5aa2580b39a4d306368d1e74a.

I'm guessing this is because headerSearchPath doesn't allow you to specify an absolute path, and it also doesn't propagate to dependencies. I've made some changes today, and my recommendation now...

Can you try running `otool -D /usr/local/lib/libwebgpu_dawn.dylib` - I suspect the output will probably contain something like `@rpath/libwebgpu_dawn.dylib`, which means it is expecting to be placed next to the executable....

Alternatively, you can add an rpath to the executable. In Swift package manager you can do this with something like `linkerSettings: [.unsafeFlags(["-Xlinker", "-rpath", "-Xlinker", "/usr/local/lib"])]`. Or you should be able...

I did manage to get the demos running on Windows today. The process is definitely more painful than on Mac/Linux currently. Here are some of my findings: Dawn - Dawn...

This should be possible - maybe not now, but at some point. Currently, this project is geared towards Dawn specifically. But once Dawn is compatible with the [upstream header](https://github.com/webgpu-native/webgpu-headers) (which...

Ah I see. At a brief glance, that does look like it would be more suitable if you know that you are only targeting web assembly.

Right, got it. I'll admit, I'm not too familiar with the current state of web assembly in swift. I'll try to find a moment to read up on it. In...