MaikKlein / rlsl

Rust to SPIR-V compiler
Apache License 2.0
557 stars 14 forks source link

Support pointers in structs by expanding fields into separate variables #62

Open MaikKlein opened 6 years ago

MaikKlein commented 6 years ago

This would effectively allow iterators to be expressed in SPIR-V. A simple mir pass should suffice for this.

MaikKlein commented 6 years ago

Destructuring, deaggregation, SROA (scalar replacement of aggregates)

ambiso commented 4 years ago

Why did rlsl choose the logical addressing model?

Could the physical model be used too?