Swoorup Joshi

Results 159 comments of Swoorup Joshi

IntelliJ IDEA 2020.3 Beta (Community Edition) Build #IC-203.5981.41, built on November 19, 2020 Runtime version: 11.0.9+11-b1145.15 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 10.15.7 GC: ParNew, ConcurrentMarkSweep...

Thank you, I wasn't aware of `get_preprocessor_data`. It does appear to be exactly what I want. Only caveat being that if imports are unused, it doesn't show up at all....

The success case for brevity: ```rust composer .make_naga_module(NagaModuleDescriptor { source: r#" struct S { x: f32 } struct Valid { a: S, @align(16) b: f32 // valid: offset between a...

Because of this issue or something else I also run into other weird issue when used inside function from different file as well. It is perhaps treating the type separately...

Probably related: https://github.com/gfx-rs/wgpu/issues/4377

> on reflection, the backend issues are the direct cause - the including module is built from a generated header for the include for the target language (which includes the...

Ugh, you are right. I renamed `Vec2` to `Vivek` and I got ```shell error: unknown type: 'Vivek' ┌─ :4:53 │ 4 │ @group(0) @binding(1) var valid: Vivek; │ ^^^^^ unknown...

> but i suspect there will be more changes required to support aliases, maybe for internal use in a module and almost certainly for importing them into another module. >...

It doesn't. But its better than nothing. 😄