treeform / shady

Nim to GPU shader language compiler and supporting utilities.
MIT License
147 stars 10 forks source link

How to use array as return value? #11

Open arkanoid87 opened 1 year ago

arkanoid87 commented 1 year ago

I see in shady.nim has references to string "array", but I see no tests or examples how use them

they should be allowed to be used as return value: https://registry.khronos.org/webgl/conformance-suites/2.0.0/conformance2/glsl3/array-as-return-value.html

what's the intended usage of array keyword here?