Right now, wgpu.h can be included directly and it then includes webgpu-headers/webgpu.h. This is altered during creation of a distribution package to remove the "webgpu-headers", but by adding ffi/webgpu-headers to the include search path, we can avoid having to preprocess the wgpu.h.
Right now,
wgpu.h
can be included directly and it then includeswebgpu-headers/webgpu.h
. This is altered during creation of a distribution package to remove the"webgpu-headers"
, but by addingffi/webgpu-headers
to the include search path, we can avoid having to preprocess thewgpu.h
.