All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.10.0 (2021-08-17)
- shader-ast: add node type for matrix indexing (394dd49)
- shader-ast: add reciprocal() syntax sugar (c710d81)
- shader-ast: avoid nested literals (998cf35)
0.9.0 (2021-08-13)
- shader-ast: add module logger (24c8ad5)
- shader-ast: add optimizers for built-in fns (b0124d7)
- shader-ast: add/update AST node predicates (8a4855e)
- shader-ast: add/update vec2/3 & float consts (2748f0b)
- shader-ast: update/improve AST optimizer (ad60add)
0.8.14 (2021-06-08)
- shader-ast: add missing vector coercions (a84e053)
0.8.13 (2021-04-24)
- shader-ast: fix/extend vec coercions info (6679b52)
0.8.0 (2021-02-24)
- shader-ast: add more texture lookup fns (3c95d13)
0.7.0 (2020-08-28)
- shader-ast: fix vec3(vec2, float) ctor version (bd5395d)
- shader-ast: add PrimTerm, PrimTypeMap, TermType (ffdfe81)
- shader-ast: allow nullish defn() func name (autogen) (d959858)
0.6.0 (2020-08-10)
- shader-ast: add/update vec coercions (764f4e5)
0.5.2 (2020-08-08)
- shader-ast: fix typo in isTerm(), add tests (615c8d2)
0.5.1 (2020-08-08)
- shader-ast: update allChildren(), add isTerm() (267a0c0)
0.5.0 (2020-08-08)
- shader-ast: add vec coercions (bvec, ivec..) (a0d0c55)
0.4.0 (2020-07-28)
- shader-ast: add sym interpolation qualifiers (0601af2)
0.3.0 (2019-08-21)
- shader-ast: add modf(), isnan(), isinf() built-ins (7fae67b)
0.2.3 (2019-08-17)
- shader-ast: update atan built-in handling (9f0c739)
0.2.0 (2019-07-12)
- shader-ast: builtin
not
(bvec) used wrong internal fn name (237c6f3)
- shader-ast: support number casts from bools (119f257)
0.1.1 (2019-07-08)
- shader-ast: allChildren() (while loop support) (3a559cf)
- shader-ast: buildCallGraph zero-dep fn handling (2f9da96)
- shader-ast: fix op2(), update Tag, general cleanup (46bcb04)
- shader-ast: mod() type inference (1412f71)
- shader-ast: update allChildren() (1711064)
- shader-ast: use GLSL style mod in JS codegen (b4ca8e4)
- shader-ast: use JS op2 info hints to delegate (162c1ae)
- shader-ast: add % modulo operator as modi() (e7ace59)
- shader-ast: add $xy, $xyz swizzle sugar (ff0ed9e)
- shader-ast: add arraySym(), update op2 to accept plain numbers (dc4dc15)
- shader-ast: add assignments, re-org types, update vec ctors (7dc32d1)
- shader-ast: add AST node types, builtins, major refactor (f8caed5)
- shader-ast: add buildCallGraph(), add deps (4017284)
- shader-ast: add builtins,
discard
, add/refactor ControlFlow node type (663e992) - shader-ast: add builtins, update codegens, sym/lit opts, matrices (3caede4)
- shader-ast: add defMain, allow null values in scope bodies (de0a3da)
- shader-ast: add forLoop(), ternary(), fix float/int casts, docs (474e320)
- shader-ast: add input(), output(), uniform(), update SymOpts (1307b3f)
- shader-ast: add isBool() helper, update gensym() to use base36 ids (2b23b83)
- shader-ast: add ivec / uvec support, bitwise ops, update types (4f7ca39)
- shader-ast: add JS target, re-org (c4a35e1)
- shader-ast: add op2 info, fix result type, make var names optional (9cc13ab)
- shader-ast: add post-increment/decrement, update op1() (c809af1)
- shader-ast: add powf(), update matchingPrimFor() (ac179a3)
- shader-ast: add program(), add docs (fd1fca9)
- shader-ast: add single component swizzle fns (8b36527)
- shader-ast: add support for (iu)sampler types, add textureGrad() (f8f245b)
- shader-ast: add sym() fn overrides, args (02d62a2)
- shader-ast: add texture built-ins (42ffed9)
- shader-ast: add trilight lighting model (0705e9d)
- shader-ast: add type aliases, update all uses, minor additions (0914c56)
- shader-ast: add WASM target basics & C runtime (ef06c74)
- shader-ast: add/update sdf fns, fix fogExp2, update readme (d5115ff)
- shader-ast: add/update stdlib functions & docs (e36c5b8)
- shader-ast: initial pkg import w/ updated deps & readme (30efebe)
- shader-ast: major update JS codegen, implement most builtin fns, fixes (7da1738)
- shader-ast: major updates (51d42b4)
- shader-ast: more fn arities, add defTarget(), add/update types (fdceb65)
- shader-ast: rename swizzle() => $(), add break/continue (5db7d1c)
- shader-ast: simplify fn dep/call graph handling, fix allChildren() (6ee63ea)
- shader-ast: update GLSL & JS targets to support texture fns (10782e2)
- shader-ast: update JS codegen (1d4cc58)
- shader-ast: update numeric ctors/casts, update swizzles, add uvec/bvec ctors (423fd84)
- shader-ast: update program() to accept global syms & fns, add/update docs (95524fb)
- shader-ast: update texture builtins, add texelFetchOffset (a0af395)
- shader-ast: update/rename targetGLSL() (2e405f8)