kovasb / gamma

glsl shaders made simple
Eclipse Public License 1.0
306 stars 20 forks source link

fixing aget arithmetic #29

Closed timsgardner closed 9 years ago

timsgardner commented 9 years ago

response to #27.

timsgardner commented 9 years ago

Poking around some more I'm almost certain this isn't a satisfactory solution (doesn't solve the (float (aget v i)) issue, for example). infer-parametrized-type seems implicated. Would giving aget terms a :type help?

kovasb commented 9 years ago

Should by fixed by https://github.com/kovasb/gamma/commit/26a6d898b7d6d8581c8ae9444c3572f12c39ca0a