Henno

Results 9 comments of Henno

Has [bindgen](https://github.com/rust-lang/rust-bindgen) been looked at? It can generate [C++ bindings](https://rust-lang.github.io/rust-bindgen/cpp.html) with the major restrictions being around templates.

Digging into `bindgen` for C++ a bit more, [this issue](https://github.com/rust-lang/rust-bindgen/issues/778) pops out because physx-sys had an issue like that, as well as an issue similar to what @tgolsson encountered with...

I implemented a *super* rudimentary tracking allocator [here](https://github.com/Hentropy/physx-rs/blob/main/physx/src/foundation.rs#L165). If the allocation name feature works, that would enable a proper type aware allocator which would be amazing, but IIRC it's debug...

@NickCaplinger ping to keep this on your radar. It's looking really good, and it's very nearly there πŸ€—

@NickCaplinger You're a legend, thank you. Gimme a ping and I'll take a look πŸ˜„

How would a function like this be handled? Compiler error I guess? ```Rust fn shader(#[spirv(input)] foo: &mut Vec4) {} ``` How does the `SampleMask` builtin work? It can be either...

How would descriptor indexing work? ```rust #[spirv(uniform, descriptor_set = 0, binding = 0)] way_1: [&T], #[spirv(uniform, descriptor_set = 0, binding = 0)] way_2: &[T], #[spirv(uniform_array, descriptor_set = 0, binding =...

The [Vulkan spec requires Vec3 to be `align_of()`](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#interfaces-resources-layout) but the spare 4 bytes are usable, expressed like so in CPU code: ```Rust #[repr(align(16))] #[repr(C)] struct Foo { v: Vec3, //...

I'm glad to hear that Nick ☺️ @rlidwka I'm in the same boat as Nick here, sorry. You could pick it up where it's been loft off, though I'm not...