MaikKlein / rlsl

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

Abstracting over arrays #70

Open MaikKlein opened 5 years ago

MaikKlein commented 5 years ago

Because slices are not supported, we need to abstract over arrays with generics

fn foo(arr: &impl Array<f32>) { .. }