diff --git a/.gitignore b/.gitignore index 54f3f1a5..7c057efa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,16 @@ elm-stuff -.cache +.parcel-cache node_modules /dist +/src/optimized.js +generated + # Ignore Yarn caches .yarn/* +!.yarn/patches !.yarn/releases !.yarn/plugins +!.yarn/sdks +!.yarn/versions .pnp.* diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..6756131f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "elmLS.elmFormatPath": "elm-format-hack", + "cSpell.words": ["Glsl", "sqrts"] +} diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..b63ab6f8 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +ELM_FILES = $(wildcard src/**/*.elm) +CODEGEN_FILES = $(wildcard codegen/*.elm) + +.PHONY: build +build: generated/Glsl/Functions/NuPlot.elm src/optimized.js Makefile + parcel build src/index.html --public-url . + +src/optimized.js: $(ELM_FILES) Makefile + yarn elm-optimize-level-2 src/elm/UI.elm --output $@ + +generated/Glsl/Functions/NuPlot.elm: codegen/functions.frag codegen/src/Generate.elm codegen/bindings/Gen/Glsl.elm Makefile + rm -rf generated + yarn elm-pages run codegen/src/Generate.elm + elm-format --yes generated + +codegen/bindings/Gen/Glsl.elm: codegen/elm.codegen.json Makefile + rm -rf codegen/bindings + yarn elm-codegen install + mkdir -p codegen/bindings + mv codegen/Gen codegen/bindings + + +.PHONY: clean +clean: Makefile + rm -rf .cache dist elm-stuff diff --git a/README.md b/README.md index d9adbb46..4b5444d6 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,4 @@ It's a rewrite in Elm of "mePlot", which was a formerly J2ME, then Android appli It's pre-1.0, and there is much to do. -To test it, `pnpm install` and then `pnpm start`. +To test it, `yarn install` and then `yarn start`. diff --git a/TODO.md b/TODO.md index 5df5cdc4..4c0e96c5 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,6 @@ # Todo +- https://samuelj.li/complex-function-plotter/#1%2Fz - solve `x² - 3pi x² + 3 pi² x - pi³ = 0` - Fuzzy test the solver - User functions diff --git a/codegen/.gitignore b/codegen/.gitignore new file mode 100644 index 00000000..a6ea7088 --- /dev/null +++ b/codegen/.gitignore @@ -0,0 +1 @@ +Gen diff --git a/codegen/.vscode/settings.json b/codegen/.vscode/settings.json new file mode 100644 index 00000000..0c8d6f19 --- /dev/null +++ b/codegen/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "cSpell.words": ["Glsl"] +} diff --git a/codegen/elm.codegen.json b/codegen/elm.codegen.json new file mode 100644 index 00000000..c473e5bb --- /dev/null +++ b/codegen/elm.codegen.json @@ -0,0 +1,9 @@ +{ + "elm-codegen-version": "0.6.1", + "codegen-helpers": { + "packages": { + "elm/core": "1.0.5" + }, + "local": ["vendored/miniBill/elm-glsl/1.0.0/src"] + } +} diff --git a/codegen/elm.json b/codegen/elm.json new file mode 100644 index 00000000..2c4b49dc --- /dev/null +++ b/codegen/elm.json @@ -0,0 +1,65 @@ +{ + "type": "application", + "source-directories": [ + "src", + "bindings", + "../vendored/miniBill/elm-glsl/1.0.0/src" + ], + "elm-version": "0.19.1", + "dependencies": { + "direct": { + "dillonkearns/elm-pages": "10.2.1", + "elm/browser": "1.0.2", + "elm/core": "1.0.5", + "elm/html": "1.0.0", + "elm/json": "1.1.3", + "elm/parser": "1.1.0", + "elm-community/list-extra": "8.7.0", + "elm-community/result-extra": "2.4.0", + "mdgriffith/elm-codegen": "5.2.0", + "mdgriffith/elm-ui": "1.1.8", + "pithub/elm-parser-bug-workaround": "1.0.0", + "wolfadex/elm-ansi": "3.0.0" + }, + "indirect": { + "Chadtech/elm-bool-extra": "2.4.2", + "avh4/elm-color": "1.0.0", + "danfishgold/base64-bytes": "1.1.0", + "danyx23/elm-mimetype": "4.0.1", + "dillonkearns/elm-bcp47-language-tag": "2.0.0", + "dillonkearns/elm-cli-options-parser": "3.2.0", + "dillonkearns/elm-date-or-date-time": "2.0.0", + "dillonkearns/elm-form": "3.0.1", + "elm/bytes": "1.0.8", + "elm/file": "1.0.5", + "elm/http": "2.0.0", + "elm/random": "1.0.0", + "elm/regex": "1.0.0", + "elm/time": "1.0.0", + "elm/url": "1.0.0", + "elm/virtual-dom": "1.0.3", + "elm-community/basics-extra": "4.1.0", + "elm-community/maybe-extra": "5.3.0", + "fredcy/elm-parseint": "2.0.1", + "jluckyiv/elm-utc-date-strings": "1.0.0", + "justinmimbs/date": "4.1.0", + "miniBill/elm-codec": "2.2.0", + "miniBill/elm-unicode": "1.1.1", + "noahzgordon/elm-color-extra": "1.0.2", + "pithub/elm-parser-extra": "1.0.0", + "robinheghan/fnv1a": "1.0.0", + "robinheghan/murmur3": "1.0.0", + "rtfeldman/elm-css": "18.0.0", + "rtfeldman/elm-hex": "1.0.0", + "rtfeldman/elm-iso8601-date-strings": "1.1.4", + "stil4m/elm-syntax": "7.3.8", + "stil4m/structured-writer": "1.0.3", + "the-sett/elm-pretty-printer": "3.1.1", + "the-sett/elm-syntax-dsl": "6.0.3" + } + }, + "test-dependencies": { + "direct": {}, + "indirect": {} + } +} diff --git a/codegen/functions.frag b/codegen/functions.frag new file mode 100644 index 00000000..3f28cd75 --- /dev/null +++ b/codegen/functions.frag @@ -0,0 +1,600 @@ +const int MAX_DEPTH = 30; +//const int MAX_DEPTH = 60; + +const int P31 = 2147483648; +const int P32M1 = 4294967295; +const float PIHALF = 1.5707963267948966; +const float PI = 3.141592653589793; +const float TWOPI = 6.283185307179586; + +// precision highp float; + +uniform float u_whiteLines; +uniform float u_completelyReal; +uniform float u_drawAxes; +uniform vec2 u_zoomCenter; +uniform float u_viewportWidth; +uniform float u_canvasWidth; +uniform float u_canvasHeight; +uniform float u_phi; +uniform float u_theta; + +/////////// +// Utils // +/////////// + +float log10(float x) { + return log(x) / log(10.0); +} + +float sinh(float x) { return 0.5 * (exp(x) - exp(-x)); } +float cosh(float x) { return 0.5 * (exp(x) + exp(-x)); } +float tanh(float x) { + if (abs(x) > 10.) + return sign(x); + float p = exp(x); + float m = exp(-x); + return (p - m) / (p + m); +} + +float round(float v) { return floor(v + 0.5); } +vec2 round(vec2 v) { return floor(v + 0.5); } +vec3 round(vec3 v) { return floor(v + 0.5); } +vec4 round(vec4 v) { return floor(v + 0.5); } + +float cbrt(float v) { return sign(v) * pow(abs(v), 1. / 3.); } + +bool between(float x, float low, float high) { return low <= x && x <= high; } + +vec2 dup(float x) { return vec2(x, x); } + +vec3 hl2rgb(float h, float l) { + vec3 rgb = clamp(abs(mod(h * 6. + vec3(0., 4., 2.), 6.) - 3.) - 1., 0., 1.); + return l + (rgb - .5) * (1. - abs(2. * l - 1.)); +} + +vec4 gnum(float f) { return vec4(f, 0, 0, 0); } + +float atanPlus(float y, float x) { + return mod(radians(360.) + atan(y, x), radians(360.)); +} + +vec2 iexpand(vec2 v) { + return v * (vec2(1., 1.) + sign(v) * vec2(-0.000001, 0.000001)); +} + +float thetaDelta(float theta) { + if (u_whiteLines < 1.) + return 100.; + float thetaSix = theta * u_whiteLines + .5; + float thetaNeigh = .05; + return abs(fract(thetaSix) - .5) / thetaNeigh; +} + +float axis(float coord, float otherCoord, float maxDelta) { + float across = 1.0 - abs(coord/maxDelta); + if(across < -12.0) + return 0.0; + float smallUnit = pow(10.0, ceil(log10(maxDelta))); + if(across < 0.0 && abs(otherCoord) < maxDelta * 2.0) + return 0.0; + float unit = across < -6.0 ? smallUnit * 100.0 : across < -0.1 ? smallUnit * 10.0 : smallUnit * 5.0; + float parallel = mod(abs(otherCoord), unit) < maxDelta ? 1.0 : 0.0; + return max(0.0, max(across, parallel)); +} + +// Shifts for the recursive algorithm +int left_shift(int i) { return i * 2; } +int left_shift_increment(int i) { return i * 2 + 1; } + +ivec2 increment(ivec2 i) { + return i.x == P32M1 ? ivec2(0, i.y + 1) : ivec2(i.x + 1, i.y); +} + +ivec2 left_shift(ivec2 i) { + return i.x >= P31 ? ivec2(2 * (i.x - P31), i.y * 2 + 1) : 2 * i; +} + +ivec2 left_shift_increment(ivec2 i) { return increment(left_shift(i)); } + +bool is_even(int i) { return i / 2 * 2 == i; } +bool is_odd(int i) { return i / 2 * 2 != i; } +bool is_even(ivec2 i) { return is_even(i.x); } + +ivec2 right_shift(ivec2 i) { + return is_odd(i.y) ? ivec2(i.x / 2 + P31, i.y / 2) : i / 2; +} + +int right_shift(int i) { return i / 2; } + +///////////// +// Complex // +///////////// + +// Constants +vec2 ci() { return vec2(0, 1); } + +vec2 cpi() { return vec2(radians(180.), 0); } + +vec2 ce() { return vec2(exp(1.), 0); } + +// Operations +vec2 cby(vec2 a, vec2 b) { + return vec2(a.x * b.x - a.y * b.y, a.x * b.y + a.y * b.x); +} + +vec2 cdiv(vec2 a, vec2 b) { + float k = 1. / dot(b, b); + float r = k * dot(a, b); + float i = k * (a.y * b.x - a.x * b.y); + return vec2(r, i); +} + +vec2 cln(vec2 z) { + if (z.y == 0. && z.x >= 0.) { + return vec2(log(z.x), 0); + } + float px = length(z); + float py = atan(z.y, z.x); + return vec2(log(px), py); +} + +vec2 cexp(vec2 z) { + if (z.y == 0.) { + return vec2(exp(z.x), 0); + } + return vec2(cos(z.y), sin(z.y)) * exp(z.x); +} + +vec2 cpow(vec2 w, vec2 z) { + if (w.x >= 0. && w.y == 0. && z.y == 0.) { + return vec2(pow(w.x, z.x), 0); + } + return cexp(cby(cln(w), z)); +} + +// Trig +vec2 csin(vec2 z) { + if (z.y == 0.0) { + return vec2(sin(z.x), 0); + } + return vec2(sin(z.x) * cosh(z.y), cos(z.x) * sinh(z.y)); +} + +vec2 ccos(vec2 z) { + if (z.y == 0.0) { + return vec2(cos(z.x), 0); + } + return vec2(cos(z.x) * cosh(z.y), sin(z.x) * sinh(z.y)); +} + +vec2 ctan(vec2 z) { + if (z.y == 0.0) { + return vec2(tan(z.x), 0); + } + return cdiv(csin(z), ccos(z)); +} + +vec2 csqrt(vec2 z) { + if (z.y == 0. && z.x >= 0.) { + return vec2(sqrt(z.x), 0); + } + float r = pow(dot(z, z), .25); + float t = atan(z.y, z.x) * .5; + return r * vec2(cos(t), sin(t)); +} + +vec2 casin(vec2 z) { + vec2 s = csqrt(vec2(1, 0) - cby(z, z)); + vec2 arg = s - cby(vec2(0, 1), z); + return cby(vec2(0, 1), cln(arg)); +} + +vec2 cacos(vec2 z) { return cpi() * .5 - casin(z); } + +vec2 catan(vec2 z) { + if (z.y == 0.) { + return vec2(atan(z.x), 0); + } + vec2 o = vec2(1, 0); + vec2 iz = cby(vec2(0, 1), z); + vec2 l = cdiv(o + iz, o - iz); + return -0.5 * cby(vec2(0, 1), cln(l)); +} + +vec2 catan2(vec2 y, vec2 x) { + vec2 z = vec2(x.x - y.y, x.y + y.x); + return vec2(atan(z.y, z.x), 0.); +} + +vec2 csinh(vec2 z) { return .5 * (cexp(z) - cexp(-z)); } +vec2 ccosh(vec2 z) { return .5 * (cexp(z) + cexp(-z)); } + +vec2 ctanh(vec2 z) { + vec2 p = cexp(z); + vec2 m = cexp(-z); + return cdiv(p - m, p + m); +} + +// Power and sign +vec2 cabs(vec2 z) { return vec2(length(z), 0.); } + +vec2 csign(vec2 z) { return vec2(sign(z.x), sign(z.y)); } + +vec2 ccbrt(vec2 z) { + if (z.y == 0.) { + return vec2(sign(z.x) * pow(z.x, 1. / 3.), 0); + } + float r = pow(dot(z, z), 1. / 6.); + float t = atan(z.y, z.x) / 3. + (z.x > 0. ? 0. : radians(120.)); + return r * vec2(cos(t), sin(t)); +} + +vec2 csquare(vec2 z) { return cby(z, z); } + +vec2 clog10(vec2 z) { return cln(z) / log(10.); } + +vec2 cre(vec2 z) { return vec2(z.x, 0); } +vec2 cim(vec2 z) { return vec2(z.y, 0); } + +float arg(vec2 v) { return atan(v.y, v.x); } +vec2 carg(vec2 v) { return vec2(atan(v.y, v.x), 0); } + +vec2 cpw(vec2 c, vec2 t, vec2 f) { return c.x > 0. ? t : f; } + +// Rounding +vec2 cceil(vec2 z) { return ceil(z); } +vec2 cfloor(vec2 z) { return floor(z); } +vec2 cround(vec2 z) { return floor(z + vec2(0.5, 0.5)); } + +// Comparison +vec2 cmin(vec2 l, vec2 r) { return l.x < r.x ? l : r; } +vec2 cmax(vec2 l, vec2 r) { return l.x > r.x ? l : r; } + +// Other +vec2 cmod(vec2 l, vec2 r) { return vec2(mod(l.x, r.x), 0); } + +vec2 cmbrot(vec2 x, vec2 y) { + vec2 c = x + vec2(-y.y, y.x); + float p = length(c - vec2(.25, 0)); + if (c.x <= p - 2.0 * p * p + .25 || length(c + vec2(1, 0)) <= .25) + return vec2(0, 0); + vec2 z = c; + for (int i = 0; i < 4000; i++) { + z = vec2(z.x * z.x - z.y * z.y, 2. * z.x * z.y) + c; + if (length(z) > 1000000.) { + float logLength = log(length(z)); + float nu = log(logLength / log(2.)) / log(2.); + float fi = float(i) - nu; + return vec2(sin(fi), cos(fi)); + } + } + return vec2(0, 0); +} + +////////////// +// Interval // +////////////// + +// Operations +vec2 ineg(vec2 v) { return vec2(-v.y, -v.x); } + +vec2 iby(vec2 l, vec2 r) { + float a = l.x * r.x; + float b = l.x * r.y; + float c = l.y * r.x; + float d = l.y * r.y; + float mn = min(min(a, b), min(c, d)); + float mx = max(max(a, b), max(c, d)); + return vec2(mn, mx); +} + +vec2 iinverse(vec2 y) { + if (y.x <= 0. && y.y >= 0.) + return vec2(-1. / 0., 1. / 0.); + if (y.y == 0.) + return vec2(-1. / 0., 1. / y.x); + if (y.x == 0.) + return vec2(1. / y.y, 1. / 0.); + return vec2(1. / y.y, 1. / y.x); +} + +vec2 idiv(vec2 l, vec2 r) { return iby(l, iinverse(r)); } + +float ipow(float b, int e) { + float fe = float(e); + if (mod(fe, 2.) == 0.) + return pow(abs(b), fe); + return b * pow(abs(b), fe - 1.); +} + +vec2 ipow(vec2 b, int e) { + if (e == 0) + return vec2(1, 1); + if (e == 1) + return b; + float xe = ipow(b.x, e); + float ye = ipow(b.y, e); + float mn = min(xe, ye); + float mx = max(xe, ye); + if (mod(float(e), 2.) == 0. && b.x <= 0. && b.y >= 0.) { + return vec2(min(0., mn), max(0., mx)); + } + return vec2(mn, mx); +} + +vec2 iln(vec2 z) { return log(z); } +vec2 iexp(vec2 z) { return exp(z); } + +vec2 ipow(vec2 b, float e) { + if (abs(e - round(e)) < .000001) + return ipow(b, int(e)); + return iexp(e * iln(b)); +} + +vec2 ipow(vec2 b, vec2 e) { + if (e.y - e.x < .000001 && abs(e.x - round(e.x)) < .000001) + return ipow(b, int(e.x)); + return iexp(iby(iln(b), e)); +} + +// Relations +vec2 ilt(vec2 l, vec2 r) { return vec2(r.x - l.y, r.y - l.x); } +vec2 ileq(vec2 l, vec2 r) { return vec2(r.x - l.y, r.y - l.x); } +vec2 ineq(vec2 l, vec2 r) { return vec2(r.x - l.y, r.y - l.x); } +vec2 ieq(vec2 l, vec2 r) { return vec2(l.x - r.y, l.y - r.x); } +vec2 igeq(vec2 l, vec2 r) { return vec2(l.x - r.y, l.y - r.x); } +vec2 igt(vec2 l, vec2 r) { return vec2(l.x - r.y, l.y - r.x); } + +vec2 iabs(vec2 z) { + if (z.x <= 0. && z.y >= 0.) + return vec2(0, max(z.y, abs(z.x))); + if (z.x <= 0.) + return vec2(-z.y, -z.x); + return z; +} + +vec2 isin(vec2 v) { + if (v.y - v.x > radians(360.)) { + return vec2(-1., 1.); + } + float from = mod(v.x, radians(360.)); // [0, 360°] + float to = from + v.y - v.x; // [0, 720°] + vec2 s = sin(vec2(from, to)); + vec2 res = vec2(min(s.x, s.y), max(s.x, s.y)); + if (between(radians(90.), from, to) || between(radians(90. + 360.), from, to)) + res.y = 1.; + if (between(radians(270.), from, to) || + between(radians(270. + 360.), from, to)) + res.x = -1.; + return res; +} + +vec2 icos(vec2 v) { + vec2 shift = radians(90.) * vec2(1, 1); + return isin(v + shift); +} + +vec2 itan(vec2 z) { return idiv(isin(z), icos(z)); } + +vec2 isinh(vec2 v) { return vec2(sinh(v.x), sinh(v.y)); } + +vec2 icosh(vec2 z) { + if (z.x <= 0. && z.y >= 0.) + return vec2(cosh(0.), max(z.y, abs(z.x))); + if (z.x <= 0.) + return vec2(cosh(-z.y), cosh(-z.x)); + return vec2(cosh(z.x), cosh(z.y)); +} + +vec2 itanh(vec2 z) { return vec2(tanh(z.x), tanh(z.y)); } + +vec2 iasin(vec2 z) { + // Don't use clamp so if z is fully outside range the result is empty + vec2 clamped = vec2(max(z.x, -1.), min(z.y, 1.)); + return asin(clamped); +} + +vec2 iacos(vec2 z) { + // Don't use clamp so if z is fully outside range the result is empty + vec2 clamped = vec2(max(z.x, -1.), min(z.y, 1.)); + return acos(clamped).yx; +} + +vec2 iatan(vec2 z) { return atan(z); } + +vec2 iatan2(vec2 y, vec2 x) { + // TODO: improve this + vec2 r = vec2(atan(y.x, x.x), atan(y.y, x.x)); + vec2 q = vec2(atan(y.x, x.y), atan(y.y, x.y)); + vec2 rs = vec2(min(r.x, r.y), max(r.x, r.y)); + vec2 qs = vec2(min(q.x, q.y), max(q.x, q.y)); + return vec2(min(rs.x, qs.x), max(rs.y, qs.y)); +} + +vec2 ire(vec2 v) { return v; } +vec2 iim(vec2 v) { return vec2(0); } + +vec2 iarg(vec2 z) { + if (z.y < 0.) + return dup(radians(180.)); + if (z.x >= 0.) + return vec2(0); + return vec2(0., radians(180.)); +} + +vec2 isign(vec2 z) { return sign(z); } + +vec2 ilog10(vec2 z) { return log(z) / log(10.); } + +vec2 ipw(vec2 c, vec2 t, vec2 f) { + if (c.y <= 0.) + return f; + if (c.x > 0.) + return t; + return vec2(min(t.x, f.x), max(t.y, f.y)); +} + +vec2 isquare(vec2 z) { + vec2 s = z * z; + float mx = max(s.x, s.y); + if (z.x <= 0. && z.y >= 0.) + return vec2(0., mx); + float mn = min(s.x, s.y); + return vec2(mn, mx); +} + +vec2 isqrt(vec2 v) { return vec2(sqrt(max(0., v.x)), sqrt(max(0., v.y))); } +vec2 icbrt(vec2 v) { return vec2(cbrt(v.x), cbrt(v.y)); } + +vec2 iceil(vec2 z) { return ceil(z); } +vec2 ifloor(vec2 z) { return floor(z); } +vec2 iround(vec2 z) { return round(z); } + +vec2 imin(vec2 l, vec2 r) { return vec2(min(l.x, r.x), min(l.y, r.y)); } +vec2 imax(vec2 l, vec2 r) { return vec2(max(l.x, r.x), max(l.y, r.y)); } +vec2 imod(vec2 x, vec2 y) { return x + ineg(iby(y, ifloor(idiv(x, y)))); } + +////////////////////////////////////////////////// +// With derivatives - used to calculate normals // +////////////////////////////////////////////////// + +// Operations +vec4 gneg(vec4 v) { return -v; } + +vec4 gby(vec4 l, vec4 r) { return vec4(l.x * r.x, l.x * r.yzw + r.x * l.yzw); } + +vec4 gdiv(vec4 l, vec4 r) { + return vec4(l.x / r.x, (r.x * l.yzw - l.x * r.yzw) / pow(r.x, 2.)); +} + +vec4 gpow(vec4 b, float e) { + return vec4(pow(b.x, e), e * pow(b.x, e - 1.) * b.yzw); +} + +vec4 gexp(vec4 z) { return vec4(exp(z.x), exp(z.x) * z.yzw); } +vec4 gln(vec4 z) { return vec4(log(z.x), z.yzw / z.x); } + +vec4 gpow(vec4 b, vec4 e) { + if (floor(e.x) == e.x && e.y == 0. && e.z == 0. && e.w == 0.) { + return gpow(b, e.x); + } + return gexp(gby(gln(b), e)); +} + +vec4 gabs(vec4 v) { return vec4(abs(v.x), sign(v.x) * v.yzw); } + +vec4 gsin(vec4 v) { return vec4(sin(v.x), cos(v.x) * v.yzw); } +vec4 gcos(vec4 v) { return vec4(cos(v.x), -sin(v.x) * v.yzw); } +vec4 gtan(vec4 z) { + float c = cos(z.x); + return vec4(tan(z.x), 1. / (c * c) * z.yzw); +} + +vec4 gsinh(vec4 v) { return vec4(sinh(v.x), cosh(v.x) * v.yzw); } +vec4 gcosh(vec4 v) { return vec4(cosh(v.x), sinh(v.x) * v.yzw); } +vec4 gtanh(vec4 z) { + float c = 1. / cosh(z.x); + return vec4(tanh(z.x), c * c * z.yzw); +} + +vec4 gasin(vec4 v) { return vec4(asin(v.x), v.yzw / sqrt(1. - v.x * v.x)); } +vec4 gacos(vec4 v) { return vec4(acos(v.x), -v.yzw / sqrt(1. - v.x * v.x)); } +vec4 gatan(vec4 v) { return vec4(atan(v.x), v.yzw / (1. + v.x * v.x)); } + +vec4 gatan2(vec4 y, vec4 x) { + return vec4(atan(y.x, x.x), y.yzw / x.yzw / (1. + y.x * y.x / x.x / x.x)); +} + +vec4 gre(vec4 v) { return v; } +vec4 gim(vec4 v) { return vec4(0, 0, 0, 1); } +vec4 garg(vec4 z) { return gnum(z.x >= 0. ? 0. : radians(180.)); } + +vec4 glog10(vec4 z) { return vec4(log(z.x), z.yzw / z.x) / log(10.); } +vec4 gpw(vec4 c, vec4 t, vec4 f) { return c.x > 0. ? t : f; } +vec4 gsquare(vec4 z) { return vec4(z.x * z.x, 2. * z.x * z.yzw); } +vec4 gsqrt(vec4 v) { return vec4(sqrt(v.x), .5 * pow(v.x, -.5) * v.yzw); } +vec4 gcbrt(vec4 v) { return vec4(cbrt(v.x), pow(v.x, -2. / 3.) / 3. * v.yzw); } + +vec4 gmin(vec4 l, vec4 r) { return l.x < r.x ? l : r; } +vec4 gmax(vec4 l, vec4 r) { return l.x > r.x ? l : r; } +vec4 gmod(vec4 l, vec4 r) { return vec4(mod(l.x, r.x), l.yzw); } + +vec4 gsign(vec4 v) { return gnum(sign(v.x)); } + +vec4 gceil(vec4 z) { return gnum(ceil(z.x)); } +vec4 gfloor(vec4 z) { return gnum(floor(z.x)); } +vec4 ground(vec4 z) { return gnum(round(z.x)); } + +////////////////////// +// Bisect, raytrace // +////////////////////// + +// bool bisect${suffix}(vec3 o, mat3 d, float max_distance, out vec3 found) { +// mat3 from = mat3(o, o, vec3(0)); +// mat3 to = from + max_distance * d; +// float ithreshold = ${threshold}; +// int depth = 0; +// int choices = 0; +// for(int it = 0; it < ${max_iterations}; it++) { +// mat3 midpoint = 0.5 * (from + to); +// vec2 front = interval${suffix}(from, midpoint); +// vec2 back = interval${suffix}(midpoint, to); +// if(depth >= ${max_depth} +// || (front.y - front.x < ithreshold && front.x <= 0.0 && front.y >= 0.0) +// || (back.y - back.x < ithreshold && back.x <= 0.0 && back.y >= 0.0) +// ) { +// found = mix(midpoint[0], midpoint[1], 0.5); +// return true; +// } +// if(front.x <= 0.0 && front.y >= 0.0) { +// to = midpoint; +// depth++; +// choices = left_shift(choices); +// } else if(back.x <= 0.0 && back.y >= 0.0) { +// from = midpoint; +// depth++; +// choices = left_shift_increment(choices); +// } else { +// // This could be possibly helped by https://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightBinSearch +// for(int j = ${max_depth} - 1; j > 0; j--) { +// if(j > depth) +// continue; +// depth--; +// choices = right_shift(choices); +// if(is_even(choices)) { +// midpoint = to; +// to = to + (to - from); +// vec2 back = interval${suffix}(midpoint, to); +// if(back.x <= 0.0 && back.y >= 0.0) { +// from = midpoint; +// depth++; +// choices = left_shift_increment(choices); +// break; +// } +// } else { +// from = from - (to - from); +// } +// } +// if(depth == 0) +// return false; +// } +// } +// return false; +// } + +// bool sphere_bisect${suffix}(vec3 o, mat3 d, float max_distance, out vec3 found) { +// vec3 center = vec3(${center.x},${center.y},${center.z}); + +// vec3 to_center = o - center; +// float b = dot(to_center, 0.5 * (d[0] + d[1])); +// float c = dot(to_center, to_center) - ${radius} * ${radius}; +// float delta = b*b - c; +// if(delta < 0.0) +// return false; +// float x = -b - sqrt(delta); +// if(x < ${threshold}) +// return false; +// found = o + x * 0.5 * (d[0] + d[1]); +// return true; +// } diff --git a/codegen/src/Generate.elm b/codegen/src/Generate.elm new file mode 100644 index 00000000..ade3a8be --- /dev/null +++ b/codegen/src/Generate.elm @@ -0,0 +1,836 @@ +module Generate exposing (run) + +import Ansi.Color +import BackendTask exposing (BackendTask) +import BackendTask.File as File +import Dict exposing (Dict) +import Elm +import Elm.Annotation as Type +import FatalError exposing (FatalError) +import Gen.Glsl +import Glsl exposing (BinaryOperation(..), Declaration(..), Expr(..), Expression(..), Function, RelationOperation(..), Stat(..), Statement(..), Type(..), Uniform) +import Glsl.Parser +import Glsl.PrettyPrinter +import List.Extra +import Pages.Script as Script exposing (Script) +import Parser +import Parser.Advanced +import Result.Extra +import Set +import SortedSet exposing (SortedSet) + + +run : Script +run = + Script.withoutCliOptions task + + +task : BackendTask FatalError () +task = + File.rawFile "codegen/functions.frag" + |> BackendTask.allowFatal + |> BackendTask.andThen + (\glsl -> + case generate glsl of + Err msg -> + let + reflowedMsg : String + reflowedMsg = + msg + |> String.split "\n" + |> (::) "" + |> String.join "\n " + + coloredMsg : String + coloredMsg = + Ansi.Color.fontColor Ansi.Color.red "Error:" + ++ reflowedMsg + in + BackendTask.fail (FatalError.fromString coloredMsg) + + Ok declarations -> + let + file = + declarations + |> List.Extra.gatherEqualsBy Tuple.first + |> List.map + (\( head, tail ) -> + let + group : List Elm.Declaration + group = + List.map Tuple.second (head :: tail) + in + case Tuple.first head of + Just groupName -> + Elm.group (Elm.docs ("#" ++ groupName) :: group) + + Nothing -> + Elm.group group + ) + |> Elm.file + [ "Glsl", "Functions", "NuPlot" ] + in + Script.writeFile + { path = "generated/" ++ file.path + , body = file.contents + } + |> BackendTask.allowFatal + ) + + +generate : String -> Result String (List ( Maybe String, Elm.Declaration )) +generate glsl = + case Parser.Advanced.run Glsl.Parser.file glsl of + Err e -> + Err (parserErrorToString glsl e) + + Ok ( _, declarations ) -> + let + functions = + List.filterMap + (\declaration -> + case declaration of + FunctionDeclaration function -> + Just function + + UniformDeclaration _ -> + Nothing + + ConstDeclaration _ -> + Nothing + ) + declarations + + uniforms = + List.filterMap + (\declaration -> + case declaration of + UniformDeclaration uniform -> + Just uniform + + FunctionDeclaration _ -> + Nothing + + ConstDeclaration _ -> + Nothing + ) + declarations + + constants = + List.filterMap + (\declaration -> + case declaration of + ConstDeclaration const -> + Just const + + FunctionDeclaration _ -> + Nothing + + UniformDeclaration _ -> + Nothing + ) + declarations + + env : Env + env = + List.foldl + (\{ name, returnType, args } -> + functionHasType + name + (List.map Tuple.first args) + returnType + ) + { constantsEnv = + constants + |> List.map (\{ tipe, name } -> ( name, tipe )) + |> Dict.fromList + |> Dict.insert "P32M1" TInt + |> Dict.insert "P31" TInt + , functionsEnv = Dict.empty + , variablesEnv = + uniforms + |> List.map (\{ tipe, name } -> ( name, tipe )) + |> Dict.fromList + } + functions + + maybeDecls : Result String (List ( Maybe String, Elm.Declaration )) + maybeDecls = + Result.Extra.combineMap + (functionToDeclarations env) + functions + |> Result.map List.concat + in + case maybeDecls of + Ok decls -> + let + uniformDecls : List ( Maybe String, Elm.Declaration ) + uniformDecls = + List.map uniformToDeclaration uniforms + in + Ok (decls ++ uniformDecls) + + Err e -> + Err ("Error generating file: " ++ e) + + +uniformToDeclaration : Uniform -> ( Maybe String, Elm.Declaration ) +uniformToDeclaration { name, tipe } = + ( Just "uniforms" + , Gen.Glsl.unsafeVar name + |> Elm.withType (Gen.Glsl.annotation_.expression (typeToAnnotation tipe)) + |> Elm.declaration name + |> Elm.expose + ) + + +functionHasType : String -> List Type -> Type -> Env -> Env +functionHasType baseName argTypes returnType env = + { env | functionsEnv = Dict.insert (fullName baseName argTypes) returnType env.functionsEnv } + + +parserErrorToString : String -> List Glsl.Parser.DeadEnd -> String +parserErrorToString input err = + err + |> List.Extra.gatherEqualsBy (\{ row, col, contextStack } -> ( row, col, contextStack )) + |> List.map (errorToString input) + |> String.join "\n\n" + + +errorToString : String -> ( Glsl.Parser.DeadEnd, List Glsl.Parser.DeadEnd ) -> String +errorToString source ( error, errors ) = + let + -- How many lines of context to show + contextSize : Int + contextSize = + 4 + + lines : List String + lines = + String.split "\n" source + |> List.drop (error.row - contextSize) + |> List.take (contextSize * 2) + + errorString : String + errorString = + [ String.repeat (error.col - 1) " " + , Ansi.Color.fontColor Ansi.Color.red "^ " + , " at row " + , String.fromInt error.row + , ", col " + , String.fromInt error.col + , " " + , (error :: errors) + |> List.map (\{ problem } -> problemToString problem) + |> Set.fromList + |> Set.toList + |> String.join ", " + |> Ansi.Color.fontColor Ansi.Color.yellow + , " while " + , error.contextStack + |> List.map (\frame -> contextToString frame.context) + |> String.join ", while " + ] + |> String.concat + + before : Int + before = + min error.row contextSize + in + List.take before lines + ++ errorString + :: List.drop before lines + |> String.join "\n" + + +contextToString : Glsl.Parser.Context -> String +contextToString context = + case context of + Glsl.Parser.ParsingFile -> + "parsing a file" + + Glsl.Parser.ParsingFunction -> + "parsing a function" + + Glsl.Parser.ParsingStatement -> + "parsing a statement" + + Glsl.Parser.ParsingExpression -> + "parsing an expression" + + Glsl.Parser.ParsingForInitialization -> + "parsing a for's initialization" + + Glsl.Parser.ParsingForCondition -> + "parsing a for's condition" + + Glsl.Parser.ParsingForStep -> + "parsing a for's step" + + Glsl.Parser.ParsingForBody -> + "parsing a for's body" + + +problemToString : Parser.Problem -> String +problemToString problem = + case problem of + Parser.Expecting e -> + "Expecting " ++ e + + Parser.ExpectingInt -> + "Expecting Int" + + Parser.ExpectingHex -> + "Expecting Hex" + + Parser.ExpectingOctal -> + "Expecting Octal" + + Parser.ExpectingBinary -> + "Expecting Binary" + + Parser.ExpectingFloat -> + "Expecting Float" + + Parser.ExpectingNumber -> + "Expecting Number" + + Parser.ExpectingVariable -> + "Expecting Variable" + + Parser.ExpectingSymbol _ -> + "Expecting Symbol" + + Parser.ExpectingKeyword _ -> + "Expecting Keyword" + + Parser.ExpectingEnd -> + "Expecting End" + + Parser.UnexpectedChar -> + "Unexpected char" + + Parser.Problem p -> + p + + Parser.BadRepeat -> + "Bad repeat" + + +type alias Env = + { constantsEnv : Dict String Type + , functionsEnv : Dict String Type + , variablesEnv : Dict String Type + } + + +functionToDeclarations : Env -> Function -> Result String (List ( Maybe String, Elm.Declaration )) +functionToDeclarations env function = + let + functionName : String + functionName = + fullName function.name (List.map Tuple.first function.args) + + envWithArgs : Env + envWithArgs = + List.foldl (\( type_, name ) -> variableHasType name type_) env function.args + + maybeDeps : Result String ( Env, SortedSet String ) + maybeDeps = + findDepsStatement function.stat envWithArgs + |> Result.mapError (\e -> e ++ " while generating " ++ functionName) + in + Result.map + (\( _, deps ) -> + [ ( Nothing + , function.stat + |> Glsl.PrettyPrinter.stat 0 + |> Elm.string + |> Elm.declaration (functionName ++ "Body") + ) + , wrapFunction function.name (SortedSet.insert functionName deps) function.args function.returnType + ] + ) + maybeDeps + + +wrapFunction : String -> SortedSet String -> List ( Type, String ) -> Type -> ( Maybe String, Elm.Declaration ) +wrapFunction name deps args returnType = + let + fname = + fullName name (List.map Tuple.first args) + + argDecls : List ( String, Maybe Type.Annotation ) + argDecls = + List.map + (\( type_, argName ) -> + ( argName + , Just <| Gen.Glsl.annotation_.expression (typeToAnnotation type_) + ) + ) + args + + depsExpr : Elm.Expression + depsExpr = + deps + |> SortedSet.toList + |> List.map (\dep -> Elm.val <| dep ++ "Body") + |> Elm.list + + innerCall argValues = + case argValues of + [] -> + Gen.Glsl.call_.unsafeCall0 (Elm.string name) depsExpr + + [ arg0 ] -> + Gen.Glsl.call_.unsafeCall1 (Elm.string name) depsExpr arg0 + + [ arg0, arg1 ] -> + Gen.Glsl.call_.unsafeCall2 (Elm.string name) depsExpr arg0 arg1 + + [ arg0, arg1, arg2 ] -> + Gen.Glsl.call_.unsafeCall3 (Elm.string name) depsExpr arg0 arg1 arg2 + + [ arg0, arg1, arg2, arg3 ] -> + Gen.Glsl.call_.unsafeCall4 (Elm.string name) depsExpr arg0 arg1 arg2 arg3 + + _ :: _ :: _ -> + Elm.string "TODO" + + expr : List Elm.Expression -> Elm.Expression + expr argValues = + innerCall + argValues + |> Elm.withType (Gen.Glsl.annotation_.expression (typeToAnnotation returnType)) + in + ( if + List.member (String.left 1 name) [ "g", "i", "c" ] + && not (List.member name [ "cbrt", "increment", "cosh", "is_even", "is_odd" ]) + then + Just (String.dropLeft 1 name) + + else + Just name + , Elm.function argDecls expr + |> Elm.declaration fname + |> Elm.expose + ) + + +typeToAnnotation : Type -> Type.Annotation +typeToAnnotation type_ = + case type_ of + TBool -> + Type.bool + + TFloat -> + Type.float + + TInt -> + Type.int + + TVec2 -> + Gen.Glsl.annotation_.vec2 + + TIVec2 -> + Gen.Glsl.annotation_.iVec2 + + TBVec2 -> + Gen.Glsl.annotation_.bVec2 + + TVec3 -> + Gen.Glsl.annotation_.vec3 + + TIVec3 -> + Gen.Glsl.annotation_.iVec3 + + TBVec3 -> + Gen.Glsl.annotation_.bVec3 + + TVec4 -> + Gen.Glsl.annotation_.vec4 + + TIVec4 -> + Gen.Glsl.annotation_.iVec4 + + TBVec4 -> + Gen.Glsl.annotation_.bVec4 + + TMat3 -> + Gen.Glsl.annotation_.mat3 + + TVoid -> + Gen.Glsl.annotation_.void + + TIn tt -> + Gen.Glsl.annotation_.in_ (typeToAnnotation tt) + + TOut tt -> + Gen.Glsl.annotation_.out (typeToAnnotation tt) + + TUint -> + Type.int + + TUVec2 -> + Gen.Glsl.annotation_.uVec2 + + TUVec3 -> + Gen.Glsl.annotation_.uVec3 + + TUVec4 -> + Gen.Glsl.annotation_.uVec4 + + TDouble -> + Type.float + + TDVec2 -> + Gen.Glsl.annotation_.dVec2 + + TDVec3 -> + Gen.Glsl.annotation_.dVec3 + + TDVec4 -> + Gen.Glsl.annotation_.dVec4 + + TMat2 -> + Gen.Glsl.annotation_.mat2 + + TMat4 -> + Gen.Glsl.annotation_.mat4 + + TMat23 -> + Gen.Glsl.annotation_.mat23 + + TMat24 -> + Gen.Glsl.annotation_.mat24 + + TMat32 -> + Gen.Glsl.annotation_.mat32 + + TMat34 -> + Gen.Glsl.annotation_.mat34 + + TMat42 -> + Gen.Glsl.annotation_.mat42 + + TMat43 -> + Gen.Glsl.annotation_.mat43 + + TDMat2 -> + Gen.Glsl.annotation_.dMat2 + + TDMat3 -> + Gen.Glsl.annotation_.dMat3 + + TDMat4 -> + Gen.Glsl.annotation_.dMat4 + + TDMat23 -> + Gen.Glsl.annotation_.dMat23 + + TDMat24 -> + Gen.Glsl.annotation_.dMat24 + + TDMat32 -> + Gen.Glsl.annotation_.dMat32 + + TDMat34 -> + Gen.Glsl.annotation_.dMat34 + + TDMat42 -> + Gen.Glsl.annotation_.dMat42 + + TDMat43 -> + Gen.Glsl.annotation_.dMat43 + + +variableHasType : String -> Type -> Env -> Env +variableHasType var type_ env = + { env | variablesEnv = Dict.insert var type_ env.variablesEnv } + + +union : List (Env -> Result String ( Env, SortedSet comparable )) -> Env -> Result String ( Env, SortedSet comparable ) +union list initialEnv = + List.foldl + (\e a -> + a + |> Result.andThen + (\( env, deps ) -> + e env + |> Result.map + (Tuple.mapSecond + (\newDeps -> SortedSet.insertAll newDeps deps) + ) + ) + ) + (Ok ( initialEnv, SortedSet.empty )) + list + + +findDepsStatement : Stat -> Env -> Result String ( Env, SortedSet String ) +findDepsStatement statement = + case statement of + If cond true -> + union + [ findDepsExpression cond + , findDepsStatement true + ] + + IfElse cond true false -> + union + [ findDepsExpression cond + , findDepsStatement true + , findDepsStatement false + ] + + ExpressionStatement e -> + findDepsExpression e + + For from cond step loop -> + union + [ case from of + Just f -> + findDepsStatement f + + Nothing -> + nop + , findDepsExpression cond + , findDepsExpression step + , findDepsStatement loop + ] + + Return e -> + findDepsExpression e + + Decl type_ var maybeVal -> + \env -> + let + newEnv : Env + newEnv = + variableHasType var type_ env + in + case maybeVal of + Nothing -> + nop newEnv + + Just val -> + findDepsExpression val newEnv + + Nop -> + nop + + Break -> + nop + + Continue -> + nop + + Block l m r -> + union (List.map findDepsStatement (l :: m :: r)) + + +nop : Env -> Result String ( Env, SortedSet String ) +nop env = + Ok ( env, SortedSet.empty ) + + +findDepsExpression : Expr -> Env -> Result String ( Env, SortedSet String ) +findDepsExpression root env = + let + go : Expr -> Result String (SortedSet String) + go expr = + case expr of + Float _ -> + Ok SortedSet.empty + + Int _ -> + Ok SortedSet.empty + + Uint _ -> + Ok SortedSet.empty + + Double _ -> + Ok SortedSet.empty + + Bool _ -> + Ok SortedSet.empty + + Dot e _ -> + go e + + Variable _ -> + Ok SortedSet.empty + + Call (Variable f) args -> + args + |> Result.Extra.combineMap go + |> Result.andThen + (\argDeps -> + let + initial = + SortedSet.singleton (fullName f []) + + deps = + List.foldl SortedSet.insertAll initial argDeps + in + Ok deps + ) + + Call _ _ -> + Err "Complex calls are not supported yet" + + Ternary c t f -> + Result.map3 + (\cd td fd -> + SortedSet.insertAll cd td + |> SortedSet.insertAll fd + ) + (go c) + (go t) + (go f) + + UnaryOperation _ e -> + go e + + BinaryOperation l _ r -> + Result.map2 + (\ld rd -> + SortedSet.insertAll ld rd + ) + (go l) + (go r) + in + go root + |> Result.map (\deps -> ( env, deps )) + + +fullName : String -> List Type -> String +fullName baseName argTypes = + String.concat (baseName :: List.map typeToShort argTypes) + + +typeToShort : Type -> String +typeToShort t = + case t of + TFloat -> + "1" + + TInt -> + "i1" + + TBool -> + "b1" + + TUint -> + "u1" + + TDouble -> + "d1" + + TVec2 -> + "2" + + TIVec2 -> + "i2" + + TBVec2 -> + "b2" + + TUVec2 -> + "u2" + + TDVec2 -> + "d2" + + TVec3 -> + "3" + + TIVec3 -> + "i3" + + TBVec3 -> + "b3" + + TUVec3 -> + "u3" + + TDVec3 -> + "d3" + + TVec4 -> + "4" + + TIVec4 -> + "i4" + + TBVec4 -> + "b4" + + TUVec4 -> + "u4" + + TDVec4 -> + "d4" + + TMat2 -> + "m2" + + TDMat2 -> + "dm2" + + TMat23 -> + "m23" + + TDMat23 -> + "dm23" + + TMat24 -> + "m24" + + TDMat24 -> + "dm24" + + TMat32 -> + "m32" + + TDMat32 -> + "dm32" + + TMat42 -> + "m42" + + TDMat42 -> + "dm42" + + TMat3 -> + "m3" + + TDMat3 -> + "dm3" + + TMat34 -> + "m34" + + TDMat34 -> + "dm34" + + TMat43 -> + "m43" + + TDMat43 -> + "dm43" + + TMat4 -> + "m4" + + TDMat4 -> + "dm4" + + TVoid -> + "v" + + TIn tt -> + "n" ++ typeToShort tt + + TOut tt -> + "o" ++ typeToShort tt diff --git a/elm.json b/elm.json index 0a8e25b3..bb32cfc6 100644 --- a/elm.json +++ b/elm.json @@ -2,13 +2,15 @@ "type": "application", "source-directories": [ "src/elm", - "src/elm-extra" + "src/elm-extra", + "generated", + "vendored/miniBill/elm-glsl/1.0.0/src" ], "elm-version": "0.19.1", "dependencies": { "direct": { "avh4/elm-color": "1.0.0", - "dillonkearns/elm-markdown": "5.1.1", + "dillonkearns/elm-markdown": "7.0.1", "elm/browser": "1.0.2", "elm/bytes": "1.0.8", "elm/core": "1.0.5", @@ -18,19 +20,17 @@ "elm/json": "1.1.3", "elm/parser": "1.1.0", "elm/url": "1.0.0", - "elm-community/list-extra": "8.2.4", - "elm-community/maybe-extra": "5.2.0", - "elm-community/result-extra": "2.4.0", + "elmcraft/core-extra": "2.1.0", "lemol/ant-design-icons-elm-ui": "1.0.0", - "miniBill/elm-codec": "2.0.0", - "miniBill/elm-ui-with-context": "1.0.0", - "miniBill/elm-unicode": "1.0.2" + "miniBill/elm-codec": "2.2.0", + "miniBill/elm-ui-with-context": "2.0.0", + "miniBill/elm-unicode": "1.1.1" }, "indirect": { "elm/regex": "1.0.0", "elm/svg": "1.0.1", "elm/time": "1.0.0", - "elm/virtual-dom": "1.0.2", + "elm/virtual-dom": "1.0.3", "lemol/ant-design-icons-elm": "2.0.0", "mdgriffith/elm-ui": "1.1.8", "rtfeldman/elm-hex": "1.0.0" @@ -38,7 +38,7 @@ }, "test-dependencies": { "direct": { - "elm-explorations/test": "1.2.2" + "elm-explorations/test": "2.2.0" }, "indirect": { "elm/random": "1.0.0" diff --git a/nuplot.code-workspace b/nuplot.code-workspace new file mode 100644 index 00000000..f6d933f4 --- /dev/null +++ b/nuplot.code-workspace @@ -0,0 +1,14 @@ +{ + "folders": [ + { + "path": "." + }, + { + "path": "codegen" + }, + { + "path": "review" + } + ], + "settings": {} +} \ No newline at end of file diff --git a/package.json b/package.json index aae054d3..b4b77e78 100644 --- a/package.json +++ b/package.json @@ -15,19 +15,24 @@ ] }, "devDependencies": { - "elm-optimize-level-2": "^0.1.5", - "elm-review": "^2.10.2", - "elm-watch": "^1.1.2", - "typescript": "^4.3.5" + "elm-codegen": "^0.6.1", + "elm-format": "^0.8.7", + "elm-optimize-level-2": "^0.3.5", + "elm-pages": "3.0.22", + "elm-review": "^2.13.2", + "elm-test-rs": "^3.0.0-5", + "elm-watch": "^2.0.0-beta.6", + "typescript": "^5.8.3" }, "scripts": { - "build": "rm -rf .cache dist elm-stuff; elm-optimize-level-2 src/elm/UI.elm --output src/optimized.js && parcel build src/index.html --public-url .", - "buildForBenchmark": "rm -rf .cache elm-stuff dist; elm-optimize-level-2 src/elm/UI.elm --output src/optimized.js && parcel build --no-minify src/index.html --public-url .", - "start": "parcel src/dev.html", + "build": "make build", + "buildForBenchmark": "rm -rf .cache elm-stuff dist; elm-optimize-level-2 src/elm/UI.elm --output src/optimized.js && yarn parcel build --no-minify src/index.html --public-url .", + "start": "yarn parcel src/dev.html", "test": "elm-test" }, "name": "nuplot", "description": "A small CAS and plotter", + "license": "MIT", "pwaManifest": { "name": "NuPlot", "shortName": "NuPlot", @@ -53,6 +58,5 @@ }, "dependencies": { "localforage": "^1.9.0" - }, - "packageManager": "yarn@4.0.2" + } } diff --git a/review/elm.json b/review/elm.json index 15025902..10e4412d 100644 --- a/review/elm.json +++ b/review/elm.json @@ -6,33 +6,52 @@ "elm-version": "0.19.1", "dependencies": { "direct": { + "SiriusStarr/elm-review-pipeline-styles": "1.3.9", "elm/core": "1.0.5", "elm/json": "1.1.3", "elm/project-metadata-utils": "1.0.2", - "jfmengels/elm-review": "2.5.0", - "jfmengels/elm-review-common": "1.0.4", - "jfmengels/elm-review-unused": "1.1.15", - "sparksp/elm-review-always": "1.0.5", - "sparksp/elm-review-imports": "1.0.1", - "stil4m/elm-syntax": "7.2.6", - "truqu/elm-review-nobooleancase": "1.0.0" + "jfmengels/elm-review": "2.15.1", + "jfmengels/elm-review-code-style": "1.2.0", + "jfmengels/elm-review-common": "1.3.3", + "jfmengels/elm-review-debug": "1.0.8", + "jfmengels/elm-review-documentation": "2.0.4", + "jfmengels/elm-review-simplify": "2.1.6", + "jfmengels/elm-review-unused": "1.2.4", + "jsuder-xx/elm-review-reducible-lambdas": "2.0.1", + "lue-bird/elm-review-record-alias-constructor": "1.1.3", + "miniBill/elm-review-no-broken-elm-parser-functions": "1.0.0", + "sparksp/elm-review-always": "1.0.6", + "sparksp/elm-review-imports": "1.0.2", + "sparksp/elm-review-ports": "1.3.1", + "stil4m/elm-syntax": "7.3.8", + "truqu/elm-review-nobooleancase": "1.0.1" }, "indirect": { + "Chadtech/elm-bool-extra": "2.4.2", + "elm/bytes": "1.0.8", "elm/html": "1.0.0", "elm/parser": "1.1.0", "elm/random": "1.0.0", + "elm/regex": "1.0.0", "elm/time": "1.0.0", - "elm/virtual-dom": "1.0.2", - "elm-community/list-extra": "8.3.1", - "elm-explorations/test": "1.2.2", - "miniBill/elm-unicode": "1.0.2", + "elm/virtual-dom": "1.0.3", + "elm-community/basics-extra": "4.1.0", + "elm-community/list-extra": "8.7.0", + "elm-community/maybe-extra": "5.3.0", + "elm-explorations/test": "2.2.0", + "jsuder-xx/elm-ra": "1.1.1", + "miniBill/elm-fast-dict": "1.2.1", + "miniBill/elm-unicode": "1.1.1", + "pzp1997/assoc-list": "1.0.0", "rtfeldman/elm-hex": "1.0.0", - "stil4m/structured-writer": "1.0.3" + "stil4m/structured-writer": "1.0.3", + "the-sett/elm-pretty-printer": "3.1.1", + "the-sett/elm-syntax-dsl": "6.0.3" } }, "test-dependencies": { "direct": { - "elm-explorations/test": "1.2.2" + "elm-explorations/test": "2.2.0" }, "indirect": {} } diff --git a/review/src/ReviewConfig.elm b/review/src/ReviewConfig.elm index 4e365a64..18b060f3 100644 --- a/review/src/ReviewConfig.elm +++ b/review/src/ReviewConfig.elm @@ -1,12 +1,23 @@ module ReviewConfig exposing (config) +import Docs.ReviewAtDocs import NoAlways import NoBooleanCase +import NoBrokenParserFunctions +import NoConfusingPrefixOperator +import NoDebug.Log +import NoDebug.TodoOrToString +import NoDuplicatePorts import NoExposingEverything import NoImportingEverything import NoMissingTypeAnnotation +import NoMissingTypeAnnotationInLetIn import NoMissingTypeExpose import NoModuleOnExposedNames +import NoPrematureLetComputation +import NoRecordAliasConstructor +import NoSimpleLetBody +import NoUnsafePorts import NoUnused.CustomTypeConstructorArgs import NoUnused.CustomTypeConstructors import NoUnused.Dependencies @@ -15,24 +26,69 @@ import NoUnused.Modules import NoUnused.Parameters import NoUnused.Patterns import NoUnused.Variables -import Review.Rule exposing (Rule) +import NoUnusedPorts +import Review.Rule as Rule exposing (Rule) +import ReviewPipelineStyles +import Simplify config : List Rule config = [ NoAlways.rule + , Docs.ReviewAtDocs.rule , NoBooleanCase.rule + , NoConfusingPrefixOperator.rule + , NoDebug.Log.rule + , NoDebug.TodoOrToString.rule + |> Rule.ignoreErrorsForDirectories + [ "tests" + , "vendored/miniBill/elm-glsl" + ] + , NoDuplicatePorts.rule + + -- , NoEtaReducibleLambdas.rule + -- { lambdaReduceStrategy = NoEtaReducibleLambdas.AlwaysRemoveLambdaWhenPossible + -- , argumentNamePredicate = always True + -- } , NoExposingEverything.rule , NoImportingEverything.rule [] , NoMissingTypeAnnotation.rule + , NoMissingTypeAnnotationInLetIn.rule , NoMissingTypeExpose.rule , NoModuleOnExposedNames.rule + , NoPrematureLetComputation.rule + , NoRecordAliasConstructor.rule + , NoSimpleLetBody.rule + , NoUnsafePorts.rule NoUnsafePorts.any , NoUnused.CustomTypeConstructorArgs.rule + |> Rule.ignoreErrorsForDirectories + [ "vendored/miniBill/elm-glsl" + ] , NoUnused.CustomTypeConstructors.rule [] - , NoUnused.Dependencies.rule + |> Rule.ignoreErrorsForDirectories + [ "vendored/miniBill/elm-glsl" + ] + + -- , NoUnused.Dependencies.rule , NoUnused.Exports.rule + |> Rule.ignoreErrorsForDirectories + [ "generated" + , "vendored/miniBill/elm-glsl" + ] , NoUnused.Modules.rule + |> Rule.ignoreErrorsForDirectories + [ "vendored/miniBill/elm-glsl" + ] , NoUnused.Parameters.rule , NoUnused.Patterns.rule , NoUnused.Variables.rule + , NoUnusedPorts.rule + , Simplify.rule Simplify.defaults + , ReviewPipelineStyles.rule + [ ReviewPipelineStyles.forbid ReviewPipelineStyles.leftCompositionPipelines + |> ReviewPipelineStyles.andCallThem "forbidden << composition" + , ReviewPipelineStyles.forbid ReviewPipelineStyles.rightCompositionPipelines + |> ReviewPipelineStyles.andCallThem "forbidden >> composition" + ] + , NoBrokenParserFunctions.rule ] diff --git a/src/dev.html b/src/dev.html index 815fe08e..c4e5c272 100644 --- a/src/dev.html +++ b/src/dev.html @@ -1,42 +1,49 @@ - - - - - nuPlot - - - - - - - - - - - - - - - - - -
- - - - - - - - - \ No newline at end of file + + + + nuPlot + + + + + + + + + + + + + + + + +
+ + + + + + diff --git a/src/elm/API/Google.elm b/src/elm/API/Google.elm index 2cd48d14..ce3e30a5 100644 --- a/src/elm/API/Google.elm +++ b/src/elm/API/Google.elm @@ -98,9 +98,6 @@ uploadFile params = updateUrl = B.crossOrigin "https://www.googleapis.com" [ "upload", "drive", "v3", "files", id ] [ B.string "uploadType" "multipart" ] - insertUrl = - B.crossOrigin "https://www.googleapis.com" [ "upload", "drive", "v3", "files" ] [ B.string "uploadType" "multipart" ] - (FileId id) = params.id @@ -112,18 +109,6 @@ uploadFile params = , ( "name", JE.string params.name ) ] - insertMetadataEncoder = - BE.string <| - JE.encode 0 <| - JE.object - [ ( "id", JE.string id ) - , ( "mimeType", JE.string "text/markdown" ) - , ( "name", JE.string params.name ) - - -- TODO: parents are a list of FileIDs, so it's Very Annoying and will be implemented later - --, ( "parents", JE.list JE.string [ "nuPlot" ] ) - ] - updateTask = Http.task { method = "PATCH" @@ -137,26 +122,39 @@ uploadFile params = ] , timeout = Nothing } - - insertTask = - Http.task - { method = "POST" - , url = insertUrl - , headers = [ Http.header "Authorization" <| "Bearer " ++ params.accessToken ] - , resolver = jsonResolver <| JD.succeed () - , body = - Http.multipartBody - [ Http.bytesPart "metadata" "application/json; charset=UTF-8" <| BE.encode insertMetadataEncoder - , Http.stringPart "content" params.content - ] - , timeout = Nothing - } in updateTask |> Task.onError (\e -> if e == FileNotFound then - insertTask + let + insertUrl = + B.crossOrigin "https://www.googleapis.com" [ "upload", "drive", "v3", "files" ] [ B.string "uploadType" "multipart" ] + + insertMetadataEncoder = + BE.string <| + JE.encode 0 <| + JE.object + [ ( "id", JE.string id ) + , ( "mimeType", JE.string "text/markdown" ) + , ( "name", JE.string params.name ) + + -- TODO: parents are a list of FileIDs, so it's Very Annoying and will be implemented later + --, ( "parents", JE.list JE.string [ "nuPlot" ] ) + ] + in + Http.task + { method = "POST" + , url = insertUrl + , headers = [ Http.header "Authorization" <| "Bearer " ++ params.accessToken ] + , resolver = jsonResolver <| JD.succeed () + , body = + Http.multipartBody + [ Http.bytesPart "metadata" "application/json; charset=UTF-8" <| BE.encode insertMetadataEncoder + , Http.stringPart "content" params.content + ] + , timeout = Nothing + } else Task.fail e diff --git a/src/elm/Complex.elm b/src/elm/Complex.elm index 71484d54..a1d3706a 100644 --- a/src/elm/Complex.elm +++ b/src/elm/Complex.elm @@ -1,4 +1,4 @@ -module Complex exposing (Complex(..), abs, acos, arg, asin, atan, atan2, by, ceiling, cos, cosh, div, exp, floor, fromReal, i, im, ln, max, min, minus, negate, one, plus, power, re, round, sign, sin, sinh, sqrt, tan, tanh, toString, zero) +module Complex exposing (Complex(..), abs, acos, arg, asin, atan, atan2, by, ceil, cos, cosh, div, exp, floor, fromReal, i, im, ln, max, min, minus, negate, one, plus, power, re, round, sign, sin, sinh, sqrt, tan, tanh, toString, zero) type Complex @@ -232,8 +232,8 @@ floor (Complex x y) = Complex (toFloat <| Basics.floor x) (toFloat <| Basics.floor y) -ceiling : Complex -> Complex -ceiling (Complex x y) = +ceil : Complex -> Complex +ceil (Complex x y) = Complex (toFloat <| Basics.ceiling x) (toFloat <| Basics.ceiling y) diff --git a/src/elm/Expression.elm b/src/elm/Expression.elm index 0f4848c8..8f242388 100644 --- a/src/elm/Expression.elm +++ b/src/elm/Expression.elm @@ -3,11 +3,16 @@ module Expression exposing , BinaryOperation(..) , Context , Expression(..) + , Function1(..) + , Function2(..) + , Function3(..) , FunctionName(..) , KnownFunction(..) - , PrintExpression(..) , RelationOperation(..) , SolutionTree(..) + , TGApply(..) + , ToGlslExpression(..) + , TypecheckError(..) , UnaryOperation(..) , VariableStatus(..) , asMatrix @@ -24,11 +29,12 @@ module Expression exposing , getFreeVariables , partialSubstitute , pfullSubstitute + , relationToString , solutionTreeToString , toDebugTree - , toPrintExpression , toString , toTeXString + , typecheck , variadicFunctions , visit ) @@ -38,6 +44,7 @@ import Dict exposing (Dict) import Element.WithContext as Element exposing (Element) import Element.WithContext.Border as Border import Element.WithContext.Font +import Result.Extra import Set exposing (Set) import Trie exposing (Trie) import UI.L10N exposing (L10N, invariant) @@ -68,7 +75,6 @@ type SolutionTree type FunctionName = KnownFunction KnownFunction - | UserFunction String type KnownFunction @@ -85,7 +91,8 @@ type KnownFunction | Tanh -- Power | Abs - | Root Int + | Sqrt + | Cbrt | Ln | Log10 | Exp @@ -105,10 +112,9 @@ type KnownFunction | Max | Round | Floor - | Ceiling - | Pw + | Ceil + | Piecewise | Plot - | APlot | Simplify | StepSimplify | Solve @@ -131,6 +137,7 @@ type RelationOperation = LessThan | LessThanOrEquals | Equals + | NotEquals | GreaterThanOrEquals | GreaterThan @@ -147,6 +154,9 @@ relationToString rop = Equals -> "=" + NotEquals -> + "≠" + GreaterThanOrEquals -> "⩾" @@ -201,7 +211,7 @@ visit f expr = List <| List.map (visit f) es -pvisit : (PrintExpression -> Maybe PrintExpression) -> PrintExpression -> PrintExpression +pvisit : (ToGlslExpression -> Maybe ToGlslExpression) -> ToGlslExpression -> ToGlslExpression pvisit f expr = case f expr of Just r -> @@ -209,44 +219,44 @@ pvisit f expr = Nothing -> case expr of - PVariable s -> - PVariable s + TGVariable s -> + TGVariable s - PInteger i -> - PInteger i + TGInteger i -> + TGInteger i - PFloat f_ -> - PFloat f_ + TGFloat f_ -> + TGFloat f_ - PNegate l -> - PNegate (pvisit f l) + TGNegate l -> + TGNegate (pvisit f l) - PLambda x e -> - PLambda x (pvisit f e) + TGAdd l r -> + TGAdd (pvisit f l) (pvisit f r) - PAdd l r -> - PAdd (pvisit f l) (pvisit f r) + TGBy l r -> + TGBy (pvisit f l) (pvisit f r) - PBy l r -> - PBy (pvisit f l) (pvisit f r) + TGDiv l r -> + TGDiv (pvisit f l) (pvisit f r) - PDiv l r -> - PDiv (pvisit f l) (pvisit f r) + TGPower l r -> + TGPower (pvisit f l) (pvisit f r) - PPower l r -> - PPower (pvisit f l) (pvisit f r) + TGRel o l r -> + TGRel o (pvisit f l) (pvisit f r) - PRel o l r -> - PRel o (pvisit f l) (pvisit f r) + TGApply (TGApply1 func l) -> + TGApply (TGApply1 func (pvisit f l)) - PApply func e -> - PApply func <| List.map (pvisit f) e + TGApply (TGApply2 func l m) -> + TGApply (TGApply2 func (pvisit f l) (pvisit f m)) - PReplace vars e -> - PReplace (Dict.map (\_ -> Maybe.map <| pvisit f) vars) (pvisit f e) + TGApply (TGApply3 func l m r) -> + TGApply (TGApply3 func (pvisit f l) (pvisit f m) (pvisit f r)) - PList es -> - PList <| List.map (pvisit f) es + TGList es -> + TGList <| List.map (pvisit f) es partialSubstitute : String -> Expression -> Expression -> Expression @@ -256,29 +266,28 @@ partialSubstitute var val = fullSubstitute : Dict String Expression -> Expression -> Expression fullSubstitute dict = - visit <| - \expr -> - case expr of - Replace vars e -> - Just <| - Replace (Dict.map (\_ -> Maybe.map <| fullSubstitute dict) vars) <| - let - reduced = - Dict.filter (\k _ -> not <| Dict.member k vars) dict - in - if Dict.isEmpty reduced then - e - - else - fullSubstitute dict e - - Variable string -> - Dict.get string dict - |> Maybe.withDefault expr - |> Just + visit <| \expr -> + case expr of + Replace vars e -> + Just <| + Replace (Dict.map (\_ -> Maybe.map <| fullSubstitute dict) vars) <| + let + reduced = + Dict.filter (\k _ -> not <| Dict.member k vars) dict + in + if Dict.isEmpty reduced then + e - _ -> - Nothing + else + fullSubstitute dict e + + Variable string -> + Dict.get string dict + |> Maybe.withDefault expr + |> Just + + _ -> + Nothing equals : Expression -> Expression -> Bool @@ -374,11 +383,8 @@ equals l r = -- Yes, this is enough for now goat = Variable "GOATFINDER" - - res = - equals (partialSubstitute x goat f) (partialSubstitute y goat g) in - res + equals (partialSubstitute x goat f) (partialSubstitute y goat g) ( Lambda _ _, _ ) -> False @@ -392,8 +398,9 @@ listEquals ls rs = toString : Expression -> String toString = - toPrintExpression - >> toStringPrec 0 + typecheck + >> Result.map (toStringPrec 0) + >> Result.withDefault "Typecheck error" solutionTreeToString : SolutionTree -> L10N String @@ -420,68 +427,236 @@ solutionTreeToString tree = UI.L10N.map (\ps -> "(" ++ String.join ") (" ps ++ ")") (UI.L10N.traverse solutionTreeToString ls) -type PrintExpression - = PInteger Int - | PFloat Float - | PVariable String - | PLambda String PrintExpression - | PAdd PrintExpression PrintExpression - | PNegate PrintExpression - | PBy PrintExpression PrintExpression - | PDiv PrintExpression PrintExpression - | PRel String PrintExpression PrintExpression - | PPower PrintExpression PrintExpression - | PReplace (Dict String (Maybe PrintExpression)) PrintExpression - | PList (List PrintExpression) - | PApply FunctionName (List PrintExpression) - - -toPrintExpression : Expression -> PrintExpression -toPrintExpression e = +type ToGlslExpression + = TGInteger Int + | TGFloat Float + | TGVariable String + | TGAdd ToGlslExpression ToGlslExpression + | TGNegate ToGlslExpression + | TGBy ToGlslExpression ToGlslExpression + | TGDiv ToGlslExpression ToGlslExpression + | TGRel RelationOperation ToGlslExpression ToGlslExpression + | TGPower ToGlslExpression ToGlslExpression + | TGList (List ToGlslExpression) + | TGApply TGApply + + +type TGApply + = TGApply1 Function1 ToGlslExpression + | TGApply2 Function2 ToGlslExpression ToGlslExpression + | TGApply3 Function3 ToGlslExpression ToGlslExpression ToGlslExpression + + +type Function1 + = -- Trig + PSin + | PCos + | PTan + | PAsin + | PAcos + | PAtan + | PSinh + | PCosh + | PTanh + -- Power + | PAbs + | PSqrt + | PCbrt + | PLn + | PLog10 + | PExp + | PSign + -- Complex + | PRe + | PIm + | PArg + -- Matrix + | PGra + | PDet + -- Misc + | PRound + | PFloor + | PCeil + + +type Function2 + = -- Trig + PAtan2 + -- Misc + | PMin + | PMax + | PMod + | PMbrot + + +type Function3 + = -- Misc + PPiecewise + + +type TypecheckError + = InvalidArgCount KnownFunction Int + | FoundLambda + + +typecheck : Expression -> Result TypecheckError ToGlslExpression +typecheck e = case e of Variable v -> - PVariable v + Ok (TGVariable v) - Lambda x f -> - PLambda x <| toPrintExpression f + Lambda _ _ -> + Err FoundLambda Integer i -> - PInteger i + Ok (TGInteger i) Float f -> - PFloat f + Ok (TGFloat f) UnaryOperation Negate expression -> - PNegate <| toPrintExpression expression + Result.map TGNegate <| typecheck expression BinaryOperation Power l r -> - PPower (toPrintExpression l) (toPrintExpression r) + Result.map2 TGPower (typecheck l) (typecheck r) BinaryOperation Division l r -> - PDiv (toPrintExpression l) (toPrintExpression r) + Result.map2 TGDiv (typecheck l) (typecheck r) RelationOperation op l r -> - PRel (relationToString op) (toPrintExpression l) (toPrintExpression r) + Result.map2 (TGRel op) (typecheck l) (typecheck r) AssociativeOperation Addition l r o -> - List.foldl (\el a -> PAdd a el) - (PAdd (toPrintExpression l) (toPrintExpression r)) - (List.map toPrintExpression o) + List.foldl (\el a -> Result.map2 TGAdd a el) + (typecheck l) + (List.map typecheck (r :: o)) AssociativeOperation Multiplication l r o -> - List.foldl (\el a -> PBy a el) - (PBy (toPrintExpression l) (toPrintExpression r)) - (List.map toPrintExpression o) - - Replace vars expr -> - PReplace (Dict.map (\_ -> Maybe.map toPrintExpression) vars) <| - toPrintExpression expr + List.foldl (\el a -> Result.map2 TGBy a el) + (typecheck l) + (List.map typecheck (r :: o)) List es -> - PList <| List.map toPrintExpression es + es + |> Result.Extra.combineMap typecheck + |> Result.map TGList + + Apply (KnownFunction Sin) [ a0 ] -> + Result.map (\t0 -> TGApply (TGApply1 PSin t0)) (typecheck a0) + + Apply (KnownFunction Sin) args -> + Err <| InvalidArgCount Sin (List.length args) + + Apply (KnownFunction Cos) _ -> + Debug.todo "branch 'Apply (KnownFunction Cos) _' not implemented" + + Apply (KnownFunction Tan) _ -> + Debug.todo "branch 'Apply (KnownFunction Tan) _' not implemented" + + Apply (KnownFunction Asin) _ -> + Debug.todo "branch 'Apply (KnownFunction Asin) _' not implemented" + + Apply (KnownFunction Acos) _ -> + Debug.todo "branch 'Apply (KnownFunction Acos) _' not implemented" + + Apply (KnownFunction Atan) _ -> + Debug.todo "branch 'Apply (KnownFunction Atan) _' not implemented" + + Apply (KnownFunction Atan2) _ -> + Debug.todo "branch 'Apply (KnownFunction Atan2) _' not implemented" + + Apply (KnownFunction Sinh) _ -> + Debug.todo "branch 'Apply (KnownFunction Sinh) _' not implemented" + + Apply (KnownFunction Cosh) _ -> + Debug.todo "branch 'Apply (KnownFunction Cosh) _' not implemented" + + Apply (KnownFunction Tanh) _ -> + Debug.todo "branch 'Apply (KnownFunction Tanh) _' not implemented" + + Apply (KnownFunction Abs) _ -> + Debug.todo "branch 'Apply (KnownFunction Abs) _' not implemented" + + Apply (KnownFunction Ln) _ -> + Debug.todo "branch 'Apply (KnownFunction Ln) _' not implemented" + + Apply (KnownFunction Log10) _ -> + Debug.todo "branch 'Apply (KnownFunction Log10) _' not implemented" + + Apply (KnownFunction Exp) _ -> + Debug.todo "branch 'Apply (KnownFunction Exp) _' not implemented" + + Apply (KnownFunction Sign) _ -> + Debug.todo "branch 'Apply (KnownFunction Sign) _' not implemented" + + Apply (KnownFunction Re) _ -> + Debug.todo "branch 'Apply (KnownFunction Re) _' not implemented" + + Apply (KnownFunction Im) _ -> + Debug.todo "branch 'Apply (KnownFunction Im) _' not implemented" + + Apply (KnownFunction Arg) _ -> + Debug.todo "branch 'Apply (KnownFunction Arg) _' not implemented" + + Apply (KnownFunction Gra) _ -> + Debug.todo "branch 'Apply (KnownFunction Gra) _' not implemented" + + Apply (KnownFunction Det) _ -> + Debug.todo "branch 'Apply (KnownFunction Det) _' not implemented" + + Apply (KnownFunction Dd) _ -> + Debug.todo "branch 'Apply (KnownFunction Dd) _' not implemented" + + Apply (KnownFunction Ii) _ -> + Debug.todo "branch 'Apply (KnownFunction Ii) _' not implemented" + + Apply (KnownFunction Min) _ -> + Debug.todo "branch 'Apply (KnownFunction Min) _' not implemented" + + Apply (KnownFunction Max) _ -> + Debug.todo "branch 'Apply (KnownFunction Max) _' not implemented" + + Apply (KnownFunction Round) _ -> + Debug.todo "branch 'Apply (KnownFunction Round) _' not implemented" + + Apply (KnownFunction Floor) _ -> + Debug.todo "branch 'Apply (KnownFunction Floor) _' not implemented" + + Apply (KnownFunction Ceil) _ -> + Debug.todo "branch 'Apply (KnownFunction Ceil) _' not implemented" + + Apply (KnownFunction Piecewise) _ -> + Debug.todo "branch 'Apply (KnownFunction Piecewise) _' not implemented" + + Apply (KnownFunction Plot) _ -> + Debug.todo "branch 'Apply (KnownFunction Plot) _' not implemented" + + Apply (KnownFunction Simplify) _ -> + Debug.todo "branch 'Apply (KnownFunction Simplify) _' not implemented" + + Apply (KnownFunction StepSimplify) _ -> + Debug.todo "branch 'Apply (KnownFunction StepSimplify) _' not implemented" - Apply f es -> - PApply f <| List.map toPrintExpression es + Apply (KnownFunction Solve) _ -> + Debug.todo "branch 'Apply (KnownFunction Solve) _' not implemented" + + Apply (KnownFunction Mod) _ -> + Debug.todo "branch 'Apply (KnownFunction Mod) _' not implemented" + + Apply (KnownFunction Mbrot) _ -> + Debug.todo "branch 'Apply (KnownFunction Mbrot) _' not implemented" + + Apply (KnownFunction For) _ -> + Debug.todo "branch 'Apply (KnownFunction For) _' not implemented" + + Apply (KnownFunction Sqrt) _ -> + Debug.todo "branch 'Apply (KnownFunction Sqrt) _' not implemented" + + Apply (KnownFunction Cbrt) _ -> + Debug.todo "branch 'Apply (KnownFunction Cbrt) _' not implemented" + + Replace _ _ -> + Debug.todo "branch 'Replace _ _' not implemented" @@ -490,7 +665,7 @@ toPrintExpression e = -- 7 * / -toStringPrec : Int -> PrintExpression -> String +toStringPrec : Int -> ToGlslExpression -> String toStringPrec p e = let paren b c = @@ -516,7 +691,7 @@ toStringPrec p e = |> List.filterMap (\el -> case el of - PList [ x ] -> + TGList [ x ] -> Just x _ -> @@ -530,87 +705,77 @@ toStringPrec p e = Nothing in case e of - PVariable v -> + TGVariable v -> v - PFloat f -> + TGFloat f -> String.fromFloat f - PInteger v -> + TGInteger v -> String.fromInt v - PNegate expression -> + TGNegate expression -> noninfix "-" expression - PAdd l (PNegate r) -> + TGAdd l (TGNegate r) -> infixl_ 6 " - " l r - PAdd l (PFloat pf) -> + TGAdd l (TGFloat pf) -> if pf < 0 then - infixl_ 6 " - " l (PFloat -pf) + infixl_ 6 " - " l (TGFloat -pf) else - infixl_ 6 " + " l (PFloat pf) + infixl_ 6 " + " l (TGFloat pf) - PAdd l (PInteger pi) -> + TGAdd l (TGInteger pi) -> if pi < 0 then - infixl_ 6 " - " l (PInteger -pi) + infixl_ 6 " - " l (TGInteger -pi) else - infixl_ 6 " + " l (PInteger pi) + infixl_ 6 " + " l (TGInteger pi) - PAdd l r -> + TGAdd l r -> infixl_ 6 " + " l r - PRel rel l r -> - infixl_ 5 (" " ++ rel ++ " ") l r + TGRel rel l r -> + infixl_ 5 (" " ++ relationToString rel ++ " ") l r - PBy ((PInteger _) as l) r -> + TGBy ((TGInteger _) as l) r -> case r of - PPower _ _ -> + TGPower _ _ -> infixl_ 7 "" l r - PVariable _ -> + TGVariable _ -> infixl_ 7 "" l r - PApply _ _ -> + TGApply _ -> infixl_ 7 "" l r _ -> infixl_ 7 "*" l r - PBy l r -> + TGBy l r -> infixl_ 7 "*" l r - PDiv l r -> + TGDiv l r -> infixl_ 7 "/" l r - PPower l (PInteger 2) -> + TGPower l (TGInteger 2) -> paren (p > 8) <| toStringPrec 9 l ++ "²" - PPower l (PInteger 3) -> + TGPower l (TGInteger 3) -> paren (p > 8) <| toStringPrec 9 l ++ "³" - PPower l r -> + TGPower l r -> infixr_ 8 "^" l r - PLambda x ((PApply fn [ PVariable v ]) as f) -> - if v == x then - functionNameToString fn - - else - paren (p > 0) <| x ++ " => " ++ toStringPrec 0 f - - PLambda x f -> - paren (p > 0) <| x ++ " => " ++ toStringPrec 0 f + TGApply (TGApply1 name ((TGList _) as ex)) -> + paren (p > 10) <| functionNameToString (toFunctionName1 name) ++ toStringPrec 0 ex - PApply name [ (PList _) as ex ] -> - paren (p > 10) <| functionNameToString name ++ toStringPrec 0 ex + TGApply (TGApply1 name ex) -> + paren (p > 10) <| functionNameToString (toFunctionName1 name) ++ "(" ++ toStringPrec 0 ex ++ ")" - PApply name ex -> - paren (p > 10) <| functionNameToString name ++ "(" ++ String.join ", " (List.map (toStringPrec 0) ex) ++ ")" - - PList es -> + TGList es -> case asVector es of Nothing -> "{" ++ String.join ", " (List.map (toStringPrec 0) es) ++ "}" @@ -618,34 +783,88 @@ toStringPrec p e = Just rs -> "(" ++ String.join ", " (List.map (toStringPrec 0) rs) ++ ")" - PReplace var expr -> - "[" - ++ String.join "; " - (List.map - (\( k, mv ) -> - case mv of - Nothing -> - "!" ++ k - - Just v -> - let - r = - toStringPrec 0 v - in - String.join - (if String.contains " " r then - " " - - else - "" - ) - [ k, "=", r ] - ) - <| - Dict.toList var - ) - ++ "] " - ++ toStringPrec 0 expr + TGApply (TGApply2 _ _ _) -> + Debug.todo "branch 'TGApply (TGApply2 _ _ _)' not implemented" + + TGApply (TGApply3 _ _ _ _) -> + Debug.todo "branch 'TGApply (TGApply3 _ _ _ _)' not implemented" + + +toFunctionName1 : Function1 -> FunctionName +toFunctionName1 pf = + KnownFunction <| + case pf of + PSin -> + Sin + + PCos -> + Cos + + PTan -> + Tan + + PAsin -> + Asin + + PAcos -> + Acos + + PAtan -> + Atan + + PSinh -> + Sinh + + PCosh -> + Cosh + + PTanh -> + Tanh + + PAbs -> + Abs + + PSqrt -> + Sqrt + + PCbrt -> + Cbrt + + PLn -> + Ln + + PLog10 -> + Log10 + + PExp -> + Exp + + PSign -> + Sign + + PRe -> + Re + + PIm -> + Im + + PArg -> + Arg + + PGra -> + Gra + + PDet -> + Det + + PRound -> + Round + + PFloor -> + Floor + + PCeil -> + Ceil greeks : Dict String String @@ -715,8 +934,8 @@ unaryFunctions = power = [ ( "abs", Abs ) , ( "sign", Sign ) - , ( "sqrt", Root 2 ) - , ( "cbrt", Root 3 ) + , ( "sqrt", Sqrt ) + , ( "cbrt", Cbrt ) , ( "ln", Ln ) , ( "log10", Log10 ) , ( "exp", Exp ) @@ -735,12 +954,10 @@ unaryFunctions = other = [ ( "plot", Plot ) - , ( "aplot", APlot ) , ( "simplify", Simplify ) , ( "stepsimplify", StepSimplify ) , ( "floor", Floor ) - , ( "ceil", Ceiling ) - , ( "ceiling", Ceiling ) + , ( "ceil", Ceil ) , ( "round", Round ) ] in @@ -765,7 +982,7 @@ binaryFunctions = ternaryFunctions : List ( String, KnownFunction ) ternaryFunctions = - [ ( "pw", Pw ) ] + [ ( "pw", Piecewise ) ] quaternaryFunctions : List ( String, KnownFunction ) @@ -807,8 +1024,9 @@ defaultContext = getFreeVariables : Expression -> Set String getFreeVariables expr = let + concatMap : List Expression -> Set String concatMap = - List.foldl (Set.union << getFreeVariables) Set.empty + List.foldl (\e -> Set.union (getFreeVariables e)) Set.empty in case expr of Variable v -> @@ -885,15 +1103,12 @@ functionNameToString name = KnownFunction Sign -> "sign" - KnownFunction (Root 2) -> + KnownFunction Sqrt -> "sqrt" - KnownFunction (Root 3) -> + KnownFunction Cbrt -> "cbrt" - KnownFunction (Root n) -> - "root" ++ String.fromInt n - KnownFunction Ln -> "ln" @@ -924,15 +1139,12 @@ functionNameToString name = KnownFunction Ii -> "ii" - KnownFunction Pw -> + KnownFunction Piecewise -> "pw" KnownFunction Plot -> "plot" - KnownFunction APlot -> - "aplot" - KnownFunction Simplify -> "simplify" @@ -945,8 +1157,8 @@ functionNameToString name = KnownFunction Floor -> "floor" - KnownFunction Ceiling -> - "ceiling" + KnownFunction Ceil -> + "ceil" KnownFunction Round -> "round" @@ -966,41 +1178,25 @@ functionNameToString name = KnownFunction For -> "for" - UserFunction u -> - u - -pfullSubstitute : Dict String (Maybe PrintExpression) -> PrintExpression -> PrintExpression +pfullSubstitute : Dict String (Maybe ToGlslExpression) -> ToGlslExpression -> ToGlslExpression pfullSubstitute dict = - pvisit <| - \expr -> - case expr of - PReplace vars e -> - Just <| - PReplace (Dict.map (\_ -> Maybe.map <| pfullSubstitute dict) vars) <| - let - reduced = - Dict.filter (\k _ -> not <| Dict.member k vars) dict - in - if Dict.isEmpty reduced then - e - - else - pfullSubstitute dict e - - PVariable string -> - Dict.get string dict - |> Maybe.andThen identity - |> Maybe.withDefault expr - |> Just + pvisit <| \expr -> + case expr of + TGVariable string -> + Dict.get string dict + |> Maybe.andThen identity + |> Maybe.withDefault expr + |> Just - _ -> - Nothing + _ -> + Nothing toTeXString : Expression -> String toTeXString = - toPrintExpression + typecheck + >> Result.withDefault (TGInteger 0) >> toTeXStringPrec 0 @@ -1119,12 +1315,12 @@ toDebugTree todo e = goRec "list" ls -asMatrixPrint : PrintExpression -> Maybe (List (List PrintExpression)) +asMatrixPrint : ToGlslExpression -> Maybe (List (List ToGlslExpression)) asMatrixPrint = genericAsMatrix (\l -> case l of - PList u -> + TGList u -> Just u _ -> @@ -1134,14 +1330,13 @@ asMatrixPrint = asMatrix : Expression -> Maybe (List (List Expression)) asMatrix = - genericAsMatrix <| - \e -> - case e of - List es -> - Just es + genericAsMatrix <| \e -> + case e of + List es -> + Just es - _ -> - Nothing + _ -> + Nothing genericAsMatrix : (a -> Maybe (List a)) -> a -> Maybe (List (List a)) @@ -1329,7 +1524,7 @@ genericDeterminant { plus, negate, by } mat = Nothing -toTeXStringPrec : Int -> PrintExpression -> String +toTeXStringPrec : Int -> ToGlslExpression -> String toTeXStringPrec p e = let paren b c = @@ -1354,174 +1549,144 @@ toTeXStringPrec p e = in wrp <| case e of - PVariable v -> + TGVariable v -> if Dict.member v greeks then "\\" ++ v else v - PFloat f -> + TGFloat f -> String.fromFloat f - PInteger v -> + TGInteger v -> String.fromInt v - PNegate expression -> + TGNegate expression -> noninfix "-" expression - PAdd l (PNegate r) -> + TGAdd l (TGNegate r) -> infixl_ 6 " - " l r - PAdd l (PBy (PInteger m) r) -> + TGAdd l (TGBy (TGInteger m) r) -> if m < 0 then - infixl_ 6 " - " l (PBy (PInteger -m) r) + infixl_ 6 " - " l (TGBy (TGInteger -m) r) else - infixl_ 6 " + " l (PBy (PInteger m) r) + infixl_ 6 " + " l (TGBy (TGInteger m) r) - PAdd l (PFloat pf) -> + TGAdd l (TGFloat pf) -> if pf < 0 then - infixl_ 6 " - " l (PFloat -pf) + infixl_ 6 " - " l (TGFloat -pf) else - infixl_ 6 " + " l (PFloat pf) + infixl_ 6 " + " l (TGFloat pf) - PAdd l (PInteger pi) -> + TGAdd l (TGInteger pi) -> if pi < 0 then - infixl_ 6 " - " l (PInteger -pi) + infixl_ 6 " - " l (TGInteger -pi) else - infixl_ 6 " + " l (PInteger pi) + infixl_ 6 " + " l (TGInteger pi) - PAdd l r -> + TGAdd l r -> infixl_ 6 " + " l r - PRel rel l r -> - infixl_ 5 (" " ++ rel ++ " ") l r - - PLambda x ((PApply fn [ PVariable v ]) as f) -> - if v == x then - functionNameToString fn - - else - paren (p > 0) <| x ++ " \\RightArrow " ++ toTeXStringPrec 0 f - - PLambda x f -> - paren (p > 0) <| x ++ " \\RightArrow " ++ toTeXStringPrec 0 f + TGRel rel l r -> + infixl_ 5 (" " ++ relationToString rel ++ " ") l r - PBy ((PInteger _) as l) r -> + TGBy ((TGInteger _) as l) r -> case r of - PPower _ _ -> + TGPower _ _ -> infixl_ 7 "" l r - PVariable _ -> + TGVariable _ -> infixl_ 7 "" l r - PApply (KnownFunction Abs) _ -> + TGApply (TGApply1 PAbs _) -> infixl_ 7 "\\cdot" l r - PApply _ _ -> + TGApply (TGApply1 _ _) -> + infixl_ 7 "" l r + + TGApply (TGApply2 _ _ _) -> + infixl_ 7 "" l r + + TGApply (TGApply3 _ _ _ _) -> infixl_ 7 "" l r _ -> infixl_ 7 "\\cdot" l r - PBy l r -> + TGBy l r -> infixl_ 7 "\\cdot" l r - PDiv l r -> + TGDiv l r -> paren (p > 7) <| "\\frac" ++ toTeXStringPrec 7 l ++ toTeXStringPrec 8 r - PPower l (PDiv (PInteger 1) (PInteger 2)) -> + TGPower l (TGDiv (TGInteger 1) (TGInteger 2)) -> paren (p > 8) <| "\\sqrt{" ++ toTeXStringPrec 0 l ++ "}" - PPower l (PDiv (PInteger 1) s) -> + TGPower l (TGDiv (TGInteger 1) s) -> paren (p > 8) <| "\\sqrt[" ++ toTeXStringPrec 0 s ++ "]{" ++ toTeXStringPrec 0 l ++ "}" - PPower (PApply name args) (PFloat i) -> + TGPower (TGApply (TGApply1 name arg)) (TGFloat i) -> paren (p > 10) <| "\\mathrm{" - ++ functionNameToString name + ++ functionNameToString (toFunctionName1 name) ++ "}^{" ++ String.fromFloat i ++ "}\\left(" - ++ String.join ", " (List.map (toTeXStringPrec 0) args) + ++ toTeXStringPrec 0 arg ++ "\\right)" - PPower (PApply name args) (PInteger i) -> + TGPower (TGApply (TGApply1 name args)) (TGInteger i) -> paren (p > 10) <| "\\mathrm{" - ++ functionNameToString name + ++ functionNameToString (toFunctionName1 name) ++ "}^{" ++ String.fromInt i ++ "}\\left(" - ++ String.join ", " (List.map (toTeXStringPrec 0) args) + ++ toTeXStringPrec 0 args ++ "\\right)" - PPower l r -> + TGPower l r -> paren (p > 8) <| toTeXStringPrec 9 l ++ "^{" ++ toTeXStringPrec 0 r ++ "}" - PApply (KnownFunction Abs) [ ex ] -> + TGApply (TGApply1 PAbs ex) -> paren (p > 10) <| "\\left|" ++ toTeXStringPrec 0 ex ++ "\\right|" - PApply (KnownFunction (Root 2)) [ ex ] -> + TGApply (TGApply1 PSqrt ex) -> paren (p > 10) <| "\\sqrt{" ++ toTeXStringPrec 0 ex ++ "}" - PApply (KnownFunction (Root n)) [ ex ] -> - paren (p > 10) <| "\\sqrt[" ++ String.fromInt n ++ "]{" ++ toTeXStringPrec 0 ex ++ "}" - - PApply name [ (PList _) as ex ] -> - paren (p > 10) <| "\\mathrm{" ++ functionNameToString name ++ "}" ++ toTeXStringPrec 0 ex + -- TGApply (KnownFunction (Root n)) [ ex ] -> + -- paren (p > 10) <| "\\sqrt[" ++ String.fromInt n ++ "]{" ++ toTeXStringPrec 0 ex ++ "}" + TGApply (TGApply1 name ((TGList _) as ex)) -> + paren (p > 10) <| "\\mathrm{" ++ functionNameToString (toFunctionName1 name) ++ "}" ++ toTeXStringPrec 0 ex - PApply name ex -> + TGApply (TGApply1 name ex) -> paren (p > 10) <| "\\mathrm{" - ++ functionNameToString name + ++ functionNameToString (toFunctionName1 name) ++ "}\\left(" - ++ String.join ", " (List.map (toTeXStringPrec 0) ex) + ++ toTeXStringPrec 0 ex ++ "\\right)" - PList es -> + TGList es -> case asMatrixPrint e of Just childLists -> let - viewRow = - String.join " & " << List.map (\cell -> "{" ++ toTeXStringPrec 0 cell ++ "}") + viewRow : List ToGlslExpression -> String + viewRow elements = + String.join " & " (List.map (\cell -> "{" ++ toTeXStringPrec 0 cell ++ "}") elements) in "\\begin{pmatrix}" ++ String.join " \\\\ " (List.map viewRow childLists) ++ "\\end{pmatrix}" Nothing -> "\\begin{Bmatrix}" ++ String.join ", & " (List.map (\cell -> "{" ++ toTeXStringPrec 0 cell ++ "}") es) ++ " \\end{Bmatrix}" - PReplace var expr -> - "\\begin{bmatrix}" - ++ String.join " \\\\ " - (List.map - (\( k, mv ) -> - case mv of - Nothing -> - "!" ++ k - - Just v -> - let - r = - toTeXStringPrec 0 v - in - String.join - (if String.contains " " r then - " " - - else - "" - ) - [ k, "=", r ] - ) - <| - Dict.toList var - ) - ++ "\\end{bmatrix} " - ++ toTeXStringPrec 0 expr + TGApply _ -> + Debug.todo "branch 'TGApply _' not implemented" filterContext : Dict comparable (Maybe v) -> Dict comparable v diff --git a/src/elm/Expression/Derivative.elm b/src/elm/Expression/Derivative.elm index 76e57656..e1c11d3f 100644 --- a/src/elm/Expression/Derivative.elm +++ b/src/elm/Expression/Derivative.elm @@ -1,7 +1,7 @@ module Expression.Derivative exposing (derivative) import Expression exposing (AssociativeOperation(..), BinaryOperation(..), Expression(..), FunctionName(..), KnownFunction(..), UnaryOperation(..), filterContext, fullSubstitute) -import Expression.Utils exposing (by, byShort, cos_, cosh_, div, e, exp, ipowShort, ln_, log10_, minus, negate_, one, plus, pow, sign, sin_, sinh_, sqrt_, square, tan_, zero) +import Expression.Utils exposing (by, byShort, cos_, cosh_, div, exp, ipowShort, ln_, log10_, minus, negate_, one, plus, pow, sign, sin_, sinh_, sqrt_, square, tan_, zero) derivative : String -> Expression -> Expression @@ -141,19 +141,15 @@ knownDerivative name x = Abs -> sign x - Root n -> - let - ni = - Integer n - in + Sqrt -> + div + (Integer 1) + (by [ Integer 2, Apply (KnownFunction Sqrt) [ x ] ]) + + Cbrt -> div - (pow x - (div - (Integer (1 - n)) - ni - ) - ) - ni + (Integer 1) + (by [ Integer 3, pow x (div (Integer 2) (Integer 3)) ]) Ln -> div one x @@ -209,10 +205,10 @@ knownDerivative name x = Floor -> zero - Ceiling -> + Ceil -> zero - Pw -> + Piecewise -> --TODO Variable "TODO" @@ -220,10 +216,6 @@ knownDerivative name x = --TODO Variable "TODO" - APlot -> - --TODO - Variable "TODO" - Simplify -> --TODO Variable "TODO" diff --git a/src/elm/Expression/Graph.elm b/src/elm/Expression/Graph.elm index 0687902a..8338eef6 100644 --- a/src/elm/Expression/Graph.elm +++ b/src/elm/Expression/Graph.elm @@ -1,6 +1,6 @@ module Expression.Graph exposing (Graph(..), fromExpression, toExpression, toString) -import Expression exposing (AssociativeOperation, BinaryOperation, Expression(..), FunctionName(..), KnownFunction(..), RelationOperation(..), UnaryOperation, getFreeVariables) +import Expression exposing (Expression(..), FunctionName(..), KnownFunction(..), RelationOperation(..), getFreeVariables) import Expression.Simplify import Expression.Utils exposing (minus) import Set @@ -18,18 +18,8 @@ type Graph | GraphList (List Graph) -type GraphExpression - = GFloat Float - | GVariable String - | GAssociative AssociativeOperation GraphExpression GraphExpression (List GraphExpression) - | GBinary BinaryOperation GraphExpression GraphExpression - | GUnary UnaryOperation GraphExpression - | GApply FunctionName (List GraphExpression) - | GList (List GraphExpression) - - fromExpression : Expression -> Graph -fromExpression = +fromExpression input = let go expr = let @@ -97,7 +87,7 @@ fromExpression = else Explicit2D expr in - go << Expression.Simplify.hoistLambda + go (Expression.Simplify.hoistLambda input) toString : Graph -> String diff --git a/src/elm/Expression/NumericRange.elm b/src/elm/Expression/NumericRange.elm index 7915662d..a0467c7e 100644 --- a/src/elm/Expression/NumericRange.elm +++ b/src/elm/Expression/NumericRange.elm @@ -26,114 +26,107 @@ get = getRange : Dict String NumericRange -> Expression -> NumericRange getRange ctx e = - let - result = - case e of - Variable v -> - Dict.get v ctx |> Maybe.withDefault Real + case e of + Variable v -> + Dict.get v ctx |> Maybe.withDefault Real - Integer j -> - sign j + Integer j -> + sign j - Float j -> - sign j + Float j -> + sign j - UnaryOperation Negate c -> - negateRange <| getRange ctx c + UnaryOperation Negate c -> + negateRange <| getRange ctx c - BinaryOperation Power b ex -> - powerRange ctx (getRange ctx b) ex + BinaryOperation Power b ex -> + powerRange ctx (getRange ctx b) ex - BinaryOperation Division n d -> - multiplyRange (getRange ctx n) (getRange ctx d) + BinaryOperation Division n d -> + multiplyRange (getRange ctx n) (getRange ctx d) - RelationOperation _ _ _ -> - Nonnegative + RelationOperation _ _ _ -> + Nonnegative - AssociativeOperation Addition l m o -> - List.foldl addRange (getRange ctx l) <| List.map (getRange ctx) (m :: o) + AssociativeOperation Addition l m o -> + List.foldl addRange (getRange ctx l) <| List.map (getRange ctx) (m :: o) - AssociativeOperation Multiplication l m o -> - List.foldl multiplyRange (getRange ctx l) <| List.map (getRange ctx) (m :: o) + AssociativeOperation Multiplication l m o -> + List.foldl multiplyRange (getRange ctx l) <| List.map (getRange ctx) (m :: o) - List es -> - case es of - [] -> - Zero + List es -> + case es of + [] -> + Zero - h :: t -> - List.foldl union (getRange ctx h) <| List.map (getRange ctx) t + h :: t -> + List.foldl union (getRange ctx h) <| List.map (getRange ctx) t - Apply (KnownFunction Abs) [ c ] -> - case getRange ctx c of - Positive -> - Positive - - Negative -> - Positive + Apply (KnownFunction Abs) [ c ] -> + case getRange ctx c of + Positive -> + Positive - Zero -> - Zero + Negative -> + Positive - _ -> - Nonnegative + Zero -> + Zero - Apply (KnownFunction Arg) [ c ] -> - case getRange ctx c of - Complex -> - Real + _ -> + Nonnegative - -- monotone with arg(0) = 0 - o -> - o + Apply (KnownFunction Arg) [ c ] -> + case getRange ctx c of + Complex -> + Real - Apply (KnownFunction (Root 2)) [ c ] -> - sqrtRange <| getRange ctx c + -- monotone with arg(0) = 0 + o -> + o - Apply (KnownFunction (Root 3)) [ c ] -> - getRange ctx c + Apply (KnownFunction Sqrt) [ c ] -> + sqrtRange <| getRange ctx c - Apply (KnownFunction Re) [ _ ] -> - Real + Apply (KnownFunction Cbrt) [ c ] -> + getRange ctx c - Apply (KnownFunction Im) [ _ ] -> - Real + Apply (KnownFunction Re) [ _ ] -> + Real - Apply (KnownFunction Atan2) [ y, x ] -> - if getRange ctx y /= Complex && getRange ctx x /= Complex then - Real + Apply (KnownFunction Im) [ _ ] -> + Real - else - Complex + Apply (KnownFunction Atan2) [ y, x ] -> + if getRange ctx y /= Complex && getRange ctx x /= Complex then + Real - Apply (KnownFunction Pw) [ _, t, f ] -> - union (getRange ctx t) (getRange ctx f) + else + Complex - Apply (KnownFunction Mbrot) _ -> - Complex + Apply (KnownFunction Piecewise) [ _, t, f ] -> + union (getRange ctx t) (getRange ctx f) - Apply (KnownFunction _) args -> - if List.any (\c -> getRange ctx c == Complex) args then - Complex + Apply (KnownFunction Mbrot) _ -> + Complex - else - Real + Apply (KnownFunction _) args -> + if List.any (\c -> getRange ctx c == Complex) args then + Complex - Apply _ _ -> - Complex + else + Real - Replace variables c -> - getRange - (List.foldl (\( k, v ) -> Dict.insert k (getRange ctx v)) - ctx - (Dict.toList <| filterContext variables) - ) - c + Replace variables c -> + getRange + (List.foldl (\( k, v ) -> Dict.insert k (getRange ctx v)) + ctx + (Dict.toList <| filterContext variables) + ) + c - Lambda x f -> - getRange (Dict.remove x ctx) f - in - result + Lambda x f -> + getRange (Dict.remove x ctx) f powerRange : Dict String NumericRange -> NumericRange -> Expression -> NumericRange diff --git a/src/elm/Expression/Parser.elm b/src/elm/Expression/Parser.elm index 63a050ad..71080545 100644 --- a/src/elm/Expression/Parser.elm +++ b/src/elm/Expression/Parser.elm @@ -120,9 +120,11 @@ problemGroupToString : -> L10N String problemGroupToString ( { col, contextStack, problem }, problems ) = let + allProblems : List Problem allProblems = problem :: List.map .problem problems + prefix : L10N String prefix = case contextStack of [] -> @@ -148,7 +150,7 @@ problemGroupToString ( { col, contextStack, problem }, problems ) = in UI.L10N.concat [ prefix - , if List.any ((==) Unexpected) allProblems then + , if List.member Unexpected allProblems then if List.all ((==) Unexpected) allProblems then { en = "Unexpected" , it = "Inatteso" @@ -441,7 +443,7 @@ multidivisionParser context = ] in Parser.inContext MultiDivisionContext <| - Parser.succeed (\maybeNegate md -> maybeNegate md) + Parser.succeed identity |= Parser.loop False signLoopStep |. whitespace |= multiSequence @@ -670,8 +672,9 @@ variableParser context = getFirstFree : Trie VariableStatus -> String getFirstFree trie = let - alphabeth = - List.map (String.fromChar << Char.fromCode) <| List.range (Char.toCode 'a') (Char.toCode 'z') + alphabet : List String + alphabet = + List.map (\c -> String.fromChar (Char.fromCode c)) <| List.range (Char.toCode 'a') (Char.toCode 'z') go : List String -> String go lst = @@ -680,9 +683,9 @@ getFirstFree trie = p Nothing -> - go (List.concatMap (\l -> List.map (\r -> l ++ r) alphabeth) lst) + go (List.concatMap (\l -> List.map (\r -> l ++ r) alphabet) lst) in - go alphabeth + go alphabet parseArgs : Maybe Int -> Bool -> ExpressionParser (List Expression) diff --git a/src/elm/Expression/Polynomial.elm b/src/elm/Expression/Polynomial.elm index 3e03c3ff..ca8b0742 100644 --- a/src/elm/Expression/Polynomial.elm +++ b/src/elm/Expression/Polynomial.elm @@ -18,61 +18,57 @@ type alias Polynomial = asPolynomial : List String -> Expression -> Maybe Polynomial asPolynomial vars e = - let - res = - case e of - Integer _ -> - Just <| Dict.singleton [] e - - Float _ -> - Just <| Dict.singleton [] e - - Variable v -> - if List.member v vars then - Just <| Dict.singleton [ ( v, 1 ) ] one - - else - Just <| Dict.singleton [] e - - UnaryOperation Negate c -> - asPolynomial vars c - |> Maybe.map negate_ - - AssociativeOperation Addition l m r -> - (l :: m :: r) - |> Maybe.traverse (asPolynomial vars) - |> Maybe.map (List.foldr sum Dict.empty) - - AssociativeOperation Multiplication l m r -> - (l :: m :: r) - |> Maybe.traverse (asPolynomial vars) - |> Maybe.map (List.foldr by (Dict.singleton [] (Integer 1))) - - BinaryOperation Power b (Integer i) -> - Maybe.andThen (pow i) (asPolynomial vars b) - - BinaryOperation Division n d -> - let - polyD = - Maybe.map Dict.toList <| asPolynomial vars d - in - case polyD of - Just [ ( [], z ) ] -> - asPolynomial vars n - |> Maybe.map - (Dict.map - (\_ k -> - div k z - ) - ) - - _ -> - Nothing + case e of + Integer _ -> + Just <| Dict.singleton [] e + + Float _ -> + Just <| Dict.singleton [] e + + Variable v -> + if List.member v vars then + Just <| Dict.singleton [ ( v, 1 ) ] one + + else + Just <| Dict.singleton [] e + + UnaryOperation Negate c -> + asPolynomial vars c + |> Maybe.map negate_ + + AssociativeOperation Addition l m r -> + (l :: m :: r) + |> Maybe.traverse (asPolynomial vars) + |> Maybe.map (List.foldr sum Dict.empty) + + AssociativeOperation Multiplication l m r -> + (l :: m :: r) + |> Maybe.traverse (asPolynomial vars) + |> Maybe.map (List.foldr by (Dict.singleton [] (Integer 1))) + + BinaryOperation Power b (Integer i) -> + Maybe.andThen (pow i) (asPolynomial vars b) + + BinaryOperation Division n d -> + let + polyD = + Maybe.map Dict.toList <| asPolynomial vars d + in + case polyD of + Just [ ( [], z ) ] -> + asPolynomial vars n + |> Maybe.map + (Dict.map + (\_ k -> + div k z + ) + ) _ -> Nothing - in - res + + _ -> + Nothing negate_ : Polynomial -> Polynomial diff --git a/src/elm/Expression/Simplify.elm b/src/elm/Expression/Simplify.elm index d7d84313..417e1a9f 100644 --- a/src/elm/Expression/Simplify.elm +++ b/src/elm/Expression/Simplify.elm @@ -8,7 +8,6 @@ import Expression , Expression(..) , FunctionName(..) , KnownFunction(..) - , RelationOperation(..) , UnaryOperation(..) , filterContext , fullSubstitute @@ -19,6 +18,7 @@ import Expression , visit ) import Expression.Derivative +import Expression.NumericRange as NumericRange import Expression.Polynomial exposing (asPolynomial) import Expression.Utils exposing (abs_, by, byShort, cbrt, cos_, div, divShort, factor, i, im, ipow, ipowShort, minus, minusOne, negateShort, negate_, one, plus, plusShort, pow, re, sin_, sqrt_, square, two, zero) import Fraction @@ -140,6 +140,9 @@ stepSimplifyNegate context expr = Integer ni -> Integer -ni + Float nf -> + Float -nf + List ls -> stepList context { andThen = \ss -> List <| List.map negate_ ss @@ -170,14 +173,14 @@ stepSimplifyNegate context expr = step1 : Dict String Expression -> { andThen : Expression -> Expression, ifChanged : Expression -> Expression } -> Expression -> Expression step1 context { andThen, ifChanged } arg = let - sarg = + simplifiedArg = stepSimplify context arg in - if Expression.equals arg sarg then - andThen sarg + if Expression.equals arg simplifiedArg then + andThen simplifiedArg else - ifChanged sarg + ifChanged simplifiedArg step2 : Dict String Expression -> { andThen : Expression -> Expression -> Expression, ifChanged : Expression -> Expression -> Expression } -> Expression -> Expression -> Expression @@ -199,29 +202,27 @@ step2 context { andThen, ifChanged } arg1 arg2 = stepList : Dict String Expression -> { andThen : List Expression -> Expression, ifChanged : List Expression -> Expression } -> List Expression -> Expression stepList context { andThen, ifChanged } args = let - sargs = + simplifiedArgs : List Expression + simplifiedArgs = List.map (stepSimplify context) args in - if List.map2 Expression.equals args sargs |> List.all identity then - andThen sargs + if List.map2 Expression.equals args simplifiedArgs |> List.all identity then + andThen simplifiedArgs else - ifChanged sargs + ifChanged simplifiedArgs stepSimplifyApply : FunctionName -> List Expression -> Expression -stepSimplifyApply fname sargs = - case fname of - UserFunction _ -> - Apply fname sargs - +stepSimplifyApply functionName args = + case functionName of KnownFunction name -> - case ( name, sargs ) of - ( Root 2, [ arg ] ) -> + case ( name, args ) of + ( Sqrt, [ arg ] ) -> stepSimplifySqrt arg |> Maybe.withDefault (sqrt_ arg) - ( Root 3, [ arg ] ) -> + ( Cbrt, [ arg ] ) -> stepSimplifyCbrt arg |> Maybe.withDefault (cbrt arg) @@ -243,7 +244,7 @@ stepSimplifyApply fname sargs = by [ i, sin_ <| by rest ] Nothing -> - Apply fname sargs + Apply functionName args ( Cosh, [ AssociativeOperation Multiplication l r o ] ) -> case extract (findSpecificVariable "i") (l :: r :: o) of @@ -251,7 +252,7 @@ stepSimplifyApply fname sargs = cos_ <| by rest Nothing -> - Apply fname sargs + Apply functionName args ( Dd, [ expr, Variable var ] ) -> Expression.Derivative.derivative var expr @@ -260,36 +261,16 @@ stepSimplifyApply fname sargs = Expression.Utils.determinant expr ( Re, _ ) -> - stepSimplifyRe sargs - - ( Im, [ AssociativeOperation Addition l m r ] ) -> - plus <| List.map im <| l :: m :: r + stepSimplifyRe args - ( Im, [ Variable v ] ) -> - if v == "i" then - one - - else - zero - - ( Im, [ Integer _ ] ) -> - zero - - ( Im, [ Float _ ] ) -> - zero - - ( Im, [ AssociativeOperation Multiplication l m r ] ) -> - let - rest = - by (m :: r) - in - plus [ by [ re l, im rest ], by [ im l, re rest ] ] + ( Im, _ ) -> + stepSimplifyIm args ( Ii, [ expr, Variable var, from, to ] ) -> stepSimplifyIntegral expr var from to _ -> - Apply fname sargs + Apply functionName args stepSimplifyIntegral : Expression -> String -> Expression -> Expression -> Expression @@ -329,8 +310,8 @@ stepSimplifyIntegral expr var from to = stepSimplifyAbs : Expression -> Maybe Expression -stepSimplifyAbs sarg = - case sarg of +stepSimplifyAbs arg = + case arg of Integer i -> Just <| Integer <| abs i @@ -340,24 +321,24 @@ stepSimplifyAbs sarg = Variable v -> case v of "e" -> - Just sarg + Just arg "pi" -> - Just sarg + Just arg _ -> Nothing Apply (KnownFunction Abs) _ -> - Just sarg + Just arg _ -> Nothing stepSimplifySqrt : Expression -> Maybe Expression -stepSimplifySqrt sarg = - case sarg of +stepSimplifySqrt arg = + case arg of Integer j -> sqrtInteger j @@ -370,7 +351,7 @@ stepSimplifySqrt sarg = (l :: m :: r) |> List.map stepSimplifySqrt in if List.any ((/=) Nothing) sqrts then - Just <| by <| List.map2 (Maybe.withDefault << sqrt_) (l :: m :: r) sqrts + Just <| by <| List.map2 (\le re -> Maybe.withDefault (sqrt_ le) re) (l :: m :: r) sqrts else Nothing @@ -567,6 +548,9 @@ stepSimplifyCos sarg = stepSimplifyCbrt : Expression -> Maybe Expression stepSimplifyCbrt sarg = case sarg of + UnaryOperation Negate c -> + Just <| negate_ <| cbrt c + Integer j -> cbrtInteger j @@ -694,40 +678,109 @@ cbrtInteger j = stepSimplifyRe : List Expression -> Expression stepSimplifyRe sargs = case sargs of - [ BinaryOperation Division (AssociativeOperation Addition l m r) d ] -> - plus <| List.map (\c -> re <| div c d) (l :: m :: r) + [ sarg ] -> + if NumericRange.get sarg /= NumericRange.Complex then + sarg + + else + case sarg of + AssociativeOperation Addition l m r -> + plus <| List.map re <| l :: m :: r + + BinaryOperation Division (AssociativeOperation Addition l m r) d -> + plus <| List.map (\c -> re <| div c d) (l :: m :: r) + + BinaryOperation Division (AssociativeOperation Multiplication l m r) d -> + stepSimplifyRe [ by <| [ div l d, m ] ++ r ] + + BinaryOperation Division (UnaryOperation Negate n) d -> + negate_ <| re <| div n d + + BinaryOperation Division n (Integer d) -> + div (re n) (Integer d) + + UnaryOperation Negate c -> + negate_ <| re c - [ BinaryOperation Division n (Integer d) ] -> - div (re n) (Integer d) + Variable v -> + if v == "i" then + zero - [ UnaryOperation Negate c ] -> - negate_ <| re c + else + Variable v + + Integer i -> + Integer i + + Float i -> + Float i - [ AssociativeOperation Addition l m r ] -> - plus <| List.map re <| l :: m :: r + AssociativeOperation Multiplication l m r -> + let + rest = + by (m :: r) + in + minus (by [ re l, re rest ]) (by [ im l, im rest ]) - [ Variable v ] -> - if v == "i" then + _ -> + Apply (KnownFunction Re) sargs + + _ -> + Apply (KnownFunction Re) sargs + + +stepSimplifyIm : List Expression -> Expression +stepSimplifyIm sargs = + case sargs of + [ sarg ] -> + if NumericRange.get sarg /= NumericRange.Complex then zero else - Variable v + case sarg of + AssociativeOperation Addition l m r -> + plus <| List.map im <| l :: m :: r - [ Integer i ] -> - Integer i + BinaryOperation Division (AssociativeOperation Addition l m r) d -> + plus <| List.map (\c -> im <| div c d) (l :: m :: r) - [ Float i ] -> - Float i + BinaryOperation Division (AssociativeOperation Multiplication l m r) d -> + stepSimplifyIm [ by <| [ div l d, m ] ++ r ] - [ AssociativeOperation Multiplication l m r ] -> - let - rest = - by (m :: r) - in - minus (by [ re l, re rest ]) (by [ im l, im rest ]) + BinaryOperation Division (UnaryOperation Negate n) d -> + negate_ <| im <| div n d + + BinaryOperation Division n (Integer d) -> + div (im n) (Integer d) + + Variable v -> + if v == "i" then + one + + else + zero + + Integer _ -> + zero + + Float _ -> + zero + + UnaryOperation Negate c -> + negate_ <| im c + + AssociativeOperation Multiplication l m r -> + let + rest = + by (m :: r) + in + plus [ by [ re l, im rest ], by [ im l, re rest ] ] + + _ -> + Apply (KnownFunction Im) sargs _ -> - Apply (KnownFunction Re) sargs + Apply (KnownFunction Im) sargs stepSimplifyDivision : Expression -> Expression -> Expression @@ -745,6 +798,16 @@ stepSimplifyDivision ls rs = else div ls rs + UnaryOperation Negate (BinaryOperation Division _ _) -> + if Zipper.canGoRight dz then + trySimplifyFactors nz (Zipper.right 1 dz) dzip + + else if Zipper.canGoRight nz then + trySimplifyFactors (Zipper.right 1 nz) dzip dzip + + else + div ls rs + Integer 1 -> div (by <| Zipper.getLeft nz ++ Zipper.getRight nz) @@ -756,9 +819,15 @@ stepSimplifyDivision ls rs = (by <| Zipper.getLeft dz ++ Zipper.getRight dz) in case ( ls, rs ) of + ( BinaryOperation Division lsn lsd, BinaryOperation Division rsn rsd ) -> + div (by [ lsn, rsd ]) (by [ lsd, rsn ]) + ( BinaryOperation Division lsn lsd, _ ) -> div lsn <| by [ lsd, rs ] + ( _, BinaryOperation Division rsn rsd ) -> + div (by [ ls, rsd ]) rsn + ( _, Variable "i" ) -> by [ ls, negate_ i ] @@ -787,6 +856,9 @@ stepSimplifyDivision ls rs = else div (Integer <| li // g) (Integer <| ri // g) + ( Float lf, Float rf ) -> + Float <| lf / rf + ( _, AssociativeOperation Addition l m r ) -> let ( reals, immaginaries ) = @@ -874,6 +946,49 @@ stepSimplifyDivision ls rs = else div ls rs + ( UnaryOperation Negate ln, UnaryOperation Negate rn ) -> + div ln rn + + ( UnaryOperation Negate ln, Integer ri ) -> + if ri == -1 then + ln + + else if ri < 0 then + div ln (Integer -ri) + + else + div ls rs + + ( UnaryOperation Negate ln, Float rf ) -> + if rf == -1 then + ln + + else if rf < 0 then + div ln (Float -rf) + + else + div ls rs + + ( _, Integer ri ) -> + if ri == -1 then + negate_ ls + + else if ri < 0 then + div (negate_ ls) (Integer -ri) + + else + div ls rs + + ( _, Float rf ) -> + if rf == -1 then + negate_ ls + + else if rf < 0 then + div (negate_ ls) (Float -rf) + + else + div ls rs + _ -> if Expression.equals ls rs then one @@ -947,6 +1062,15 @@ stepSimplifyPower ls rs = else Integer <| il ^ ir + ( Integer il, Float fr ) -> + Float <| toFloat il ^ fr + + ( Float fl, Integer ir ) -> + Float <| fl ^ toFloat ir + + ( Float fl, Float fr ) -> + Float <| fl ^ fr + ( Integer b, BinaryOperation Division (Integer en) (Integer ed) ) -> if b == 0 then Integer 0 @@ -1057,12 +1181,30 @@ stepSimplifyAssociative context aop args = andThen ls = ls |> groupOneWith groupStep - |> (case aop of - Addition -> - identity - - Multiplication -> - tryExtract findNegate (\( negated, rest ) -> [ negate_ <| build <| negated :: rest ]) + |> (\res -> + case aop of + Addition -> + res + + Multiplication -> + res + |> List.foldr + (\e ( acc, negated ) -> + case e of + UnaryOperation Negate ne -> + ( ne :: acc, not negated ) + + _ -> + ( e :: acc, negated ) + ) + ( [], False ) + |> (\( acc, negated ) -> + if negated then + [ negate_ <| build acc ] + + else + acc + ) ) |> sortByDegree aop |> build @@ -1076,14 +1218,6 @@ stepSimplifyAssociative context aop args = } -tryExtract : (a -> Maybe b) -> (( b, List a ) -> List a) -> List a -> List a -tryExtract f g es = - es - |> extract f - |> Maybe.map g - |> Maybe.withDefault es - - extract : (a -> Maybe b) -> List a -> Maybe ( b, List a ) extract filter ls = let @@ -1117,16 +1251,6 @@ findSpecificVariable j expr = Nothing -findNegate : Expression -> Maybe Expression -findNegate expr = - case expr of - UnaryOperation Negate e -> - Just e - - _ -> - Nothing - - sortByDegree : AssociativeOperation -> List Expression -> List Expression sortByDegree aop ee = let @@ -1144,23 +1268,26 @@ sortByDegree aop ee = ) by f x y = - if aop == Addition then - compare -(f x) -(f y) - - else - compare (f x) (f y) + compare (f x) (f y) in List.foldl (\var -> List.stableSortWith (by <| \e -> - -- "i" doesn't have higher nonsimplified powers, and we want it later - if var == "i" && aop == Addition then - negate <| Maybe.withDefault -1 <| polyDegree var e + let + base = + Maybe.withDefault -1 <| polyDegree var e + + description = + Expression.toString e + in + if (aop /= Addition) || (var == "i") then + -- "i" doesn't have higher nonsimplified powers, and we want it later + ( base, description ) else - Maybe.withDefault -1 <| polyDegree var e + ( negate base, description ) ) ) ee @@ -1181,6 +1308,15 @@ stepSimplifyAddition left right = ( Integer il, Integer ir ) -> Just <| Integer <| il + ir + ( Integer il, Float fr ) -> + Just <| Float <| toFloat il + fr + + ( Float fl, Integer ir ) -> + Just <| Float <| fl + toFloat ir + + ( Float fl, Float fr ) -> + Just <| Float <| fl + fr + ( _, AssociativeOperation Multiplication (Integer c) mon [] ) -> if Expression.equals left mon then Just <| by [ Integer (c + 1), mon ] @@ -1200,6 +1336,12 @@ stepSimplifyAddition left right = (plus [ by [ negate_ ln, rd ], by [ rn, ld ] ]) (by [ ld, rd ]) + ( UnaryOperation Negate (BinaryOperation Division ln ld), _ ) -> + Just <| + div + (plus [ negate_ ln, by [ right, ld ] ]) + ld + ( UnaryOperation Negate nl, _ ) -> if Expression.equals nl right then Just zero @@ -1237,6 +1379,22 @@ stepSimplifyAddition left right = ( List _, List _ ) -> addMatrices left right + ( BinaryOperation Power (Apply (KnownFunction lf) [ la ]) le, BinaryOperation Power (Apply (KnownFunction rf) [ ra ]) re ) -> + let + isTwo x = + x == Integer 2 || x == Float 2 + in + if + ((lf == Sin && rf == Cos) || (lf == Cos && rf == Sin)) + && isTwo le + && isTwo re + && Expression.equals la ra + then + Just one + + else + Nothing + _ -> if Expression.equals left right then Just <| by [ two, right ] @@ -1280,40 +1438,6 @@ asList l = stepSimplifyMultiplication : Expression -> Expression -> Maybe Expression stepSimplifyMultiplication left right = let - go = - case ( left, right ) of - ( Integer 1, l ) -> - Just l - - ( c, Integer 1 ) -> - Just c - - ( _, Integer 0 ) -> - Just <| Integer 0 - - ( Integer 0, _ ) -> - Just <| Integer 0 - - ( Integer il, Integer ir ) -> - Just <| Integer <| il * ir - - ( Integer j, _ ) -> - if j == -1 then - Just <| negate_ right - - else - go1 () - - ( _, Integer k ) -> - if k == -1 then - Just <| negate_ left - - else - go1 () - - _ -> - go1 () - go1 () = case ( left, right ) of ( AssociativeOperation Addition l m r, _ ) -> @@ -1390,7 +1514,47 @@ stepSimplifyMultiplication left right = else Nothing in - go + case ( left, right ) of + ( Integer 1, l ) -> + Just l + + ( c, Integer 1 ) -> + Just c + + ( _, Integer 0 ) -> + Just <| Integer 0 + + ( Integer 0, _ ) -> + Just <| Integer 0 + + ( Integer il, Integer ir ) -> + Just <| Integer <| il * ir + + ( Integer il, Float fr ) -> + Just <| Float <| toFloat il * fr + + ( Float fl, Integer ir ) -> + Just <| Float <| fl * toFloat ir + + ( Float fl, Float fr ) -> + Just <| Float <| fl * fr + + ( Integer j, _ ) -> + if j == -1 then + Just <| negate_ right + + else + go1 () + + ( _, Integer k ) -> + if k == -1 then + Just <| negate_ left + + else + go1 () + + _ -> + go1 () addMatrices : Expression -> Expression -> Maybe Expression @@ -1414,68 +1578,52 @@ multiplyMatrices = polyDegree : String -> Expression -> Maybe Int polyDegree var expr = - let - res = - case expr of - Integer _ -> - Just 0 - - UnaryOperation Negate e -> - polyDegree var e - - BinaryOperation Division l r -> - Maybe.map2 (-) (polyDegree var l) (polyDegree var r) - - BinaryOperation Power base (Integer i) -> - Maybe.map ((*) i) <| polyDegree var base + case expr of + Integer _ -> + Just 0 - BinaryOperation Power _ _ -> - Nothing + UnaryOperation Negate e -> + polyDegree var e - RelationOperation LessThan _ _ -> - Nothing + BinaryOperation Division l r -> + Maybe.map2 (-) (polyDegree var l) (polyDegree var r) - RelationOperation LessThanOrEquals _ _ -> - Nothing + BinaryOperation Power base (Integer i) -> + Maybe.map ((*) i) <| polyDegree var base - RelationOperation Equals _ _ -> - Nothing - - RelationOperation GreaterThan _ _ -> - Nothing + BinaryOperation Power _ _ -> + Nothing - RelationOperation GreaterThanOrEquals _ _ -> - Nothing + RelationOperation _ _ _ -> + Nothing - AssociativeOperation Addition l r o -> - Maybe.andThen List.maximum <| Maybe.traverse (polyDegree var) (l :: r :: o) + AssociativeOperation Addition l r o -> + Maybe.andThen List.maximum <| Maybe.traverse (polyDegree var) (l :: r :: o) - AssociativeOperation Multiplication l r o -> - Maybe.map List.sum <| Maybe.traverse (polyDegree var) (l :: r :: o) + AssociativeOperation Multiplication l r o -> + Maybe.map List.sum <| Maybe.traverse (polyDegree var) (l :: r :: o) - Variable v -> - if v == var then - Just 1 + Variable v -> + if v == var then + Just 1 - else - Just 0 + else + Just 0 - Float _ -> - Just 0 + Float _ -> + Just 0 - Apply _ _ -> - Nothing + Apply _ _ -> + Nothing - Replace _ _ -> - Nothing + Replace _ _ -> + Nothing - List _ -> - Nothing + List _ -> + Nothing - Lambda _ _ -> - Nothing - in - res + Lambda _ _ -> + Nothing hoistLambda : Expression -> Expression @@ -1526,9 +1674,6 @@ innerHoistLabmda expr = ( KnownFunction Plot, _ ) -> Nothing - ( KnownFunction APlot, _ ) -> - Nothing - ( _, [ Lambda x f ] ) -> Just <| Lambda x <| hoistLambda <| Apply fn [ f ] diff --git a/src/elm/Expression/Utils.elm b/src/elm/Expression/Utils.elm index 8771195c..5f8090d6 100644 --- a/src/elm/Expression/Utils.elm +++ b/src/elm/Expression/Utils.elm @@ -1,4 +1,4 @@ -module Expression.Utils exposing (a, abs_, asin_, atan2_, b, by, byShort, c, cbrt, complex, cos_, cosh_, d, dd, det, determinant, div, divShort, double, e, exp, f, factor, g, gra_, h, i, icomplex, ii, im, ipow, ipowShort, isOne, isZero, j, k, l, ln_, log10_, m, minus, minusOne, n, negateShort, negate_, o, one, p, plus, plusShort, pow, q, r, re, runForLoop, s, sign, sin_, sinh_, sqrt_, square, squash, t, tan_, triple, two, u, v, vector, w, x, y, z, zero) +module Expression.Utils exposing (a, abs_, asin_, atan2_, b, by, byShort, c, cbrt, complex, cos_, cosh_, d, dd, det, determinant, div, divShort, double, e, exp, f, factor, five, four, g, gra_, h, i, icomplex, ii, im, ipow, ipowShort, isOne, isZero, j, k, l, ln_, log10_, m, minus, minusOne, n, negateShort, negate_, o, one, p, plus, plusShort, pow, q, r, re, runForLoop, s, sign, sin_, sinh_, six, sqrt_, square, squash, t, tan_, three, triple, two, u, v, vector, w, x, y, z, zero) import Dict import Expression exposing (AssociativeOperation(..), BinaryOperation(..), Expression(..), FunctionName(..), KnownFunction(..), UnaryOperation(..), genericAsSquareMatrix, genericDeterminant, visit) @@ -24,6 +24,26 @@ two = Integer 2 +three : Expression +three = + Integer 3 + + +four : Expression +four = + Integer 4 + + +five : Expression +five = + Integer 5 + + +six : Expression +six = + Integer 6 + + minusOne : Expression minusOne = Integer -1 @@ -224,12 +244,12 @@ ipow base exponent = cbrt : Expression -> Expression cbrt = - unaryFunc (Root 3) + unaryFunc Cbrt sqrt_ : Expression -> Expression sqrt_ = - unaryFunc (Root 2) + unaryFunc Sqrt re : Expression -> Expression diff --git a/src/elm/Expression/Value.elm b/src/elm/Expression/Value.elm index ec1a92f7..7d67df66 100644 --- a/src/elm/Expression/Value.elm +++ b/src/elm/Expression/Value.elm @@ -15,7 +15,7 @@ type Value | SolutionTreeValue SolutionTree | SymbolicValue Expression | ComplexValue Complex - | GraphValue { axes : Bool, graph : Graph } + | GraphValue Graph | LambdaValue String Value | ListValue (List Value) @@ -237,8 +237,8 @@ applyValue context name args = KnownFunction Floor -> unaryFunctionValue context args Floor Complex.floor - KnownFunction Ceiling -> - unaryFunctionValue context args Ceiling Complex.ceiling + KnownFunction Ceil -> + unaryFunctionValue context args Ceil Complex.ceil KnownFunction Round -> unaryFunctionValue context args Round Complex.round @@ -252,11 +252,11 @@ applyValue context name args = KnownFunction Atan2 -> binaryFunctionValue context args Atan2 Complex.atan2 - KnownFunction (Root 2) -> - unaryFunctionValue context args (Root 2) Complex.sqrt + KnownFunction Sqrt -> + unaryFunctionValue context args Sqrt Complex.sqrt - KnownFunction (Root n) -> - unaryFunctionValue context args (Root n) (\v -> Complex.power v (Complex.fromReal <| 1.0 / toFloat n)) + KnownFunction Cbrt -> + unaryFunctionValue context args Cbrt (\v -> Complex.power v (Complex.fromReal <| 1.0 / 3.0)) KnownFunction Ln -> unaryFunctionValue context args Ln Complex.ln @@ -293,7 +293,7 @@ applyValue context name args = KnownFunction Exp -> unaryFunctionValue context args Exp Complex.exp - KnownFunction Pw -> + KnownFunction Piecewise -> case args of [ c, t, f ] -> case innerValue context c of @@ -309,10 +309,10 @@ applyValue context name args = ErrorValue e SymbolicValue s -> - SymbolicValue <| Apply (KnownFunction Pw) [ s, t, f ] + SymbolicValue <| Apply (KnownFunction Piecewise) [ s, t, f ] _ -> - SymbolicValue <| Apply (KnownFunction Pw) args + SymbolicValue <| Apply (KnownFunction Piecewise) args _ -> unexpectedArgCount (Just "pw") [ 3 ] @@ -345,25 +345,11 @@ applyValue context name args = KnownFunction Plot -> case args of [ e ] -> - GraphValue - { axes = True - , graph = Expression.Graph.fromExpression <| toExpression <| value Dict.empty e - } + GraphValue <| Expression.Graph.fromExpression <| toExpression <| value Dict.empty e _ -> unexpectedArgCount (Just "plot") [ 1 ] - KnownFunction APlot -> - case args of - [ e ] -> - GraphValue - { axes = False - , graph = Expression.Graph.fromExpression <| toExpression <| value Dict.empty e - } - - _ -> - unexpectedArgCount (Just "aplot") [ 1 ] - KnownFunction For -> case Utils.runForLoop args of Just values -> @@ -388,10 +374,6 @@ applyValue context name args = --TODO SymbolicValue <| Apply name args - UserFunction _ -> - --TODO - SymbolicValue <| Apply name args - unexpectedArgCount : Maybe String -> List Int -> Value unexpectedArgCount maybeName count = @@ -602,17 +584,9 @@ toString v = GraphValue g -> { en = - if g.axes then - "Graph: " ++ Expression.Graph.toString g.graph - - else - "Graph without axes: " ++ Expression.Graph.toString g.graph + "Graph: " ++ Expression.Graph.toString g , it = - if g.axes then - "Grafico: " ++ Expression.Graph.toString g.graph - - else - "Grafico senza assi: " ++ Expression.Graph.toString g.graph + "Grafico: " ++ Expression.Graph.toString g } LambdaValue x f -> @@ -645,6 +619,9 @@ relationValue o ((Complex lv _) as lc) ((Complex rv _) as rc) = Equals -> Complex.minus lc rc + NotEquals -> + toComplex <| lc /= rc + GreaterThanOrEquals -> toComplex <| lv >= rv @@ -850,15 +827,8 @@ toExpression v = ListValue l -> List <| List.map toExpression l - GraphValue { graph, axes } -> - Apply - (KnownFunction <| - if axes then - Plot - - else - APlot - ) + GraphValue graph -> + Apply (KnownFunction Plot) [ Expression.Graph.toExpression graph ] ErrorValue _ -> diff --git a/src/elm/UI.elm b/src/elm/UI.elm index 472853b0..ca5087c6 100644 --- a/src/elm/UI.elm +++ b/src/elm/UI.elm @@ -220,11 +220,9 @@ init ({ saved, hasClipboard, hasFullscreen, languages } as flags) url key = , isFullscreen = False , language = languages - |> List.map parseLanguage - |> List.filterMap identity + |> List.filterMap parseLanguage |> List.head |> Maybe.withDefault En - , expandIntervals = False , rayDifferentials = True -- The other classes have faster processors so should update quicker @@ -523,23 +521,6 @@ dropdown model = btn (Language lang) [] <| L10N.invariant flag - expandIntervalsButton expandIntervals = - if expandIntervals then - btn (ToggleExpandIntervals False) - [ Element.element <| Icons.funnelPlotOutlined Theme.darkIconAttrs - , bigStop - ] - { en = "Do not apply noise reduction" - , it = "Non applicare riduzione rumore" - } - - else - simpleBtn (ToggleExpandIntervals True) - Icons.funnelPlotOutlined - { en = "Apply noise reduction" - , it = "Applica riduzione rumore" - } - rayDifferentialsButton rayDifferentials = if rayDifferentials then btn (ToggleRayDifferentials False) @@ -589,7 +570,6 @@ dropdown model = Icons.saveOutlined { en = "Save", it = "Salva" } ) - , Just <| Element.with .expandIntervals expandIntervalsButton , Just <| Element.with .rayDifferentials rayDifferentialsButton {- , sid @@ -1116,13 +1096,6 @@ update msg = in ( { model | context = { context | language = language } }, Cmd.none ) - ToggleExpandIntervals expandIntervals -> - let - context = - model.context - in - ( { model | context = { context | expandIntervals = expandIntervals } }, Cmd.none ) - ToggleRayDifferentials rayDifferentials -> let context = diff --git a/src/elm/UI/Glsl.elm b/src/elm/UI/Glsl.elm index bbd1dba8..7938171f 100644 --- a/src/elm/UI/Glsl.elm +++ b/src/elm/UI/Glsl.elm @@ -1,194 +1,139 @@ module UI.Glsl exposing (getGlsl) import Dict -import Expression exposing (AssociativeOperation(..), BinaryOperation(..), Expression(..), FunctionName(..), KnownFunction(..), RelationOperation(..)) +import Expression exposing (Expression(..), RelationOperation(..)) import Expression.Graph exposing (Graph(..)) import Expression.Polynomial exposing (asPolynomial) -import Expression.Utils exposing (by, cbrt, div, ipow, minus, one, plus, sqrt_, square) +import Expression.Utils exposing (by, minus, plus) +import Glsl exposing (BisectSignature, ExprWithDeps) +import Glsl.Generator as Generator import Maybe.Extra as Maybe -import SortedAnySet as Set -import UI.Glsl.Code exposing (constantToGlsl, deindent, intervalFunctionToGlsl, intervalOperationToGlsl, mainGlsl, straightFunctionToGlsl, straightOperationToGlsl, toSrc3D, toSrcContour, toSrcImplicit, toSrcParametric, toSrcPolar, toSrcRelation, toSrcVectorField2D) -import UI.Glsl.Generator as Generator exposing (floatT, uniform, unknownTypedName, vec2T) -import UI.Glsl.Model exposing (GlslConstant(..), GlslFunction(..), GlslOperation(..)) +import UI.Glsl.Code exposing (mainGlsl, toSrcVectorField2D) import UI.Glsl.Plane as Plane import UI.Glsl.Polynomial import UI.Glsl.Sphere as Sphere -getGlsl : Bool -> Bool -> Graph -> String -getGlsl expandIntervals rayDifferentials graph = +getGlsl : Bool -> Graph -> String +getGlsl rayDifferentials graph = let - uniforms = - { u_canvasWidth = uniform floatT "u_canvasWidth" - , u_canvasHeight = uniform floatT "u_canvasHeight" - , u_viewportWidth = uniform floatT "u_viewportWidth" - , u_viewportHeight = uniform floatT "u_viewportHeight" - , u_zoomCenter = uniform vec2T "u_zoomCenter" - , u_drawAxes = uniform floatT "u_drawAxes" - } - - { expr, srcExpr, interval, usesThetaDelta, pixel2D, pixel3D } = + { expr, funDecls, usesThetaDelta, pixel2D, pixel3D } = extract "" graph - build2d toSrc prefix e = - { expr = e - , srcExpr = toSrc prefix e - , interval = StraightOnly + build2d : + (Expression -> ExprWithDeps) + -> Expression + -> + { expr : ExprWithDeps + , funDecls : a + , usesThetaDelta : Bool + , pixel2D : List { call : b, color : Bool } + , pixel3D : List c + } + build2d toSrc e = + { expr = toSrc e , usesThetaDelta = False - , pixel2D = [ { name = "pixel" ++ prefix, color = True } ] + , pixel2D = [ { call = call, color = True } ] , pixel3D = [] } - extract prefix g = + extract : String -> Graph -> { pixel2D : List { call : String, color : Bool }, pixel3D : List a } + extract suffix g = case g of Explicit2D c -> - build2d toSrcImplicit prefix <| - minus Expression.Utils.y c + -- build2d (toSrcImplicit suffix) <| + -- minus Expression.Utils.y c + Debug.todo "Explicit2D" Implicit2D l r -> - build2d toSrcImplicit prefix <| - minus l r + -- build2d (toSrcImplicit suffix) <| + -- minus l r + Debug.todo "Implicit2D" Polar2D e -> - build2d toSrcPolar prefix e + -- build2d (toSrcPolar suffix) e + Debug.todo "Polar2D" Parametric2D x y -> - let - e = - plus - [ square (minus (Variable "x") x) - , square (minus (Variable "y") y) - ] - in - { expr = e - , srcExpr = toSrcParametric expandIntervals prefix e - , interval = IntervalOnly - , usesThetaDelta = False - , pixel2D = [ { name = "pixel" ++ prefix, color = True } ] - , pixel3D = [] - } + -- { pixel2D = + -- [ { call = toSrcParametric suffix e + -- , color = True + -- } + -- ] + -- , pixel3D = [] + -- } + Debug.todo "Parametric2D" Relation2D e -> - build2d toSrcRelation prefix e + -- build2d (toSrcRelation suffix) e + Debug.todo "Relation2D" Contour e -> - { expr = e - , srcExpr = toSrcContour prefix e - , interval = StraightOnly - , usesThetaDelta = True - , pixel2D = [ { name = "pixel" ++ prefix, color = False } ] - , pixel3D = [] - } + -- { pixel2D = [ { call = toSrcContour suffix e, color = False } ] + -- , pixel3D = [] + -- } + Debug.todo "Countour" Implicit3D e -> - let - f = - get3DSource expandIntervals prefix e - in - { expr = f.expr - , srcExpr = f.srcExpr - , interval = IntervalAndStraight - , usesThetaDelta = True - , pixel2D = [] - , pixel3D = [ prefix ] - } + -- let + -- f = + -- get3DSource suffix e + -- in + -- { expr = f.expr + -- , pixel2D = [] + -- , pixel3D = [ f.bisect ] + -- } + Debug.todo "Implicit3D" GraphList children -> let - prefix_ i = - prefix ++ "_" ++ String.fromInt i + suffix_ i = + suffix ++ "_" ++ String.fromInt i extracted = - List.indexedMap (extract << prefix_) children + List.indexedMap (extract << suffix_) children in - { expr = List <| List.map .expr extracted - , srcExpr = String.join "\n" (List.map .srcExpr extracted) - , interval = - if List.any (\c -> c.interval /= StraightOnly) extracted then - IntervalAndStraight - - else - StraightOnly - , usesThetaDelta = List.any .usesThetaDelta extracted - , pixel2D = List.concatMap .pixel2D extracted + { pixel2D = List.concatMap .pixel2D extracted , pixel3D = List.concatMap .pixel3D extracted } VectorField2D x y -> - { expr = Apply (KnownFunction Arg) [ x, y ] - , srcExpr = toSrcVectorField2D prefix x y - , interval = StraightOnly - , usesThetaDelta = True - , pixel2D = [ { name = "pixel" ++ prefix, color = False } ] + { pixel2D = [ { call = toSrcVectorField2D suffix x y, color = False } ] , pixel3D = [] } - thetaDeltaCode = - if usesThetaDelta then - deindent 4 <| UI.Glsl.Code.thetaDelta - - else - "" - reqs = - expr - |> expressionToRequirements - |> transitiveClosure - |> List.sortWith requirementSort - |> List.map (requirementToGlsl interval) - |> String.join "\n" + expr.deps in - thetaDeltaCode - ++ reqs + reqs ++ "\n/* Expression */\n" - ++ deindent 4 srcExpr - ++ mainGlsl - uniforms - rayDifferentials - (List.map - (\p -> - { name = unknownTypedName p.name - , color = p.color - } - ) - pixel2D - ) - pixel3D + ++ Generator.fileToGlsl funDecls + ++ mainGlsl rayDifferentials pixel2D pixel3D -get3DSource : Bool -> String -> Expression -> { expr : Expression, srcExpr : String } -get3DSource expandIntervals prefix e = - case Sphere.asSphere e |> Maybe.map (Sphere.toGlsl prefix) of - Just glsl -> - { expr = e - , srcExpr = glsl - } +get3DSource : String -> Expression -> BisectSignature +get3DSource suffix e = + case Sphere.asSphere e |> Maybe.map (Sphere.toGlsl suffix) of + Just bisect -> + bisect Nothing -> - case Plane.asPlane e |> Maybe.map (Plane.toGlsl prefix) of - Just glsl -> - { expr = e - , srcExpr = glsl - } + case Plane.asPlane e |> Maybe.map (Plane.toGlsl suffix) of + Just bisect -> + bisect Nothing -> - case tryGlslFromPolynomial prefix e of + case tryGlslFromPolynomial suffix e of Just o -> o Nothing -> - let - glsl = - toSrc3D expandIntervals prefix e - |> Generator.fileToGlsl - in - { expr = e - , srcExpr = glsl ++ UI.Glsl.Code.suffixToBisect prefix - } + -- UI.Glsl.Code.suffixToBisect (toSrc3D suffix e) suffix + Debug.todo "" -tryGlslFromPolynomial : String -> Expression -> Maybe { expr : Expression, srcExpr : String } -tryGlslFromPolynomial prefix e = +tryGlslFromPolynomial : String -> Expression -> Maybe BisectSignature +tryGlslFromPolynomial suffix e = let t = Variable "t" @@ -234,466 +179,5 @@ tryGlslFromPolynomial prefix e = ) |> Maybe.map Dict.fromList |> Maybe.withDefault Dict.empty - - fromSols sols = - let - checks = - sols - |> List.foldl - (\( k, v ) ( known, lines ) -> - let - ( decl, drop ) = - if List.member k known then - ( "", 0 ) - - else if String.startsWith "!" k then - ( "float ", 1 ) - - else - ( "vec2 ", 0 ) - - newLine = - decl ++ String.dropLeft drop k ++ " = " ++ v ++ ";" - in - ( k :: known, newLine :: lines ) - ) - ( [ "t" ], [] ) - |> Tuple.second - |> List.reverse - |> String.join "\n " - - srcExpr = - """ - bool bisect""" ++ prefix ++ """(vec3 o, mat3 d, float max_distance, out vec3 found) { - float t = max_distance * 2.0; - """ ++ checks ++ """ - found = o + t * mix(d[0], d[1], 0.5); - return t < max_distance && t > 0.0; - } - """ - in - { expr = div one <| sqrt_ <| cbrt <| ipow e 3 - , srcExpr = deindent 16 srcExpr - } - in - UI.Glsl.Polynomial.getSolutions poly |> Maybe.map (\( _, sols ) -> fromSols sols) - - -transitiveClosure : List Requirement -> List Requirement -transitiveClosure = - let - go set ls = - case ls of - [] -> - Set.toList set - - x :: xs -> - if Set.member x set then - go set xs - - else - let - deps = - dependenciesOf x - in - if List.all (\d -> Set.member d set) deps then - go (Set.insert x set) xs - - else - go set (deps ++ ls) - in - go Set.empty - - -requirementSort : Requirement -> Requirement -> Order -requirementSort l r = - if l |> dependsOn r then - GT - - else if r |> dependsOn l then - LT - - else - EQ - - -dependsOn : Requirement -> Requirement -> Bool -dependsOn r l = - let - d = - dependenciesOf l in - List.member r d || List.any (dependsOn r) d - - -type Requirement - = RequireFunction GlslFunction - | RequireConstant GlslConstant - | RequireOperation GlslOperation - - -type RequiresInterval - = IntervalOnly - | StraightOnly - | IntervalAndStraight - - -requirementToGlsl : RequiresInterval -> Requirement -> String -requirementToGlsl i r = - case r of - RequireFunction f -> - functionToGlsl i f - - RequireConstant c -> - constantToGlsl c |> Generator.funDeclToGlsl - - RequireOperation o -> - operationToGlsl i o - - -expressionToRequirements : Expression -> List Requirement -expressionToRequirements e = - case e of - Apply (KnownFunction n) args -> - case toGlslFunction n of - Just gf -> - RequireFunction gf :: List.concatMap expressionToRequirements args - - Nothing -> - List.concatMap expressionToRequirements args - - Apply (UserFunction _) args -> - List.concatMap expressionToRequirements args - - Integer _ -> - [] - - Float _ -> - [] - - Variable _ -> - [] - - UnaryOperation _ c -> - RequireOperation GlslNegation :: expressionToRequirements c - - BinaryOperation Power (Variable v) (Integer _) -> - if v == "i" then - [ RequireOperation GlslPower ] - - else - [ RequireOperation GlslPower, RequireOperation GlslMultiplication, RequireFunction Square22 ] - - BinaryOperation Power b (Integer _) -> - [ RequireOperation GlslPower, RequireOperation GlslMultiplication, RequireFunction Square22 ] ++ expressionToRequirements b - - BinaryOperation Power b (Float _) -> - [ RequireOperation GlslPower, RequireOperation GlslMultiplication, RequireFunction Square22 ] ++ expressionToRequirements b - - BinaryOperation op l r -> - let - op_ = - case op of - Power -> - GlslPower - - Division -> - GlslDivision - in - RequireOperation op_ :: List.concatMap expressionToRequirements [ l, r ] - - RelationOperation _ l r -> - RequireOperation GlslRelations :: List.concatMap expressionToRequirements [ l, r ] - - AssociativeOperation op l m r -> - let - op_ = - case op of - Addition -> - GlslAddition - - Multiplication -> - GlslMultiplication - in - RequireOperation op_ :: List.concatMap expressionToRequirements (l :: m :: r) - - Replace ctx c -> - List.concatMap expressionToRequirements <| c :: List.filterMap identity (Dict.values ctx) - - List args -> - List.concatMap expressionToRequirements args - - Lambda _ f -> - expressionToRequirements f - - -toGlslFunction : KnownFunction -> Maybe GlslFunction -toGlslFunction name = - case name of - Sin -> - Just Sin22 - - Cos -> - Just Cos22 - - Tan -> - Just Tan22 - - Asin -> - Just Asin22 - - Acos -> - Just Acos22 - - Atan -> - Just Atan22 - - Atan2 -> - Just Atan222 - - Sinh -> - Just Sinh22 - - Cosh -> - Just Cosh22 - - Tanh -> - Just Tanh22 - - Abs -> - Just Abs22 - - Sign -> - Just Sign22 - - Root 2 -> - Just Sqrt22 - - Root 3 -> - Just Cbrt22 - - Root _ -> - Nothing - - Ln -> - Just Ln22 - - Log10 -> - Just Log1022 - - Exp -> - Just Exp22 - - Re -> - Just Re22 - - Im -> - Just Im22 - - Arg -> - Just Arg22 - - Gra -> - Nothing - - Pw -> - Just Pw22 - - Floor -> - Just Floor22 - - Ceiling -> - Just Ceiling22 - - Round -> - Just Round22 - - Min -> - Just Min222 - - Max -> - Just Max222 - - Mod -> - Just Mod22 - - Det -> - Nothing - - Dd -> - Nothing - - Ii -> - Nothing - - Plot -> - Nothing - - APlot -> - Nothing - - Simplify -> - Nothing - - StepSimplify -> - Nothing - - Solve -> - Nothing - - Mbrot -> - Just Mbrot22 - - For -> - Nothing - - -dependenciesOf : Requirement -> List Requirement -dependenciesOf req = - case req of - RequireFunction Sin22 -> - List.map RequireFunction [ Sinh11, Cosh11 ] - - RequireFunction Cos22 -> - List.map RequireFunction [ Sin22, Sinh11, Cosh11 ] - - RequireFunction Tan22 -> - RequireOperation GlslDivision :: List.map RequireFunction [ Sin22, Cos22 ] - - RequireFunction Asin22 -> - RequireOperation GlslMultiplication :: List.map RequireFunction [ Sqrt22, Ln22 ] - - RequireFunction Acos22 -> - [ RequireConstant Pi, RequireFunction Asin22 ] - - RequireFunction Atan22 -> - [ RequireConstant I, RequireOperation GlslMultiplication, RequireOperation GlslDivision, RequireFunction Ln22 ] - - RequireFunction Atan222 -> - [ RequireFunction Atan22, RequireOperation GlslMultiplication, RequireFunction Sign22 ] - - RequireFunction Sinh22 -> - [ RequireFunction Exp22, RequireFunction Sinh11 ] - - RequireFunction Cosh22 -> - [ RequireFunction Exp22 ] - - RequireFunction Tanh22 -> - [ RequireFunction Cosh11, RequireFunction Tanh11, RequireFunction Exp22, RequireOperation GlslDivision ] - - RequireFunction Abs22 -> - [] - - RequireFunction Sign22 -> - [] - - RequireFunction Sqrt22 -> - [] - - RequireFunction Cbrt22 -> - [ RequireOperation GlslPower ] - - RequireFunction Square22 -> - [] - - RequireFunction Min222 -> - [] - - RequireFunction Max222 -> - [] - - RequireFunction Mod22 -> - [ RequireOperation GlslDivision, RequireOperation GlslMultiplication, RequireFunction Floor22, RequireOperation GlslNegation ] - - RequireFunction Ln22 -> - [] - - RequireFunction Log1022 -> - [ RequireFunction Ln22, RequireOperation GlslDivision ] - - RequireFunction Exp22 -> - [] - - RequireFunction Re22 -> - [] - - RequireFunction Im22 -> - [] - - RequireFunction Arg22 -> - [] - - RequireFunction Pw22 -> - [] - - RequireFunction Sinh11 -> - [] - - RequireFunction Cosh11 -> - [] - - RequireFunction Tanh11 -> - [] - - RequireFunction Ceiling22 -> - [] - - RequireFunction Floor22 -> - [] - - RequireFunction Round22 -> - [] - - RequireFunction Mbrot22 -> - [ RequireOperation GlslMultiplication ] - - RequireOperation GlslPower -> - RequireOperation GlslMultiplication :: List.map RequireFunction [ Exp22, Ln22 ] - - RequireOperation GlslAddition -> - [] - - RequireOperation GlslMultiplication -> - [] - - RequireOperation GlslDivision -> - [ RequireOperation GlslMultiplication ] - - RequireOperation GlslNegation -> - [] - - RequireOperation GlslRelations -> - [] - - RequireConstant _ -> - [] - - -operationToGlsl : RequiresInterval -> GlslOperation -> String -operationToGlsl interval op = - case interval of - StraightOnly -> - Generator.fileToGlsl <| straightOperationToGlsl op - - IntervalOnly -> - deindent 12 <| intervalOperationToGlsl op - - IntervalAndStraight -> - (Generator.fileToGlsl <| straightOperationToGlsl op) - ++ "\n" - ++ deindent 12 (intervalOperationToGlsl op) - - -functionToGlsl : RequiresInterval -> GlslFunction -> String -functionToGlsl interval name = - case interval of - StraightOnly -> - Generator.fileToGlsl <| straightFunctionToGlsl name - - IntervalOnly -> - deindent 12 <| intervalFunctionToGlsl name - - IntervalAndStraight -> - Generator.fileToGlsl (straightFunctionToGlsl name) - ++ "\n" - ++ deindent 12 (intervalFunctionToGlsl name) + UI.Glsl.Polynomial.glslFromPolySolutions suffix (Glsl.var "max_distance") poly diff --git a/src/elm/UI/Glsl/Code.elm b/src/elm/UI/Glsl/Code.elm index 969faf0e..1535977b 100644 --- a/src/elm/UI/Glsl/Code.elm +++ b/src/elm/UI/Glsl/Code.elm @@ -1,1945 +1,944 @@ -module UI.Glsl.Code exposing (Uniforms, constantToGlsl, deindent, expressionToGlsl, intervalFunctionToGlsl, intervalOperationToGlsl, mainGlsl, straightFunctionToGlsl, straightOperationToGlsl, suffixToBisect, thetaDelta, threshold, toSrc3D, toSrcContour, toSrcImplicit, toSrcParametric, toSrcPolar, toSrcRelation, toSrcVectorField2D) +module UI.Glsl.Code exposing (expressionToGlsl, expressionToGlslComplex, mainGlsl, threshold, toSrc3D, toSrcContour, toSrcImplicit, toSrcParametric, toSrcPolar, toSrcRelation, toSrcVectorField2D, toThreshold) -import Dict -import Expression exposing (FunctionName(..), KnownFunction(..), PrintExpression(..), toPrintExpression) -import UI.Glsl.Generator as Generator exposing (Expression, File, FunDecl, Statement, TypedName, Vec2, Vec3, Vec4, abs_, add, ands, arr, assign, by, byF, call0, call1, call2, call4, ceil_, decl, def, div, dot2, dotted2, dotted3, dotted4, eq, exp, float, floatT, floatToGlsl, fun0, fun1, fun2, fun3, geq, gl_FragColor, gl_FragCoord, gt, if_, int, log, lt, mat3T, max_, min_, mod, negate_, normalize, one, pow, radians_, return, sign, subtract, ternary, unknown, unknownFunDecl, unknownTypedName, unsafeCall, vec2, vec2T, vec2Zero, vec3, vec3T, vec3Zero, vec4, vec4T, vec4Zero, vec4_3_1, voidT, zero) -import UI.Glsl.Model exposing (GlslConstant(..), GlslFunction(..), GlslOperation(..)) +import Expression exposing (Function1(..), Function2(..), Function3(..), RelationOperation(..), TGApply(..), ToGlslExpression(..)) +import Glsl exposing (Expr, Expression, Vec2, Vec3, Vec4, dot2X, dot2Y, dot4XY, float1, unsafeTypecast, var) +import Glsl.Functions exposing (abs2, abs3, abs4, axis111, cabs2, cacos2, carg2, casin2, catan2, catan222, cby22, ccbrt2, cceil2, ccos2, ccosh2, cdiv22, cexp2, cfloor2, cim2, cln2, clog102, cmax22, cmbrot22, cmin22, cmod22, cos1, cpow22, cpw222, cre2, cross33, cround2, csign2, csin2, csinh2, csqrt2, ctan2, ctanh2, dup1, exp1, fwidth3, gby44, gdiv44, gneg4, gnum1, gpow41, gpow44, gsquare4, hl2rgb11, iabs2, iacos2, iarg2, iasin2, iatan2, iby22, icbrt2, iceil2, icos2, icosh2, idiv22, ieq22, iexp2, iexpand2, ifloor2, igeq22, igt22, iim2, ileq22, iln2, ilog102, ilt22, ineg2, ineq22, ipow21, ipow22, ire2, iround2, isign2, isin2, isinh2, isqrt2, isquare2, itan2, itanh2, mat3333, max11, max33, max44, normalize3, pow11, radians1, sin1, u_canvasHeight, u_canvasWidth, u_drawAxes, u_phi, u_theta, u_viewportWidth, u_zoomCenter, vec211, vec3111, vec41111, vec431) +import Glsl.Generator as Generator exposing (adds3, assign, decl, def, expr, float, fun0, gl_FragColor, gl_FragCoord, main_, mat3, one, return, ternary3, vec2, vec2T, vec2Zero, vec3, vec3T, vec3Zero, vec4T, vec4Zero, zero) +import Glsl.Operations exposing (add11, add22, add33, add44, by11, by12, by13, by22, by33, div11, div22, eq, lt, negate1, negate2, subtract11, subtract22, subtract33, subtract44) +import Glsl.PrettyPrinter -type alias Uniforms = - { u_canvasWidth : Expression Float - , u_canvasHeight : Expression Float - , u_viewportWidth : Expression Float - , u_viewportHeight : Expression Float - , u_drawAxes : Expression Float - , u_zoomCenter : Expression Vec2 - } - - -constantToGlsl : GlslConstant -> FunDecl -constantToGlsl c = - case c of - I -> - fun0 vec2T "i" <| - [ return <| vec2 zero one ] - - Pi -> - fun0 vec2T "pi" <| - [ return <| vec2 (radians_ <| float 180) zero ] - - E -> - fun0 vec2T "e" <| - [ return <| vec2 (exp one) zero ] - - -by2Tuple : ( FunDecl, Expression Vec2 -> Expression Vec2 -> Expression Vec2 ) -by2Tuple = - fun2 vec2T "by" (vec2T "a") (vec2T "b") <| - \a b -> - let - da = - dotted2 a - - db = - dotted2 b - in - [ return <| - vec2 - (subtract - (by da.x db.x) - (by da.y db.y) - ) - (add - (by da.x db.y) - (by da.y db.x) - ) - ] - - -by2Decl : FunDecl -by2Decl = - Tuple.first by2Tuple - - -by2 : Expression Vec2 -> Expression Vec2 -> Expression Vec2 -by2 = - Tuple.second by2Tuple - - -by3Tuple : ( FunDecl, Expression Vec2 -> Expression Vec2 -> Expression Vec2 -> Expression Vec2 ) -by3Tuple = - fun3 vec2T "by" (vec2T "a") (vec2T "b") (vec2T "c") <| - \a b c -> - [ return <| by2 (by2 a b) c ] - - -by3Decl : FunDecl -by3Decl = - Tuple.first by3Tuple - - -by3 : Expression Vec2 -> Expression Vec2 -> Expression Vec2 -> Expression Vec2 -by3 = - Tuple.second by3Tuple - - -div2Tuple : ( FunDecl, Expression Vec2 -> Expression Vec2 -> Expression Vec2 ) -div2Tuple = - fun2 vec2T "div" (vec2T "a") (vec2T "b") <| - \a b -> - let - da = - dotted2 a - - db = - dotted2 b - in - def floatT "k" (div one <| dot2 b b) <| - \k -> - def floatT "r" (by k <| dot2 a b) <| - \r -> - def floatT - "i" - (by k - (subtract (by da.y db.x) (by da.x db.y)) - ) - <| - \i -> - [ return <| vec2 r i ] - - -div2Decl : FunDecl -div2Decl = - Tuple.first div2Tuple - - -div2 : Expression Vec2 -> Expression Vec2 -> Expression Vec2 -div2 = - Tuple.second div2Tuple - - -log10Tuple : ( FunDecl, Expression Float -> Expression Float ) -log10Tuple = - fun1 floatT "log10" (floatT "x") <| - \x -> [ return <| div (log x) (log <| float 10) ] - - -log10Decl : FunDecl -log10Decl = - Tuple.first log10Tuple - - -log10 : Expression Float -> Expression Float -log10 = - Tuple.second log10Tuple - - -straightOperationToGlsl : GlslOperation -> List FunDecl -straightOperationToGlsl op = - case op of - GlslAddition -> - [] - - GlslMultiplication -> - [ by2Decl - , by3Decl - ] - - GlslNegation -> - [] - - GlslDivision -> - [ div2Decl - ] - - GlslPower -> - [ Tuple.first <| - fun2 vec2T "cpow" (vec2T "w") (vec2T "z") <| - \w z -> - let - dw = - dotted2 w - - dz = - dotted2 z - in - [ return <| - ternary - (ands - [ geq dw.x zero - , eq dw.y zero - , eq dz.y zero - ] - ) - (vec2 (pow dw.x dz.x) zero) - (call1 (unknownTypedName "cexp") <| by (call1 (unknownTypedName "cln") w) z) - ] - ] - - GlslRelations -> - [] - - -intervalOperationToGlsl : GlslOperation -> String -intervalOperationToGlsl op = - case op of - GlslAddition -> - "" - - GlslNegation -> - """ - vec2 ineg(vec2 v) { - return vec2(-v.y, -v.x); - } - - vec4 gneg(vec4 v) { - return -v; - } - """ - - GlslMultiplication -> - """ - vec2 iby(vec2 l, vec2 r) { - float a = l.x * r.x; - float b = l.x * r.y; - float c = l.y * r.x; - float d = l.y * r.y; - float mn = min(min(a,b),min(c,d)); - float mx = max(max(a,b),max(c,d)); - return vec2(mn, mx); - } - - vec4 gby(vec4 l, vec4 r) { - return vec4( - l.x * r.x, - l.x * r.yzw + r.x * l.yzw); - } - """ - - GlslDivision -> - """ - vec2 iinverse(vec2 y) { - if(y.x <= 0.0 && y.y >= 0.0) - return vec2(-1.0 / 0.0, 1.0 / 0.0); - if(y.y == 0.0) - return vec2(-1.0 / 0.0, 1.0 / y.x); - if(y.x == 0.0) - return vec2(1.0 / y.y, 1.0 / 0.0); - return vec2(1.0 / y.y, 1.0 / y.x); - } - - vec2 idiv(vec2 l, vec2 r) { - return iby(l, iinverse(r)); - } - - vec4 gdiv(vec4 l, vec4 r) { - return vec4( - l.x / r.x, - (r.x * l.yzw - l.x * r.yzw) / pow(r.x, 2.0) - ); - } - """ - - GlslPower -> - """ - float ipow(float b, int e) { - float fe = float(e); - if(mod(fe, 2.0) == 0.0) - return pow(abs(b), fe); - else - return b * pow(abs(b), fe - 1.0); - } - - vec2 ipow(vec2 b, int e) { - if(e == 0) - return vec2(1,1); - if(e == 1) - return b; - float xe = ipow(b.x, e); - float ye = ipow(b.y, e); - float mn = min(xe, ye); - float mx = max(xe, ye); - if(mod(float(e), 2.0) == 0.0 && b.x <= 0.0 && b.y >= 0.0) { - return vec2( - min(0.0, mn), - max(0.0, mx) - ); - } - return vec2(mn, mx); - } - - vec2 ipow(vec2 b, vec2 e) { - if(e.y - e.x < 0.000001 && abs(e.x - round(e.x)) < 0.000001) - return ipow(b, int(e.x)); - return iexp(iby(iln(b), e)); - } - - vec4 gpow(vec4 b, int e) { - return vec4(pow(b.x, float(e)), float(e) * pow(b.x, float(e - 1)) * b.yzw); - } - - vec4 gpow(vec4 b, vec4 e) { - int ie = int(e.x); - if(float(ie) == e.x && e.y == 0.0 && e.z == 0.0 && e.w == 0.0) { - return gpow(b, ie); - } - return gexp(gby(gln(b), e)); - } - """ - - GlslRelations -> - """ - vec2 ilt(vec2 l, vec2 r) { - return vec2(r.x - l.y, r.y - l.x); - } - - vec2 ileq(vec2 l, vec2 r) { - return vec2(r.x - l.y, r.y - l.x); - } - - vec2 ieq(vec2 l, vec2 r) { - return vec2(l.x - r.y, l.y - r.x); - } - - vec2 igeq(vec2 l, vec2 r) { - return vec2(l.x - r.y, l.y - r.x); - } - - vec2 igt(vec2 l, vec2 r) { - return vec2(l.x - r.y, l.y - r.x); - } - """ - - -straightFunctionToGlsl : GlslFunction -> List FunDecl -straightFunctionToGlsl name = - case name of - Sinh11 -> - [ Tuple.first <| - fun1 floatT "sinh" (floatT "x") <| - \x -> [ return <| by (float 0.5) <| subtract (exp x) (exp <| negate_ x) ] - ] - - Cosh11 -> - [ Tuple.first <| - fun1 floatT "cosh" (floatT "x") <| - \x -> [ return <| by (float 0.5) <| add (exp x) (exp <| negate_ x) ] - ] - - Tanh11 -> - [ Tuple.first <| - fun1 floatT "tanh" (floatT "x") <| - \x -> - if_ (gt (abs_ x) (float 10)) - (return <| sign x) - :: (def floatT "p" (exp x) <| - \p -> - def floatT "m" (exp <| negate_ x) <| - \m -> - [ return <| div (subtract p m) (add p m) - ] - ) - ] - - Sin22 -> - [ unknownFunDecl - { name = "csin" - , type_ = "vec2 -> vec2" - , body = - """ - vec2 csin(vec2 z) { - if(z.y == 0.0) { - return vec2(sin(z.x), 0); - } - return vec2(sin(z.x) * cosh(z.y), cos(z.x) * sinh(z.y)); - } - """ - } - ] - - Cos22 -> - [ unknownFunDecl - { name = - "ccos" - , type_ = "TODO" - , body = """ - vec2 ccos(vec2 z) { - if(z.y == 0.0) { - return vec2(cos(z.x), 0); - } - return vec2(cos(z.x) * cosh(z.y), sin(z.x) * sinh(z.y)); - } - """ - } - ] - - Tan22 -> - [ unknownFunDecl - { name = - "ctan" - , type_ = "TODO" - , body = """ - vec2 ctan(vec2 z) { - if(z.y == 0.0) { - return vec2(tan(z.x), 0); - } - return div(csin(z), ccos(z)); - } - """ - } - ] - - Asin22 -> - [ unknownFunDecl - { name = - "casin" - , type_ = "TODO" - , body = """ - vec2 casin(vec2 z) { - vec2 s = csqrt(vec2(1, 0) - by(z, z)); - vec2 arg = s - by(vec2(0, 1), z); - return by(vec2(0, 1), cln(arg)); - } - """ - } - ] - - Acos22 -> - [ unknownFunDecl - { name = - "cacos" - , type_ = "TODO" - , body = """ - vec2 cacos(vec2 z) { - return pi() * 0.5 - casin(z); - } - """ - } - ] - - Atan22 -> - [ unknownFunDecl - { name = - "catan" - , type_ = "TODO" - , body = """ - vec2 catan(vec2 z) { - if(z.y == 0.0) { - return vec2(atan(z.x), 0); - } - vec2 o = vec2(1, 0); - vec2 iz = by(vec2(0, 1), z); - vec2 l = div(o + iz, o - iz); - return -0.5 * by(vec2(0, 1), cln(l)); - } - """ - } - ] - - Atan222 -> - [ unknownFunDecl - { name = - "catan2" - , type_ = "TODO" - , body = """ - vec2 catan2(vec2 y, vec2 x) { - vec2 z = vec2(x.x - y.y, x.y + y.x); - return vec2(atan(z.y, z.x), 0.0); - } - """ - } - ] - - Sinh22 -> - [ unknownFunDecl { name = "csinh", type_ = "TODO", body = """ - vec2 csinh(vec2 z) { - return 0.5 * (cexp(z) - cexp(-z)); - } - """ } ] - - Cosh22 -> - [ unknownFunDecl { name = "ccosh", type_ = "TODO", body = """ - vec2 ccosh(vec2 z) { - return 0.5 * (cexp(z) + cexp(-z)); - } - """ } ] - - Tanh22 -> - [ unknownFunDecl { name = "ctanh", type_ = "TODO", body = """ - vec2 ctanh(vec2 z) { - vec2 p = cexp(z); - vec2 m = cexp(-z); - return div(p - m, p + m); - } - """ } ] - - Abs22 -> - [ unknownFunDecl { name = "cabs", type_ = "TODO", body = """ - vec2 cabs(vec2 z) { - return vec2(length(z), 0.0); - } - """ } ] - - Sign22 -> - [ unknownFunDecl { name = "csign", type_ = "TODO", body = """ - vec2 csign(vec2 z) { - return vec2(sign(z.x), sign(z.y)); - } - """ } ] - - Sqrt22 -> - [ unknownFunDecl { name = "csqrt", type_ = "TODO", body = """ - vec2 csqrt(vec2 z) { - if(z.y == 0.0 && z.x >= 0.0) { - return vec2(sqrt(z.x), 0); - } - float r = pow(dot(z, z), 0.25); - float t = atan(z.y, z.x) * 0.5; - return r * vec2(cos(t), sin(t)); - } - """ } ] - - Cbrt22 -> - [ unknownFunDecl { name = "ccbrt", type_ = "TODO", body = """ - vec2 ccbrt(vec2 z) { - if(z.y == 0.0) { - return vec2(sign(z.x) * pow(z.x, 1.0 / 3.0), 0); - } - float r = pow(dot(z, z), 1.0 / 6.0); - float t = atan(z.y, z.x) / 3.0 + (z.x > 0.0 ? 0.0 : radians(120.0)); - return r * vec2(cos(t), sin(t)); - } - """ } ] - - Square22 -> - [ unknownFunDecl { name = "csquare", type_ = "TODO", body = """ - vec2 csquare(vec2 z) { - return by(z, z); - } - """ } ] - - Ln22 -> - [ unknownFunDecl { name = "cln", type_ = "TODO", body = """ - vec2 cln(vec2 z) { - if(z.y == 0.0 && z.x >= 0.0) { - return vec2(log(z.x), 0); - } - float px = length(z); - float py = atan(z.y, z.x); - return vec2(log(px), py); - } - """ } ] - - Log1022 -> - [ unknownFunDecl { name = "clog10", type_ = "TODO", body = """ - vec2 clog10(vec2 z) { - return div(cln(z), vec2(log(10.0), 0)); - } - """ } ] - - Exp22 -> - [ unknownFunDecl { name = "cexp", type_ = "TODO", body = """ - vec2 cexp(vec2 z) { - if(z.y == 0.0) { - return vec2(exp(z.x), 0); - } - return vec2(cos(z.y) * exp(z.x), sin(z.y) * exp(z.x)); - } - """ } ] - - Re22 -> - [ unknownFunDecl { name = "cre", type_ = "TODO", body = """ - vec2 cre(vec2 z) { - return vec2(z.x, 0.0); - } - """ } ] - - Im22 -> - [ unknownFunDecl { name = "cim", type_ = "TODO", body = """ - vec2 cim(vec2 z) { - return vec2(z.y, 0.0); - } - """ } ] - - Arg22 -> - [ unknownFunDecl { name = "arg", type_ = "TODO", body = """ - float arg(vec2 v) { - return atan(v.y, v.x); - } - - vec2 carg(vec2 v) { - return vec2(atan(v.y, v.x), 0); - } - """ } ] - - Pw22 -> - [ unknownFunDecl { name = "cpw", type_ = "TODO", body = """ - vec2 cpw(vec2 c, vec2 t, vec2 f) { - return c.x > 0.0 ? t : f; - } - """ } ] - - Ceiling22 -> - [ unknownFunDecl { name = "cceiling", type_ = "TODO", body = """ - vec2 cceiling(vec2 z) { - return ceil(z); - } - """ } ] - - Floor22 -> - [ unknownFunDecl { name = "cfloor", type_ = "TODO", body = """ - vec2 cfloor(vec2 z) { - return floor(z); - } - """ } ] - - Round22 -> - [ unknownFunDecl { name = "cround", type_ = "TODO", body = """ - vec2 cround(vec2 z) { - return floor(z + vec2(0.5, 0.5)); - } - """ } ] - - Min222 -> - [ unknownFunDecl { name = "cmin", type_ = "TODO", body = """ - vec2 cmin(vec2 l, vec2 r) { - return l.x < r.x ? l : r; - } - """ } ] - - Max222 -> - [ unknownFunDecl { name = "cmax", type_ = "TODO", body = """ - vec2 cmax(vec2 l, vec2 r) { - return l.x > r.x ? l : r; - } - """ } ] - - Mod22 -> - [ unknownFunDecl { name = "cmod", type_ = "TODO", body = """ - vec2 cmod(vec2 l, vec2 r) { - return vec2(mod(l.x, r.x), 0); - } - """ } ] - - Mbrot22 -> - [ unknownFunDecl { name = "cmbrot", type_ = "TODO", body = """ - vec2 cmbrot(vec2 x, vec2 y) { - vec2 c = x + vec2(-y.y, y.x); - - float p = length(c - vec2(0.25, 0)); - if(c.x <= p - 2.0*p*p + 0.25 || length(c + vec2(1,0)) <= 0.25) - return vec2(0,0); - - vec2 z = c; - for(int i = 0; i < 4000; i++) { - z = vec2(z.x * z.x - z.y * z.y, 2.0 * z.x * z.y) + c; - if(length(z) > 1000000.0) { - float logLength = log(length(z)); - float nu = log(logLength / log(2.0)) / log(2.0); - float fi = float(i) - nu; - return vec2(sin(fi),cos(fi)); - } - } - return vec2(0,0); - } - """ } ] - - -intervalFunctionToGlsl : GlslFunction -> String -intervalFunctionToGlsl name = - case name of - Abs22 -> - """ - vec2 iabs(vec2 z) { - if(z.x <= 0.0 && z.y >= 0.0) - return vec2(0.0, max(z.y, abs(z.x))); - if(z.x <= 0.0) - return vec2(-z.y, -z.x); - return z; - } - - vec4 gabs(vec4 v) { - return vec4(abs(v.x), sign(v.x) * v.yzw); - } - """ - - Acos22 -> - """ - vec2 iacos(vec2 z) { - // Don't use clamp so if z is fully outside range the result is empty - vec2 clamped = vec2( - max(z.x, -1.0), - min(z.y, 1.0) - ); - return acos(clamped).yx; - } - - vec4 gacos(vec4 v) { - return vec4(acos(v.x), -v.yzw / sqrt(1.0 - v.x * v.x)); - } - """ - - Arg22 -> - """ - vec2 iarg(vec2 z) { - if(z.y < 0.0) - return dup(radians(180.0)); - if(z.x >= 0.0) - return vec2(0); - return vec2(0.0, radians(180.0)); - } - - vec4 garg(vec4 z) { - return gnum(z.x >= 0.0 ? 0.0 : radians(180.0)); - } - """ - - Sign22 -> - """ - vec2 isign(vec2 z) { - return sign(z); - } - - vec4 gsign(vec4 v) { - return gnum(sign(v.x)); - } - """ - - Asin22 -> - """ - vec2 iasin(vec2 z) { - // Don't use clamp so if z is fully outside range the result is empty - vec2 clamped = vec2( - max(z.x, -1.0), - min(z.y, 1.0) - ); - return asin(clamped); - } - - vec4 gasin(vec4 v) { - return vec4(asin(v.x), v.yzw / sqrt(1.0 - v.x * v.x)); - } - """ - - Atan22 -> - """ - vec2 iatan(vec2 z) { - return atan(z); - } - - vec4 gatan(vec4 v) { - return vec4(atan(v.x), v.yzw / (1.0 + v.x * v.x)); - } - """ - - Atan222 -> - """ - vec2 iatan2(vec2 y, vec2 x) { - // TODO: improve this - vec2 r = vec2(atan(y.x, x.x), atan(y.y, x.x)); - vec2 q = vec2(atan(y.x, x.y), atan(y.y, x.y)); - vec2 rs = vec2(min(r.x, r.y), max(r.x, r.y)); - vec2 qs = vec2(min(q.x, q.y), max(q.x, q.y)); - return vec2(min(rs.x,qs.x),max(rs.y,qs.y)); - } - - vec4 gatan2(vec4 y, vec4 x) { - return vec4(atan(y.x, x.x), y.yzw / x.yzw / (1.0 + y.x * y.x / x.x / x.x)); - } - """ - - Ceiling22 -> - """ - vec2 iceiling(vec2 z) { - return ceil(z); - } - - vec4 gceiling(vec4 z) { - return gnum(ceil(z.x)); - } - """ - - Cos22 -> - """ - vec2 icos(vec2 v) { - vec2 shift = radians(90.0) * vec2(1,1); - return isin(v + shift); - } - - vec4 gcos(vec4 v) { - return vec4(cos(v.x), -sin(v.x) * v.yzw); - } - """ - - Cosh11 -> - "" - - Cosh22 -> - """ - vec2 icosh(vec2 z) { - if(z.x <= 0.0 && z.y >= 0.0) - return vec2(cosh(0.0), max(z.y, abs(z.x))); - if(z.x <= 0.0) - return vec2(cosh(-z.y), cosh(-z.x)); - return vec2(cosh(z.x), cosh(z.y)); - } - - vec4 gcosh(vec4 v) { - return vec4(cosh(v.x), sinh(v.x) * v.yzw); - } - """ - - Exp22 -> - """ - vec2 iexp(vec2 z) { - return vec2(exp(z.x), exp(z.y)); - } - - vec4 gexp(vec4 z) { - return vec4( - exp(z.x), - exp(z.x) * z.yzw - ); - } - """ - - Floor22 -> - """ - vec2 ifloor(vec2 z) { - return floor(z); - } - - vec4 gfloor(vec4 z) { - return gnum(floor(z.x)); - } - """ - - Ln22 -> - """ - vec2 iln(vec2 z) { - return vec2(log(z.x), log(z.y)); - } - - vec4 gln(vec4 z) { - return vec4(log(z.x), z.yzw / z.x); - } - """ - - Log1022 -> - """ - vec2 ilog10(vec2 z) { - return log(z) / log(10.0); - } - - vec4 glog10(vec4 z) { - return vec4(log(z.x), z.yzw / z.x) / log(10.0); - } - """ - - Pw22 -> - """ - vec2 ipw(vec2 c, vec2 t, vec2 f) { - if(c.y <= 0.0) - return f; - if(c.x > 0.0) - return t; - return vec2(min(t.x, f.x), max(t.y, f.y)); - } - - vec4 gpw(vec4 c, vec4 t, vec4 f) { - return c.x > 0.0 ? t : f; - } - """ - - Re22 -> - """ - vec2 ire(vec2 v) { - return v; - } - - vec4 gre(vec4 v) { - return v; - } - """ - - Im22 -> - """ - vec2 iim(vec2 v) { - return vec2(0); - } - - vec4 gim(vec4 v) { - return vec4(0, 0, 0, 1.0); - } - """ - - Round22 -> - """ - vec2 iround(vec2 z) { - return round(z); - } - - vec4 ground(vec4 z) { - return gnum(round(z.x)); - } - """ - - Sin22 -> - """ - bool between(float x, float low, float high) { - return low <= x && x <= high; - } - - vec2 isin(vec2 v) { - if(v.y - v.x > radians(360.0)) { - return vec2(-1.0, 1.0); - } - float from = mod(v.x, radians(360.0)); // [0, 360°] - float to = from + v.y - v.x; // [0, 720°] - vec2 s = sin(vec2(from, to)); - vec2 res = vec2(min(s.x, s.y), max(s.x, s.y)); - if(between(radians(90.0), from, to) || between(radians(90.0 + 360.0), from, to)) - res.y = 1.0; - if(between(radians(270.0), from, to) || between(radians(270.0 + 360.0), from, to)) - res.x = -1.0; - return res; - } - - vec4 gsin(vec4 v) { - return vec4(sin(v.x), cos(v.x) * v.yzw); - } - """ - - Sinh11 -> - "" - - Sinh22 -> - """ - vec2 isinh(vec2 v) { - return vec2(sinh(v.x), sinh(v.y)); - } - - vec4 gsinh(vec4 v) { - return vec4(sinh(v.x), cosh(v.x) * v.yzw); - } - """ - - Sqrt22 -> - """ - vec2 isqrt(vec2 v) { - return vec2(sqrt(max(0.0, v.x)), sqrt(max(0.0, v.y))); - } - - vec4 gsqrt(vec4 v) { - return vec4(sqrt(v.x), 0.5 * pow(v.x, -0.5) * v.yzw); - } - """ - - Cbrt22 -> - """ - float cbrt(float v) { - return sign(v) * pow(abs(v), 1.0 / 3.0); - } - - vec2 icbrt(vec2 v) { - return vec2(cbrt(v.x), cbrt(v.y)); - } - - vec4 gcbrt(vec4 v) { - return vec4(cbrt(v.x), pow(v.x, -2.0 / 3.0) / 3.0 * v.yzw); - } - """ - - Square22 -> - """ - vec2 isquare(vec2 z) { - vec2 s = z * z; - float mx = max(s.x, s.y); - if(z.x <= 0.0 && z.y >= 0.0) - return vec2(0.0, mx); - float mn = min(s.x, s.y); - return vec2(mn, mx); - } - - vec4 gsquare(vec4 z) { - return vec4(z.x*z.x, 2.0 * z.x * z.yzw); - } - """ - - Tan22 -> - """ - vec2 itan(vec2 z) { - return idiv(isin(z), icos(z)); - } - - vec4 gtan(vec4 z) { - float c = cos(z.x); - return vec4(tan(z.x), 1.0 / (c * c) * z.yzw); - } - """ +expressionToGlslComplex : ToGlslExpression -> Expression Vec2 +expressionToGlslComplex = + visit + { expr = + \expr -> + case expr of + VVariable "i" -> + vec211 zero one - Tanh11 -> - """ - """ + VVariable "pi" -> + vec211 (float1 pi) zero - Tanh22 -> - """ - vec2 itanh(vec2 z) { - return vec2(tanh(z.x), tanh(z.y)); - } + VVariable "e" -> + vec211 (exp1 one) zero - vec4 gtanh(vec4 z) { - float c = 1.0 / cosh(z.x); - return vec4(tanh(z.x), c * c * z.yzw); - } - """ + VVariable v -> + vec211 (var v) zero - Min222 -> - """ - vec2 imin(vec2 l, vec2 r) { - return vec2(min(l.x, r.x), min(l.y, r.y)); - } + VInteger v -> + vec211 (float1 <| toFloat v) zero - vec4 gmin(vec4 l, vec4 r) { - return l.x < r.x ? l : r; - } - """ + VFloat f -> + vec211 (float1 f) zero - Max222 -> - """ - vec2 imax(vec2 l, vec2 r) { - return vec2(max(l.x, r.x), max(l.y, r.y)); - } + VNegate expression -> + negate2 expression - vec4 gmax(vec4 l, vec4 r) { - return l.x > r.x ? l : r; - } - """ + VAdd l r -> + add22 l r - Mod22 -> - """ - vec2 imod(vec2 x, vec2 y) { - return x + ineg(iby(y, ifloor(idiv(x, y)))); - } + VRel op l r -> + case op of + LessThan -> + subtract22 r l - vec4 gmod(vec4 l, vec4 r) { - return vec4(mod(l.x, r.x), l.yzw); - } - """ + LessThanOrEquals -> + subtract22 r l - Mbrot22 -> - """TODO""" + NotEquals -> + abs2 <| subtract22 r l + Equals -> + abs2 <| subtract22 r l -toSrcImplicit : String -> Expression.Expression -> String -toSrcImplicit suffix e = - let - antialiasingSamples = - 7 - in - """ - float f""" ++ suffix ++ """(float x, float y) { - vec2 complex = """ ++ Generator.expressionToGlsl (expressionToGlsl [ ( "x", unknown "x" ), ( "y", unknown "y" ) ] e) ++ """; - if(abs(complex.y) > """ ++ floatToGlsl epsilon ++ """) { - return 0.0; - } - return complex.x > 0.0 ? 1.0 : -1.0; - } + GreaterThanOrEquals -> + subtract22 l r - vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { - float sum = 0.0; - float samples = """ ++ floatToGlsl antialiasingSamples ++ """ * 2.0 + 1.0; - samples *= samples; - float coeff = 0.0875; - for(int w = -""" ++ String.fromInt antialiasingSamples ++ """; w <= """ ++ String.fromInt antialiasingSamples ++ """; w++) - for(int h = -""" ++ String.fromInt antialiasingSamples ++ """; h <= """ ++ String.fromInt antialiasingSamples ++ """; h++) { - float piece = f""" ++ suffix ++ """(x + deltaX * coeff * float(w), y + deltaX * coeff * float(h)); - if(piece == 0.0) - return vec3(0); - sum += piece; - } + GreaterThan -> + subtract22 l r - float perc = (samples - abs(sum)) / samples; - perc = pow(perc, 0.2); - return perc * vec3(1,1,1); - } - """ + VBy l r -> + cby22 l r + VDiv l r -> + cdiv22 l r -toSrcPolar : String -> Expression.Expression -> String -toSrcPolar suffix e = - """ - float f""" ++ suffix ++ """(float x, float y, float deltaT, float ot) { - float r = sqrt(x*x + y*y); - float t = atanPlus(y, x) + deltaT; - // Avoid the branch cut at {x > 0, y = 0} - if(abs(t - ot) > radians(180.0)) { - if(t < ot) t += radians(360.0); - else t -= radians(360.0); - } - vec2 complex = """ ++ Generator.expressionToGlsl (expressionToGlsl [ ( "x", unknown "x" ), ( "y", unknown "y" ), ( "r", unknown "r" ), ( "t", unknown "t" ) ] e) ++ """; - if(abs(complex.y) > """ ++ floatToGlsl epsilon ++ """) { - return -1.0; - } - return complex.x > 0.0 ? 1.0 : 0.0; - } + VPower l r -> + cpow22 l r - vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { - float t = 0.0; - x += deltaX / 2.0; - y += deltaY / 2.0; - float ot = atanPlus(y, x); - - for(int i = 0; i < MAX_ITERATIONS / 10; i++) { - float h = f""" ++ suffix ++ """(x, y, t, ot); - float l = f""" ++ suffix ++ """(x - deltaX, y, t, ot); - float u = f""" ++ suffix ++ """(x, y - deltaY, t, ot); - float ul = f""" ++ suffix ++ """(x - deltaX, y - deltaY, t, ot); - if(h < 0.0 || l < 0.0 || u < 0.0 || ul < 0.0) - break; - if(h != l || h != u || h != ul) - return vec3(1,1,1); - t += radians(360.0); - ot += radians(360.0); - } - return vec3(0,0,0); - } - """ + -- If this happens, it's too late + VList _ -> + vec2Zero + VSubtract _ _ -> + Debug.todo "branch 'VSubtract _ _' not implemented" -toSrcParametric : Bool -> String -> Expression.Expression -> String -toSrcParametric expandIntervals suffix e = - """ - vec2 interval""" ++ suffix ++ """(vec2 p, float from, float to) { - vec2 x = vec2(p.x,p.x); - vec2 y = vec2(p.y,p.y); - vec2 t = from < to ? vec2(from, to) : vec2(to, from); - return """ ++ expressionToIntervalGlsl expandIntervals e ++ """; - } + VSquare _ -> + Debug.todo "branch 'VSquare _' not implemented" - vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { - float max_distance = pow(2.0, 10.0); - float from = -max_distance / 2.0; - float to = max_distance / 2.0; - vec2 p = vec2(x, y); - int depth = 0; - int choices = 0; - float ithreshold = 10.0 * deltaX * deltaX; - for(int it = 0; it < MAX_ITERATIONS; it++) { - float midpoint = mix(from, to, 0.5); - vec2 front = interval""" ++ suffix ++ """(p, from, midpoint); - vec2 back = interval""" ++ suffix ++ """(p, midpoint, to); - if(depth >= MAX_DEPTH - || (front.y - front.x < ithreshold && front.x <= 0.0 && front.y >= 0.0) - || (back.y - back.x < ithreshold && back.x <= 0.0 && back.y >= 0.0) - ) - return vec3(1,1,1); - if(front.x <= 0.0 && front.y >= 0.0) { - to = midpoint; - depth++; - choices *= 2; - } else if(back.x <= 0.0 && back.y >= 0.0) { - from = midpoint; - depth++; - choices = choices * 2 + 1; - } else { - // This could be possibly helped by https://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightBinSearch - for(int j = MAX_DEPTH - 1; j > 0; j--) { - if(j > depth) - continue; - depth--; - choices /= 2; - if(choices / 2 * 2 == choices) { - midpoint = to; - to = to + (to - from); - vec2 back = interval""" ++ suffix ++ """(p, midpoint, to); - if(back.x <= 0.0 && back.y >= 0.0) { - from = midpoint; - depth++; - choices = choices * 2 + 1; - break; - } - } else { - from = from - (to - from); - } - } - if(depth == 0) - return vec3(0,0,0); - } + VPowerF _ _ -> + Debug.todo "branch 'VPowerF _ _' not implemented" + , function1 = function1ToComplex + , function2 = function2ToComplex + , function3 = + \f l m r -> + case f of + PPiecewise -> + cpw222 l m r } - return vec3(0,0,0); - } - """ -thetaDelta : String -thetaDelta = - """ - float thetaDelta(float theta) { - if(u_whiteLines < 1.0) - return 100.0; - float thetaSix = theta * u_whiteLines + 0.5; - float thetaNeigh = 0.05; - return abs(fract(thetaSix) - 0.5) / thetaNeigh; - } - """ +function2ToComplex : Function2 -> Expression Vec2 -> Expression Vec2 -> Expression Vec2 +function2ToComplex f = + case f of + PAtan2 -> + catan222 + PMod -> + cmod22 -toSrcVectorField2D : String -> Expression.Expression -> Expression.Expression -> String -toSrcVectorField2D suffix x y = - """ - vec2 vector""" ++ suffix ++ """(float x, float y) { - vec2 xv = """ ++ Generator.expressionToGlsl (expressionToGlsl [ ( "x", unknown "x" ), ( "y", unknown "y" ) ] x) ++ """; - vec2 yv = """ ++ Generator.expressionToGlsl (expressionToGlsl [ ( "x", unknown "x" ), ( "y", unknown "y" ) ] y) ++ """; - return abs(xv.y) + abs(yv.y) < """ ++ floatToGlsl epsilon ++ """ ? vec2(xv.x, yv.x) : vec2(0,0); - } + PMbrot -> + cmbrot22 - bool near(vec2 o, vec2 corner, vec2 vector, float deltaX, float mx) { - float angleCorner = arg(o - corner); - float angleVector = arg(vector); - float delta = mod(angleCorner - angleVector, radians(360.0)); - float l = length(vector) / mx; - float maxLength = deltaX * VECTOR_SPACING * (l < """ ++ floatToGlsl epsilon ++ """ ? 0.0 : l / 2.0 + 0.5); - float wantedLength = length(o - corner); - float angularDistance = mix(180.0, 0.0, pow(wantedLength / maxLength, 0.3)); - return (delta < radians(angularDistance) || delta > radians(360.0 - angularDistance)) && wantedLength < maxLength; - } + PMin -> + cmin22 - vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { - vec2 o = vec2(x, y); + PMax -> + cmax22 - float mx = 0.0; - for(int xi = -X_POINTS; xi <= X_POINTS; xi++) { - for(int yi = -Y_POINTS; yi <= Y_POINTS; yi++) { - vec2 p = u_zoomCenter + vec2(deltaX * VECTOR_SPACING * float(xi), deltaX * VECTOR_SPACING * float(yi)); - vec2 v = vector""" ++ suffix ++ """(p.x, p.y); - mx = max(mx, length(v)); - } - } - vec3 colorA = vec3(0.0, 1.0, 0.0); - vec3 colorB = vec3(0.0, 0.0, 1.0); +function1ToComplex : Function1 -> Expression Vec2 -> Expression Vec2 +function1ToComplex f = + case f of + PSin -> + csin2 - x = o.x - mod(o.x, deltaX * VECTOR_SPACING); - y = o.y - mod(o.y, deltaX * VECTOR_SPACING); + PCos -> + ccos2 - vec2 bl = vector""" ++ suffix ++ """(x, y); - vec2 br = vector""" ++ suffix ++ """(x + deltaX * VECTOR_SPACING, y); - vec2 ul = vector""" ++ suffix ++ """(x, y + deltaX * VECTOR_SPACING); - vec2 ur = vector""" ++ suffix ++ """(x + deltaX * VECTOR_SPACING, y + deltaX * VECTOR_SPACING); + PTan -> + ctan2 - float angleO; - vec2 corner; - float l; + PAsin -> + casin2 - corner = vec2(x, y); - l = length(bl) / mx; - if(near(o, corner, bl, deltaX, mx)) - return mix(colorA, colorB, l); + PAcos -> + cacos2 - corner = vec2(x + deltaX * VECTOR_SPACING, y); - l = length(br) / mx; - if(near(o, corner, br, deltaX, mx)) - return mix(colorA, colorB, l); + PAtan -> + catan2 - corner = vec2(x, y + deltaX * VECTOR_SPACING); - l = length(ul) / mx; - if(near(o, corner, ul, deltaX, mx)) - return mix(colorA, colorB, l); + PSinh -> + csinh2 - corner = vec2(x + deltaX * VECTOR_SPACING, y + deltaX * VECTOR_SPACING); - l = length(ur) / mx; - if(near(o, corner, ur, deltaX, mx)) - return mix(colorA, colorB, l); + PCosh -> + ccosh2 - return vec3(0,0,0); - } - """ + PTanh -> + ctanh2 + PAbs -> + cabs2 -toSrcContour : String -> Expression.Expression -> String -toSrcContour suffix e = - """ - vec3 pixel""" ++ suffix ++ """_o(float deltaX, float deltaY, float x, float y) { - vec2 z = """ ++ Generator.expressionToGlsl (expressionToGlsl [ ( "x", unknown "x" ), ( "y", unknown "y" ) ] e) ++ """; + PLn -> + cln2 - float theta = atan(z.y, z.x) / radians(360.0); + PLog10 -> + clog102 - float logRadius = log2(length(z)); - float powerRemainder = fract(logRadius); - float squished = 0.7 - powerRemainder * 0.4; + PExp -> + cexp2 - if(u_completelyReal > 0.0) { - float haf = fract(logRadius) / 6.0; - if(z.x > 0.0) - return hl2rgb(haf + 0.3, squished); - else - return hl2rgb(haf - 0.1, 1.0 - squished); - } + PSign -> + csign2 - float td = thetaDelta(theta); - float l = mix(1.0, squished, smoothstep(0.0, 1.0, td)); - return hl2rgb(theta, l); - } + PRe -> + cre2 - vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { - // Antialiasing + PIm -> + cim2 - float dist = 1.0 / 3.0; - vec3 a = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x + dist * deltaX, y + dist * deltaY); - vec3 b = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x - dist * deltaX, y - dist * deltaY); - vec3 c = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x + dist * deltaX, y - dist * deltaY); - vec3 d = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x - dist * deltaX, y + dist * deltaY); + PArg -> + carg2 - vec3 diff = abs(max(a, max(b, max(c, d))) - min(a, min(b, min(c, d)))); - if (diff.x < dist && diff.y < dist && diff.z < dist) - return (a + b + c + d) / 4.0; + PRound -> + cround2 - vec3 e = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x + 2.0 * dist * deltaX, y); - vec3 f = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x - 2.0 * dist * deltaX, y); - vec3 g = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x, y - 2.0 * dist * deltaY); - vec3 h = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x, y + 2.0 * dist * deltaY); + PFloor -> + cfloor2 - return (a + b + c + d + e + f + g + h) / 8.0; - } - """ + PCeil -> + cceil2 + PSqrt -> + csqrt2 -toSrcRelation : String -> Expression.Expression -> String -toSrcRelation suffix e = - """ - vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { - vec2 complex = """ ++ Generator.expressionToGlsl (expressionToGlsl [ ( "x", unknown "x" ), ( "y", unknown "y" ) ] e) ++ """; - return complex.x > 0.0 && abs(complex.y) < """ ++ floatToGlsl epsilon ++ """ ? vec3(0.8,0.5,0.5) : vec3(0,0,0); - } - """ + PCbrt -> + ccbrt2 + PGra -> + Debug.todo "branch 'PGra' not implemented" -epsilon : Float -epsilon = - 0.00001 + PDet -> + Debug.todo "branch 'PDet' not implemented" -wordWrap : String -> String -wordWrap = +expressionToIntervalGlsl : Bool -> ToGlslExpression -> Expression Vec2 +expressionToIntervalGlsl expandIntervals = let - step e ( l, acc ) = - if String.length e + String.length l > 40 then - ( e, l :: acc ) + expand : Expression Vec2 -> Expression Vec2 + expand e = + if expandIntervals then + iexpand2 e else - ( l ++ e, acc ) - in - String.split " " - >> List.foldl step ( "", [] ) - >> (\( l, a ) -> - if String.isEmpty l then - a + e - else - l :: a - ) - >> List.reverse - >> String.join "\n " + visitExpr expr = + case expr of + VVariable "pi" -> + dup1 (radians1 (float1 180)) + VVariable "e" -> + dup1 (float1 e) -expressionToIntervalGlsl : Bool -> Expression.Expression -> String -expressionToIntervalGlsl expandIntervals = - toPrintExpression - >> expressionToIntervalGlslPrec expandIntervals 0 - >> wordWrap + VVariable v -> + var v + VInteger v -> + dup1 (float1 <| toFloat v) -expressionToGlsl : List ( String, Expression Float ) -> Expression.Expression -> Expression Vec2 -expressionToGlsl context = - let - ctx = - Dict.fromList context + VFloat f -> + dup1 (float1 f) - go expr = - case expr of - PVariable "i" -> - vec2 zero one + VNegate expression -> + ineg2 expression - PVariable "pi" -> - vec2 (radians_ <| float 180) zero + VAdd l r -> + expand <| add22 l r - PVariable "e" -> - vec2 (exp one) zero + VRel op l r -> + comparisonToInterval op l r - PVariable v -> - case Dict.get v ctx of - Just w -> - vec2 w zero + VBy l r -> + expand <| iby22 l r - Nothing -> - unknown <| "Variable " ++ v ++ " is undefined" + VDiv l r -> + expand <| idiv22 l r - PInteger v -> - vec2 (float <| toFloat v) zero + VSquare l -> + expand <| isquare2 l - PFloat f -> - vec2 (float f) zero + VPowerF l f -> + expand <| ipow21 l (float1 f) - PNegate expression -> - negate_ <| go expression + VPower l r -> + expand <| ipow22 l r - PAdd l (PNegate r) -> - subtract (go l) (go r) + VList [ x, y ] -> + vec211 x y - PAdd l r -> - add (go l) (go r) + VList _ -> + -- TODO: handle this + vec2Zero - PRel op l r -> - if op == "<=" || op == "<" then - subtract (go r) (go l) + VSubtract _ _ -> + Debug.todo "branch 'VSubtract _ _' not implemented" + in + visit + { expr = visitExpr + , function1 = + \f l -> + -- sin and cos should not be expanded + if f == PSin || f == PCos then + function1ToInterval f l - else if op == "=" then - abs_ <| subtract (go r) (go l) + else + expand <| function1ToInterval f l + , function2 = Debug.todo "function2" + , function3 = Debug.todo "function3" + } - else - subtract (go l) (go r) - PBy l r -> - by2 (go l) (go r) +function1ToInterval : Function1 -> Expression Vec2 -> Expression Vec2 +function1ToInterval f = + case f of + PSin -> + isin2 - PDiv l r -> - div2 (go l) (go r) + PCos -> + icos2 - PPower (PVariable v) (PInteger 2) -> - case Dict.get v ctx of - Just w -> - vec2 (by w w) zero + PTan -> + itan2 - Nothing -> - unknown <| "Variable " ++ v ++ " is undefined" + PAsin -> + iasin2 - PPower l r -> - call2 (unknownTypedName "cpow") (go l) (go r) + PAcos -> + iacos2 - PApply (KnownFunction Simplify) [ e ] -> - go e + PAtan -> + iatan2 - PApply name ex -> - if List.any (\( _, v ) -> name == KnownFunction v) Expression.variadicFunctions then - case List.map go ex of - [] -> - vec2Zero + PSinh -> + isinh2 - head :: tail -> - List.foldl (\e a -> call2 (unknownTypedName <| "c" ++ Expression.functionNameToString name) a e) head tail + PCosh -> + icosh2 - else - unsafeCall ("c" ++ Expression.functionNameToString name) (List.map go ex) + PTanh -> + itanh2 - PList es -> - unsafeCall ("vec" ++ String.fromInt (List.length es)) (List.map go es) + PAbs -> + iabs2 - PReplace var e -> - go (Expression.pfullSubstitute var e) + PSqrt -> + isqrt2 - -- If this happens, it's too late - PLambda _ _ -> - vec2Zero - in - toPrintExpression >> go + PCbrt -> + icbrt2 + PLn -> + iln2 -paren : Bool -> String -> String -paren b c = - if b then - "(" ++ c ++ ")" + PLog10 -> + ilog102 - else - c + PExp -> + iexp2 + PSign -> + isign2 -expressionToIntervalGlslPrec : Bool -> Int -> PrintExpression -> String -expressionToIntervalGlslPrec expandIntervals p expr = - let - infixl_ n op l r = - paren (p > n) <| expressionToIntervalGlslPrec expandIntervals n l ++ op ++ expressionToIntervalGlslPrec expandIntervals (n + 1) r + PRe -> + ire2 - apply name ex = - paren (p > 10) <| name ++ "(" ++ String.join ", " (List.map (expressionToIntervalGlslPrec expandIntervals 0) ex) ++ ")" + PIm -> + iim2 - expand e = - if expandIntervals then - "iexpand(" ++ e ++ ")" + PArg -> + iarg2 - else - e - in - case expr of - PVariable "pi" -> - "dup(radians(180.0))" + PRound -> + iround2 + + PFloor -> + ifloor2 - PVariable "e" -> - "dup(exp(1.0))" + PCeil -> + iceil2 - PVariable v -> - v + PGra -> + Debug.todo "branch 'PGra' not implemented" - PInteger v -> - "dup(" ++ String.fromInt v ++ ".0)" + PDet -> + Debug.todo "branch 'PDet' not implemented" - PFloat f -> - "dup(" ++ floatToGlsl f ++ ")" - PNegate expression -> - "ineg(" ++ expressionToIntervalGlslPrec expandIntervals 10 expression ++ ")" +comparisonToInterval : RelationOperation -> Expression Vec2 -> Expression Vec2 -> Expression Vec2 +comparisonToInterval op = + case op of + LessThan -> + ilt22 - PAdd l r -> - expand <| infixl_ 6 " + " l r + LessThanOrEquals -> + ileq22 - PRel op l r -> - let - name = - case op of - "<" -> - "ilt" + Equals -> + ieq22 - "<=" -> - "ileq" + NotEquals -> + ineq22 - "=" -> - "ieq" + GreaterThanOrEquals -> + igeq22 - ">=" -> - "igeq" + GreaterThan -> + igt22 - ">" -> - "igt" - _ -> - "iuknownrelop" - in - expand <| name ++ "(" ++ expressionToIntervalGlslPrec expandIntervals 10 l ++ ", " ++ expressionToIntervalGlslPrec expandIntervals 10 r ++ ")" +expressionToNormalGlsl : ToGlslExpression -> Expression Vec4 +expressionToNormalGlsl = + visit + { expr = + \expr -> + case expr of + VVariable "pi" -> + gnum1 (radians1 (float1 180)) - PBy l r -> - expand <| apply "iby" [ l, r ] + VVariable "e" -> + gnum1 (exp1 one) - PDiv l r -> - expand <| apply "idiv" [ l, r ] + VVariable "x" -> + vec41111 (var "x") one zero zero - PPower (PVariable "i") (PInteger 2) -> - "dup(-1.0)" + VVariable "y" -> + vec41111 (var "y") zero one zero - PPower l (PInteger 2) -> - expand <| "isquare(" ++ expressionToIntervalGlslPrec expandIntervals 0 l ++ ")" + VVariable "z" -> + vec41111 (var "z") zero zero one - PPower l (PFloat f) -> - if f == 2.0 then - expand <| "isquare(" ++ expressionToIntervalGlslPrec expandIntervals 0 l ++ ")" + VVariable v -> + var v - else - expand <| apply "ipow" [ l, PFloat f ] + VInteger v -> + gnum1 (float1 (toFloat v)) - PPower l (PInteger ri) -> - let - ris = - String.fromInt ri - in - expand <| "ipow(" ++ expressionToIntervalGlslPrec expandIntervals 0 l ++ ", " ++ ris ++ ")" + VFloat f -> + gnum1 (float1 f) - PPower l r -> - expand <| apply "ipow" [ l, r ] + VNegate expression -> + gneg4 expression - PApply name ex -> - if List.any (\( _, v ) -> name == KnownFunction v) Expression.variadicFunctions then - case List.map (expressionToIntervalGlslPrec expandIntervals 0) ex of - [] -> - "vec2(0)" + VAdd l r -> + add44 l r - head :: tail -> - expand <| List.foldl (\e a -> "i" ++ Expression.functionNameToString name ++ "(" ++ a ++ "," ++ e ++ ")") head tail + VRel op l r -> + case op of + LessThan -> + subtract44 r l - else if name == KnownFunction Sin || name == KnownFunction Cos then - apply ("i" ++ Expression.functionNameToString name) ex + LessThanOrEquals -> + subtract44 r l - else - expand <| apply ("i" ++ Expression.functionNameToString name) ex + Equals -> + abs4 (subtract44 r l) - PList es -> - "vec" ++ String.fromInt (List.length es) ++ "(" ++ String.join ", " (List.map (expressionToIntervalGlslPrec expandIntervals 0) es) ++ ")" + NotEquals -> + abs4 (subtract44 r l) - PReplace var e -> - expressionToIntervalGlslPrec expandIntervals p (Expression.pfullSubstitute var e) + GreaterThanOrEquals -> + subtract44 l r - -- If this happens, it's too late - PLambda _ _ -> - "vec2(0)" + GreaterThan -> + subtract44 l r + VBy l r -> + gby44 l r -expressionToNormalGlsl : { x : Expression Float, y : Expression Float, z : Expression Float } -> Expression.Expression -> Expression Vec4 -expressionToNormalGlsl { x, y, z } = - let - gnum : Expression Float -> Expression Vec4 - gnum = - call1 (unknownTypedName "gnum") + VDiv l r -> + gdiv44 l r - go expr = - case expr of - PVariable "pi" -> - gnum (radians_ <| float 180) + VPower l r -> + gpow44 l r + + VSquare l -> + gsquare4 l - PVariable "e" -> - gnum <| exp one + VPowerF l r -> + gpow41 l (float1 r) - PVariable "x" -> - vec4 x one zero zero + VList _ -> + Debug.todo "branch 'VList _' not implemented" - PVariable "y" -> - vec4 y zero one zero + VSubtract _ _ -> + Debug.todo "branch 'VSubtract _ _' not implemented" + , function1 = Debug.todo "function1" + , function2 = Debug.todo "function2" + , function3 = Debug.todo "function3" + } - PVariable "z" -> - vec4 z zero zero one - PInteger v -> - gnum <| float <| toFloat v +epsilon : Float +epsilon = + 0.00001 - PFloat f -> - gnum <| float f - PNegate expression -> - call1 (unknownTypedName "gneg") (go expression) +threshold : String +threshold = + String.fromFloat epsilon ++ " * max_distance" - PAdd l r -> - add (go l) (go r) - PRel op l r -> - if op == "<=" || op == "<" then - subtract (go r) (go l) +toThreshold : Expression Float -> Expression Float +toThreshold maxDistance = + by11 (float1 epsilon) maxDistance - else if op == "=" then - abs_ <| subtract (go r) (go l) - else - subtract (go l) (go r) +floatToGlsl : Float -> String +floatToGlsl f = + Glsl.PrettyPrinter.float f - PBy l r -> - call2 (unknownTypedName "gby") (go l) (go r) - PDiv l r -> - call2 (unknownTypedName "gdiv") (go l) (go r) +toSrcImplicit : String -> Expr -> String +toSrcImplicit suffix e = + -- let + -- antialiasingSamples = + -- 7 + -- in + -- """ + -- float f""" ++ suffix ++ """(float x, float y) { + -- vec2 complex = """ ++ expressionToGlslComplex e ++ """; + -- if(abs(complex.y) > """ ++ floatToGlsl epsilon ++ """) { + -- return 0.0; + -- } + -- return complex.x > 0.0 ? 1.0 : -1.0; + -- } + -- vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { + -- float sum = 0.0; + -- float samples = """ ++ floatToGlsl antialiasingSamples ++ """ * 2.0 + 1.0; + -- samples *= samples; + -- float coeff = 0.0875; + -- for(int w = -""" ++ String.fromInt antialiasingSamples ++ """; w <= """ ++ String.fromInt antialiasingSamples ++ """; w++) + -- for(int h = -""" ++ String.fromInt antialiasingSamples ++ """; h <= """ ++ String.fromInt antialiasingSamples ++ """; h++) { + -- float piece = f""" ++ suffix ++ """(x + deltaX * coeff * float(w), y + deltaX * coeff * float(h)); + -- if(piece == 0.0) + -- return vec3(0); + -- sum += piece; + -- } + -- float perc = (samples - abs(sum)) / samples; + -- perc = pow(perc, 0.2); + -- return perc * vec3(1,1,1); + -- } + -- """ + let + _ = + Debug.todo + in + "" - PPower l (PInteger 2) -> - call1 (unknownTypedName "gsquare") (go l) - PPower l (PInteger ri) -> - call2 (unknownTypedName "gpow") (go l) (int ri) +toSrcPolar : String -> Expr -> String +toSrcPolar suffix e = + -- """ + -- float f""" ++ suffix ++ """(float x, float y, float deltaT, float ot) { + -- float r = sqrt(x*x + y*y); + -- float t = atanPlus(y, x) + deltaT; + -- // Avoid the branch cut at {x > 0, y = 0} + -- if(abs(t - ot) > radians(180.0)) { + -- if(t < ot) t += radians(360.0); + -- else t -= radians(360.0); + -- } + -- vec2 complex = """ ++ expressionToGlsl e ++ """; + -- if(abs(complex.y) > """ ++ floatToGlsl epsilon ++ """) { + -- return -1.0; + -- } + -- return complex.x > 0.0 ? 1.0 : 0.0; + -- } + -- vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { + -- float t = 0.0; + -- x += deltaX / 2.0; + -- y += deltaY / 2.0; + -- float ot = atanPlus(y, x); + -- for(int i = 0; i < MAX_ITERATIONS / 10; i++) { + -- float h = f""" ++ suffix ++ """(x, y, t, ot); + -- float l = f""" ++ suffix ++ """(x - deltaX, y, t, ot); + -- float u = f""" ++ suffix ++ """(x, y - deltaY, t, ot); + -- float ul = f""" ++ suffix ++ """(x - deltaX, y - deltaY, t, ot); + -- if(h < 0.0 || l < 0.0 || u < 0.0 || ul < 0.0) + -- break; + -- if(h != l || h != u || h != ul) + -- return vec3(1,1,1); + -- t += radians(360.0); + -- ot += radians(360.0); + -- } + -- return vec3(0,0,0); + -- } + -- """ + let + _ = + Debug.todo + in + "" - PPower l r -> - call2 (unknownTypedName "gpow") (go l) (go r) - PApply name ex -> - if List.any (\( _, v ) -> name == KnownFunction v) Expression.variadicFunctions then - case List.map go ex of - [] -> - vec4Zero +toSrcParametric : Bool -> String -> Expr -> String +toSrcParametric expandIntervals suffix e = + -- """ + -- vec2 interval""" ++ suffix ++ """(vec2 p, float from, float to) { + -- vec2 x = vec2(p.x,p.x); + -- vec2 y = vec2(p.y,p.y); + -- vec2 t = from < to ? vec2(from, to) : vec2(to, from); + -- return """ ++ expressionToIntervalGlsl expandIntervals e ++ """; + -- } + -- vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { + -- float max_distance = pow(2.0, 10.0); + -- float from = -max_distance / 2.0; + -- float to = max_distance / 2.0; + -- vec2 p = vec2(x, y); + -- int depth = 0; + -- int choices = 0; + -- float ithreshold = 10.0 * deltaX * deltaX; + -- for(int it = 0; it < MAX_ITERATIONS; it++) { + -- float midpoint = mix(from, to, 0.5); + -- vec2 front = interval""" ++ suffix ++ """(p, from, midpoint); + -- vec2 back = interval""" ++ suffix ++ """(p, midpoint, to); + -- if(depth >= MAX_DEPTH + -- || (front.y - front.x < ithreshold && front.x <= 0.0 && front.y >= 0.0) + -- || (back.y - back.x < ithreshold && back.x <= 0.0 && back.y >= 0.0) + -- ) + -- return vec3(1,1,1); + -- if(front.x <= 0.0 && front.y >= 0.0) { + -- to = midpoint; + -- depth++; + -- choices *= 2; + -- } else if(back.x <= 0.0 && back.y >= 0.0) { + -- from = midpoint; + -- depth++; + -- choices = choices * 2 + 1; + -- } else { + -- // This could be possibly helped by https://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightBinSearch + -- for(int j = MAX_DEPTH - 1; j > 0; j--) { + -- if(j > depth) + -- continue; + -- depth--; + -- choices /= 2; + -- if(choices / 2 * 2 == choices) { + -- midpoint = to; + -- to = to + (to - from); + -- vec2 back = interval""" ++ suffix ++ """(p, midpoint, to); + -- if(back.x <= 0.0 && back.y >= 0.0) { + -- from = midpoint; + -- depth++; + -- choices = choices * 2 + 1; + -- break; + -- } + -- } else { + -- from = from - (to - from); + -- } + -- } + -- if(depth == 0) + -- return vec3(0,0,0); + -- } + -- } + -- return vec3(0,0,0); + -- } + -- """ + let + _ = + Debug.todo + in + "" - head :: tail -> - List.foldl (\e a -> call2 (unknownTypedName <| "g" ++ Expression.functionNameToString name) a e) head tail - else - unsafeCall ("g" ++ Expression.functionNameToString name) (List.map go ex) +toSrcVectorField2D : String -> Expression.Expression -> Expression.Expression -> String +toSrcVectorField2D suffix x y = + -- """ + -- vec2 vector""" ++ suffix ++ """(float x, float y) { + -- vec2 xv = """ ++ expressionToGlsl x ++ """; + -- vec2 yv = """ ++ expressionToGlsl y ++ """; + -- return abs(xv.y) + abs(yv.y) < """ ++ floatToGlsl epsilon ++ """ ? vec2(xv.x, yv.x) : vec2(0,0); + -- } + -- bool near(vec2 o, vec2 corner, vec2 vector, float deltaX, float mx) { + -- float angleCorner = arg(o - corner); + -- float angleVector = arg(vector); + -- float delta = mod(angleCorner - angleVector, radians(360.0)); + -- float l = length(vector) / mx; + -- float maxLength = deltaX * VECTOR_SPACING * (l < """ ++ floatToGlsl epsilon ++ """ ? 0.0 : l / 2.0 + 0.5); + -- float wantedLength = length(o - corner); + -- float angularDistance = mix(180.0, 0.0, pow(wantedLength / maxLength, 0.3)); + -- return (delta < radians(angularDistance) || delta > radians(360.0 - angularDistance)) && wantedLength < maxLength; + -- } + -- vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { + -- vec2 o = vec2(x, y); + -- float mx = 0.0; + -- for(int xi = -X_POINTS; xi <= X_POINTS; xi++) { + -- for(int yi = -Y_POINTS; yi <= Y_POINTS; yi++) { + -- vec2 p = u_zoomCenter + vec2(deltaX * VECTOR_SPACING * float(xi), deltaX * VECTOR_SPACING * float(yi)); + -- vec2 v = vector""" ++ suffix ++ """(p.x, p.y); + -- mx = max(mx, length(v)); + -- } + -- } + -- vec3 colorA = vec3(0.0, 1.0, 0.0); + -- vec3 colorB = vec3(0.0, 0.0, 1.0); + -- x = o.x - mod(o.x, deltaX * VECTOR_SPACING); + -- y = o.y - mod(o.y, deltaX * VECTOR_SPACING); + -- vec2 bl = vector""" ++ suffix ++ """(x, y); + -- vec2 br = vector""" ++ suffix ++ """(x + deltaX * VECTOR_SPACING, y); + -- vec2 ul = vector""" ++ suffix ++ """(x, y + deltaX * VECTOR_SPACING); + -- vec2 ur = vector""" ++ suffix ++ """(x + deltaX * VECTOR_SPACING, y + deltaX * VECTOR_SPACING); + -- float angleO; + -- vec2 corner; + -- float l; + -- corner = vec2(x, y); + -- l = length(bl) / mx; + -- if(near(o, corner, bl, deltaX, mx)) + -- return mix(colorA, colorB, l); + -- corner = vec2(x + deltaX * VECTOR_SPACING, y); + -- l = length(br) / mx; + -- if(near(o, corner, br, deltaX, mx)) + -- return mix(colorA, colorB, l); + -- corner = vec2(x, y + deltaX * VECTOR_SPACING); + -- l = length(ul) / mx; + -- if(near(o, corner, ul, deltaX, mx)) + -- return mix(colorA, colorB, l); + -- corner = vec2(x + deltaX * VECTOR_SPACING, y + deltaX * VECTOR_SPACING); + -- l = length(ur) / mx; + -- if(near(o, corner, ur, deltaX, mx)) + -- return mix(colorA, colorB, l); + -- return vec3(0,0,0); + -- } + -- """ + let + _ = + Debug.todo + in + "" - PList es -> - unsafeCall ("vec" ++ String.fromInt (List.length es)) (List.map go es) - PReplace var e -> - go (Expression.pfullSubstitute var e) +toSrcContour : String -> ToGlslExpression -> String +toSrcContour suffix e = + -- """ + -- vec3 pixel""" ++ suffix ++ """_o(float deltaX, float deltaY, float x, float y) { + -- vec2 z = """ ++ expressionToGlslComplex e ++ """; + -- float theta = atan(z.y, z.x) / radians(360.0); + -- float logRadius = log2(length(z)); + -- float powerRemainder = fract(logRadius); + -- float squished = 0.7 - powerRemainder * 0.4; + -- if(u_completelyReal > 0.0) { + -- float haf = fract(logRadius) / 6.0; + -- if(z.x > 0.0) + -- return hl2rgb(haf + 0.3, squished); + -- else + -- return hl2rgb(haf - 0.1, 1.0 - squished); + -- } + -- float td = thetaDelta(theta); + -- float l = mix(1.0, squished, smoothstep(0.0, 1.0, td)); + -- return hl2rgb(theta, l); + -- } + -- vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { + -- // Antialiasing + -- float dist = 1.0 / 3.0; + -- vec3 a = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x + dist * deltaX, y + dist * deltaY); + -- vec3 b = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x - dist * deltaX, y - dist * deltaY); + -- vec3 c = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x + dist * deltaX, y - dist * deltaY); + -- vec3 d = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x - dist * deltaX, y + dist * deltaY); + -- vec3 diff = abs(max(a, max(b, max(c, d))) - min(a, min(b, min(c, d)))); + -- if (diff.x < dist && diff.y < dist && diff.z < dist) + -- return (a + b + c + d) / 4.0; + -- vec3 e = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x + 2.0 * dist * deltaX, y); + -- vec3 f = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x - 2.0 * dist * deltaX, y); + -- vec3 g = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x, y - 2.0 * dist * deltaY); + -- vec3 h = pixel""" ++ suffix ++ """_o(deltaX, deltaY, x, y + 2.0 * dist * deltaY); + -- return (a + b + c + d + e + f + g + h) / 8.0; + -- } + -- """ + let + _ = + Debug.todo + in + "" - PVariable _ -> - vec4Zero - -- If this happens, it's too late - PLambda _ _ -> - vec4Zero +toSrcRelation : String -> Expr -> String +toSrcRelation suffix e = + -- """ + -- vec3 pixel""" ++ suffix ++ """(float deltaX, float deltaY, float x, float y) { + -- vec2 complex = """ ++ expressionToGlsl e ++ """; + -- return complex.x > 0.0 && abs(complex.y) < """ ++ floatToGlsl epsilon ++ """ ? vec3(0.8,0.5,0.5) : vec3(0,0,0); + -- } + -- """ + let + _ = + Debug.todo in - toPrintExpression >> go + "" mainGlsl : - Uniforms - -> Bool + Bool -> List - { name : TypedName (Float -> Float -> Float -> Float -> Vec3) + { call : + Expression Float + -> Expression Float + -> Expression Float + -> Expression Float + -> Expression Vec3 , color : Bool } -> List String -> String -mainGlsl uniforms rayDifferentials pixel2 pixel3 = - case ( pixel2, pixel3 ) of - ( _, [] ) -> - Generator.fileToGlsl <| - main2D uniforms pixel2 - ++ [ fun0 voidT "main" <| - [ assign gl_FragColor <| call0 (unknownTypedName "pixel2") ] - ] - - ( [], _ ) -> - main3D rayDifferentials pixel3 - ++ "\n\n" - ++ Generator.fileToGlsl - [ fun0 voidT "main" <| - [ assign gl_FragColor <| call0 (unknownTypedName "pixel3") ] - ] - - _ -> - Generator.fileToGlsl (main2D uniforms pixel2) - ++ "\n\n" - ++ main3D rayDifferentials pixel3 - ++ Generator.fileToGlsl - [ fun0 voidT "main" <| - [ assign gl_FragColor <| max_ (call0 (unknownTypedName "pixel2")) (call0 (unknownTypedName "pixel3")) ] - ] +mainGlsl rayDifferentials pixel2 pixel3 = + (case ( pixel2, pixel3 ) of + ( [], [] ) -> + vec4Zero + ( _ :: _, [] ) -> + main2D pixel2 -main2D : - Uniforms - -> - List - { name : TypedName (Float -> Float -> Float -> Float -> Vec3) - , color : Bool - } - -> File -main2D uniforms pixels = - [ log10Decl - , axisDecl - , pixel2Decl uniforms pixels - ] + ( [], _ :: _ ) -> + main3D rayDifferentials pixel3 + ( _ :: _, _ :: _ ) -> + max44 + (main2D pixel2) + (main3D rayDifferentials pixel3) + ) + |> assign gl_FragColor + |> expr + |> main_ + |> Generator.fileToGlsl -pixel2Decl : - Uniforms - -> - List - { name : TypedName (Float -> Float -> Float -> Float -> Vec3) - , color : Bool - } - -> FunDecl -pixel2Decl uniforms pixels = - let - addPixel : + +main2D : + List + { call : Expression Float -> Expression Float -> Expression Float -> Expression Float -> Expression Vec3 - -> Expression Vec3 - -> Int + , color : Bool + } + -> Expression Vec4 +main2D pixels = + let + maybeColor : Int -> Bool -> Expression Vec3 -> Expression Vec3 + maybeColor i color innerCall = + if color then + let + h : Expression Float + h = + (toFloat (i + 2) / pi) + |> float1 + in + by33 (hl2rgb11 h (float1 0.5)) innerCall + + else + innerCall + in + fun0 vec4T "pixel2" <| \_ -> + def vec2T "canvasSize" (vec211 u_canvasWidth u_canvasHeight) <| \canvasSize -> + def vec2T "uv_centered" (subtract22 (gl_FragCoord |> dot4XY) (by12 (float1 0.5) canvasSize)) <| \uv_centered -> + def vec2T "viewportSize" (by12 (div11 u_viewportWidth u_canvasWidth) canvasSize) <| \viewportSize -> + def vec2T "uv" (by22 (div22 uv_centered canvasSize) viewportSize) <| \uv -> + def vec2T "c" (add22 u_zoomCenter uv) <| \c -> + float "x" (c |> dot2X) <| \x -> + float "y" (c |> dot2Y) <| \y -> + float "deltaX" (div11 u_viewportWidth u_canvasWidth) <| \deltaX -> + float "deltaY" (div11 u_viewportWidth u_canvasHeight) <| \deltaY -> + vec3 "px" vec3Zero <| \px -> + decl vec3T "curr" <| \curr -> + let + addPixel : + Int -> - { name : TypedName (Float -> Float -> Float -> Float -> Vec3) + { call : Expression Float -> Expression Float -> Expression Float -> Expression Float -> Expression Vec3 , color : Bool } - -> List (Statement f) - addPixel deltaX deltaY x y px curr i { name, color } = + -> Glsl.Statement r + -> Glsl.Statement r + addPixel i { call, color } cont = let - k = - if color then - let - h = - float <| (toFloat (i + 2) / pi) - in - by (call2 (unknownTypedName "hl2rgb") h (float 0.5)) (call4 name deltaX deltaY x y) - - else - call4 name deltaX deltaY x y + inColor = + maybeColor i color (call deltaX deltaY x y) in - [ assign curr k - , assign px <| ternary (eq curr vec3Zero) px curr - ] + expr (assign curr inColor) <| \_ -> + expr (assign px (ternary3 (eq curr vec3Zero) px curr)) <| \_ -> + cont - inner deltaX deltaY x y px curr = + inner : Glsl.Statement r -> Glsl.Statement r + inner cont = pixels - |> List.indexedMap (addPixel deltaX deltaY x y px curr) - |> List.concat + |> List.indexedMap addPixel + |> List.foldr identity cont in - fun0 vec4T "pixel2" <| - def vec2T "canvasSize" (vec2 uniforms.u_canvasWidth uniforms.u_canvasHeight) <| - \canvasSize -> - def vec2T "uv_centered" (subtract (dotted4 gl_FragCoord).xy (byF (float 0.5) canvasSize)) <| - \uv_centered -> - def vec2T "viewportSize" (byF (div uniforms.u_viewportWidth uniforms.u_canvasWidth) canvasSize) <| - \viewportSize -> - def vec2T "uv" (by (div uv_centered canvasSize) viewportSize) <| - \uv -> - def vec2T "c" (add uniforms.u_zoomCenter uv) <| - \c -> - def floatT "x" (dotted2 c).x <| - \x -> - def floatT "y" (dotted2 c).y <| - \y -> - def floatT "deltaX" (div uniforms.u_viewportWidth uniforms.u_canvasWidth) <| - \deltaX -> - def floatT "deltaY" (div uniforms.u_viewportWidth uniforms.u_canvasHeight) <| - \deltaY -> - def vec3T "px" vec3Zero <| - \px -> - decl vec3T "curr" <| - \curr -> - inner deltaX deltaY x y px curr - ++ (def floatT "maxDelta" (max_ deltaX deltaY) <| - \maxDelta -> - def vec3T - "yax" - (ternary - (eq uniforms.u_drawAxes one) - (byF (axis x y maxDelta) (vec3 zero one zero)) - vec3Zero - ) - <| - \yax -> - def vec3T - "xax" - (ternary - (eq uniforms.u_drawAxes one) - (byF (axis y x maxDelta) (vec3 one zero zero)) - vec3Zero - ) - <| - \xax -> - [ return <| vec4_3_1 (max_ px (max_ xax yax)) one - ] - ) - - -axisTuple : ( FunDecl, Expression Float -> Expression Float -> Expression Float -> Expression Float ) -axisTuple = - fun3 floatT "axis" (floatT "coord") (floatT "otherCoord") (floatT "maxDelta") <| - \coord otherCoord maxDelta -> - def floatT "across" (subtract one <| abs_ <| div coord maxDelta) <| - \across -> - if_ (lt across (float -12)) - (return zero) - :: (def floatT "smallUnit" (pow (float 10) (ceil_ (log10 maxDelta))) <| - \smallUnit -> - if_ (ands [ lt across zero, lt (abs_ otherCoord) (by maxDelta (float 2)) ]) - (return zero) - :: (def floatT - "unit" - (ternary - (lt across (float -6)) - (by smallUnit (float 100)) - (ternary - (lt across (float -0.1)) - (by smallUnit (float 10)) - (by smallUnit (float 5)) - ) - ) - <| - \unit -> - def floatT "parallel" (ternary (lt (mod (abs_ otherCoord) unit) maxDelta) one zero) <| - \parallel -> - [ return <| max_ zero (max_ across parallel) ] - ) - ) - - -axis : Expression Float -> Expression Float -> Expression Float -> Expression Float -axis = - Tuple.second axisTuple - - -axisDecl : FunDecl -axisDecl = - Tuple.first axisTuple - - -toSrc3D : Bool -> String -> Expression.Expression -> File + inner <| + float "maxDelta" (max11 deltaX deltaY) <| \maxDelta -> + vec3 + "yax" + (ternary3 (eq u_drawAxes one) + (by13 (axis111 x y maxDelta) (vec3111 zero one zero)) + vec3Zero + ) + <| \yax -> + vec3 + "xax" + (ternary3 (eq u_drawAxes one) + (by13 (axis111 y x maxDelta) (vec3111 one zero zero)) + vec3Zero + ) + <| \xax -> + return (vec431 (max33 px (max33 xax yax)) one) + + +toSrc3D : Bool -> String -> Expr -> String toSrc3D expandIntervals suffix e = - [ Tuple.first <| - fun1 vec3T ("normal" ++ suffix) (vec3T "p") <| - \p -> - let - dp = - dotted3 p - in - def floatT "x" dp.x <| - \x -> - def floatT "y" dp.y <| - \y -> - def floatT "z" dp.z <| - \z -> - def vec4T "gradient" (expressionToNormalGlsl { x = x, y = y, z = z } e) <| - \gradient -> - [ return <| normalize (dotted4 gradient).yzw ] - , Tuple.first <| - fun2 vec2T ("interval" ++ suffix) (mat3T "f") (mat3T "t") <| - \f t -> - def vec3T "mn" (min_ (arr f <| int 0) (arr t <| int 0)) <| - \mn -> - def vec3T "mx" (max_ (arr f <| int 1) (arr t <| int 1)) <| - \mx -> - let - dmn = - dotted3 mn - - dmx = - dotted3 mx - in - def vec2T "x" (vec2 dmn.x dmx.x) <| - \x -> - def vec2T "y" (vec2 dmn.y dmx.y) <| - \y -> - def vec2T "z" (vec2 dmn.z dmx.z) <| - \z -> - [ return <| unknown <| expressionToIntervalGlsl expandIntervals e ] - ] - - -main3D : Bool -> List String -> String + -- """ + -- vec3 normal""" ++ suffix ++ """(vec3 p) { + -- float x = p.x; + -- float y = p.y; + -- float z = p.z; + -- vec4 gradient = """ ++ expressionToNormalGlsl e ++ """; + -- return normalize(gradient.yzw); + -- } + -- vec2 interval""" ++ suffix ++ """(mat3 f, mat3 t) { + -- vec3 mn = min(f[0], t[0]); + -- vec3 mx = max(f[1], t[1]); + -- vec2 x = vec2(mn.x, mx.x); + -- vec2 y = vec2(mn.y, mx.y); + -- vec2 z = vec2(mn.z, mx.z); + -- return """ ++ expressionToIntervalGlsl expandIntervals e ++ """; + -- } + -- """ + let + _ = + Debug.todo + in + "" + + +main3D : Bool -> List String -> Expression Vec4 main3D rayDifferentials suffixes = let - k = - if rayDifferentials then - "0.001" + iif b t f = + if b then + t else - "0.0" - - block = - """ - vec4 pixel3 () { - float eye_dist = 2.0 * u_viewportWidth; - vec2 canvasSize = vec2(u_canvasWidth, u_canvasHeight); - vec2 uv_centered = gl_FragCoord.xy - 0.5 * canvasSize; - vec2 uv_normalized = 1.0 / u_canvasHeight * uv_centered; - - float t = u_theta + 0.58; - float p = -2.0 * u_phi; - vec3 eye = eye_dist * normalize(vec3( - cos(t) * sin(p), - cos(t) * -cos(p), - sin(t) - )); - - vec3 target = vec3(0); - vec3 to_target = normalize(target-eye); - vec3 across = normalize(cross(to_target, vec3(0,0,1))); - vec3 up = normalize(cross(across, to_target)); - - vec3 canvas_center = eye + to_target; - vec3 canvas_point = canvas_center + uv_normalized.x * across + uv_normalized.y * up; - - vec3 ray_direction = normalize(canvas_point - eye); - - vec3 diffs = abs(fwidth(ray_direction)); - float k = """ ++ k ++ """; - mat3 d = mat3(ray_direction - k * diffs, ray_direction + k * diffs, vec3(0)); - - float max_distance = 100.0 * eye_dist; - return raytrace(canvas_point, d, max_distance); - } - """ + f in - deindent 12 <| raytrace suffixes ++ block - - -raytrace : List String -> String -raytrace suffixes = + fun0 vec4T "pixel3" <| \_ -> + float "eye_dist" (by11 (float1 2) u_viewportWidth) <| \eye_dist -> + vec2 "canvasSize" (vec211 u_canvasWidth u_canvasHeight) <| \canvasSize -> + vec2 "uv_centered" (subtract22 (gl_FragCoord |> dot4XY) (by12 (float1 0.5) canvasSize)) <| \uv_centered -> + vec2 "uv_normalized" (by12 (div11 one u_canvasHeight) uv_centered) <| \uv_normalized -> + float "t" (add11 u_theta (float1 0.58)) <| \t -> + float "p" (by11 (float1 -2) u_phi) <| \p -> + vec3 + "eye" + (by13 eye_dist + (normalize3 + (vec3111 + (by11 (cos1 t) (sin1 p)) + (by11 (cos1 t) (negate1 (cos1 p))) + (sin1 t) + ) + ) + ) + <| \eye -> + vec3 "target" vec3Zero <| \target -> + vec3 "to_target" (normalize3 (subtract33 target eye)) <| \to_target -> + vec3 "across" (normalize3 (cross33 to_target (vec3111 zero zero one))) <| \across -> + vec3 "up" (normalize3 (cross33 across to_target)) <| \up -> + vec3 "canvas_center" (add33 eye to_target) <| \canvas_center -> + vec3 + "canvas_point" + (adds3 + [ canvas_center + , by13 (uv_normalized |> dot2X) across + , by13 (uv_normalized |> dot2Y) up + ] + ) + <| \canvas_point -> + vec3 "ray_direction" (normalize3 (subtract33 canvas_point eye)) <| \ray_direction -> + vec3 "diffs" (abs3 (fwidth3 ray_direction)) <| \diffs -> + float "k" (iif rayDifferentials (float1 0.001) zero) <| \k -> + mat3 "d" + (mat3333 + (subtract33 ray_direction (by13 k diffs)) + (add33 ray_direction (by13 k diffs)) + vec3Zero + ) + <| \d -> + float "max_distance" (by11 (float1 100) eye_dist) <| \max_distance -> + return (raytrace suffixes canvas_point d max_distance) + + +raytrace : List String -> a -> b -> c -> Expression Vec4 +raytrace suffixes _ _ _ = let colorCoeff = floatToGlsl (1.19 - 0.2 * toFloat (List.length suffixes)) @@ -1976,7 +975,6 @@ raytrace suffixes = """ ++ innerTrace ++ """ if(found_index >= 0) { float hue_based_on_index = (float(found_index))*radians(360.0 / 1.1); - vec3 ld = normalize(vec3(-0.3, 0.0, 1.0)); vec3 diffs = d[1] - d[0]; mat3 light_direction = mat3(ld - 0.5 * diffs, ld + 0.5 * diffs, vec3(0)); @@ -1985,7 +983,6 @@ raytrace suffixes = vec3 offseted = found + 0.0001 * max_distance * normalize(o - found); if(0 == 1) { } """ ++ innerLightTrace ++ """ - vec3 px = mix( hl2rgb(hue_based_on_index, light_coeff), hl2rgb(found.z * 0.5, light_coeff), @@ -1999,82 +996,310 @@ raytrace suffixes = """ -threshold : String -threshold = - "0.000001 * max_distance" - - suffixToBisect : String -> String suffixToBisect suffix = """ - bool bisect""" ++ suffix ++ """(vec3 o, mat3 d, float max_distance, out vec3 found) { - mat3 from = mat3(o, o, vec3(0)); - mat3 to = from + max_distance * d; - float ithreshold = """ ++ threshold ++ """; - int depth = 0; - int choices = 0; - for(int it = 0; it < MAX_ITERATIONS; it++) { - mat3 midpoint = 0.5 * (from + to); - vec2 front = interval""" ++ suffix ++ """(from, midpoint); - vec2 back = interval""" ++ suffix ++ """(midpoint, to); - if(depth >= MAX_DEPTH - || (front.y - front.x < ithreshold && front.x <= 0.0 && front.y >= 0.0) - || (back.y - back.x < ithreshold && back.x <= 0.0 && back.y >= 0.0) - ) { - found = mix(midpoint[0], midpoint[1], 0.5); - return true; - } - if(front.x <= 0.0 && front.y >= 0.0) { - to = midpoint; - depth++; - choices = left_shift(choices); - } else if(back.x <= 0.0 && back.y >= 0.0) { - from = midpoint; - depth++; - choices = left_shift_increment(choices); - } else { - // This could be possibly helped by https://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightBinSearch - for(int j = MAX_DEPTH - 1; j > 0; j--) { - if(j > depth) - continue; - depth--; - choices = right_shift(choices); - if(is_even(choices)) { - midpoint = to; - to = to + (to - from); - vec2 back = interval""" ++ suffix ++ """(midpoint, to); - if(back.x <= 0.0 && back.y >= 0.0) { - from = midpoint; - depth++; - choices = left_shift_increment(choices); - break; - } - } else { - from = from - (to - from); + bool bisect""" ++ suffix ++ """(vec3 o, mat3 d, float max_distance, out vec3 found) { + mat3 from = mat3(o, o, vec3(0)); + mat3 to = from + max_distance * d; + float ithreshold = """ ++ threshold ++ """; + int depth = 0; + int choices = 0; + for(int it = 0; it < MAX_ITERATIONS; it++) { + mat3 midpoint = 0.5 * (from + to); + vec2 front = interval""" ++ suffix ++ """(from, midpoint); + vec2 back = interval""" ++ suffix ++ """(midpoint, to); + if(depth >= MAX_DEPTH + || (front.y - front.x < ithreshold && front.x <= 0.0 && front.y >= 0.0) + || (back.y - back.x < ithreshold && back.x <= 0.0 && back.y >= 0.0) + ) { + found = mix(midpoint[0], midpoint[1], 0.5); + return true; + } + if(front.x <= 0.0 && front.y >= 0.0) { + to = midpoint; + depth++; + choices = left_shift(choices); + } else if(back.x <= 0.0 && back.y >= 0.0) { + from = midpoint; + depth++; + choices = left_shift_increment(choices); + } else { + // This could be possibly helped by https://graphics.stanford.edu/~seander/bithacks.html#ZerosOnRightBinSearch + for(int j = MAX_DEPTH - 1; j > 0; j--) { + if(j > depth) + continue; + depth--; + choices = right_shift(choices); + if(is_even(choices)) { + midpoint = to; + to = to + (to - from); + vec2 back = interval""" ++ suffix ++ """(midpoint, to); + if(back.x <= 0.0 && back.y >= 0.0) { + from = midpoint; + depth++; + choices = left_shift_increment(choices); + break; } + } else { + from = from - (to - from); } - if(depth == 0) - return false; } + if(depth == 0) + return false; } - return false; } - """ - - -deindent : Int -> String -> String -deindent i = + return false; + } +""" + + +type VisitExpression a + = VInteger Int + | VFloat Float + | VVariable String + | VAdd a a + | VSubtract a a + | VNegate a + | VBy a a + | VDiv a a + | VRel RelationOperation a a + | VPower a a + | VSquare a + | VPowerF a Float + | VList (List (Expression Float)) + + +visit : + { expr : VisitExpression a -> a + , function1 : Function1 -> a -> a + , function2 : Function2 -> a -> a -> a + , function3 : Function3 -> a -> a -> a -> a + } + -> ToGlslExpression + -> a +visit ({ expr, function1, function2, function3 } as cfg) p = let - s = - String.repeat i " " + expr1 f l = + expr (f (visit cfg l)) + + expr2 f l r = + expr (f (visit cfg l) (visit cfg r)) in - String.split "\n" - >> List.map - (\l -> - if String.startsWith s l then - String.dropLeft i l + case p of + TGInteger i -> + expr (VInteger i) - else - l - ) - >> String.join "\n" + TGFloat f -> + expr (VFloat f) + + TGVariable v -> + expr (VVariable v) + + TGNegate e -> + expr1 VNegate e + + TGAdd l (TGNegate r) -> + expr2 VSubtract l r + + TGAdd l r -> + expr2 VAdd l r + + TGBy l r -> + expr2 VBy l r + + TGDiv l r -> + expr2 VDiv l r + + TGRel op l r -> + expr2 (VRel op) l r + + TGPower l (TGInteger i) -> + if i == 2 then + expr1 VSquare l + + else + expr1 (\le -> VPowerF le (toFloat i)) l + + TGPower l (TGFloat f) -> + if f == 2 then + expr1 VSquare l + + else + expr1 (\le -> VPowerF le f) l + + TGPower l r -> + expr2 VPower l r + + TGList es -> + expr (VList (List.map expressionToGlsl es)) + + TGApply (TGApply1 f1 l) -> + function1 f1 (visit cfg l) + + TGApply (TGApply2 f2 l r) -> + function2 f2 (visit cfg l) (visit cfg r) + + TGApply (TGApply3 f3 l m r) -> + function3 f3 (visit cfg l) (visit cfg m) (visit cfg r) + + +expressionToGlsl : ToGlslExpression -> Expression Float +expressionToGlsl = + visit + { expr = + \expr -> + case expr of + VInteger i -> + float1 (toFloat i) + + VFloat f -> + float1 f + + VVariable v -> + var v + + VAdd l r -> + add11 l r + + VNegate l -> + negate1 l + + VSubtract l r -> + subtract11 l r + + VBy l r -> + by11 l r + + VDiv l r -> + div11 l r + + VRel op l r -> + unsafeTypecast <| + case op of + LessThan -> + lt l r + + LessThanOrEquals -> + Debug.todo "branch 'LessThanOrEquals' not implemented" + + Equals -> + Debug.todo "branch 'Equals' not implemented" + + NotEquals -> + Debug.todo "branch 'NotEquals' not implemented" + + GreaterThanOrEquals -> + Debug.todo "branch 'GreaterThanOrEquals' not implemented" + + GreaterThan -> + Debug.todo "branch 'GreaterThan' not implemented" + + VPower l r -> + pow11 l r + + VList _ -> + Debug.todo "branch 'VList _' not implemented" + + VSquare _ -> + Debug.todo "branch 'VSquare _' not implemented" + + VPowerF _ _ -> + Debug.todo "branch 'VPowerF _ _' not implemented" + , function1 = + \f -> + case f of + PSin -> + sin1 + + PCos -> + Debug.todo "branch 'PCos' not implemented" + + PTan -> + Debug.todo "branch 'PTan' not implemented" + + PAsin -> + Debug.todo "branch 'PAsin' not implemented" + + PAcos -> + Debug.todo "branch 'PAcos' not implemented" + + PAtan -> + Debug.todo "branch 'PAtan' not implemented" + + PSinh -> + Debug.todo "branch 'PSinh' not implemented" + + PCosh -> + Debug.todo "branch 'PCosh' not implemented" + + PTanh -> + Debug.todo "branch 'PTanh' not implemented" + + PAbs -> + Debug.todo "branch 'PAbs' not implemented" + + PSqrt -> + Debug.todo "branch 'PSqrt' not implemented" + + PCbrt -> + Debug.todo "branch 'PCbrt' not implemented" + + PLn -> + Debug.todo "branch 'PLn' not implemented" + + PLog10 -> + Debug.todo "branch 'PLog10' not implemented" + + PExp -> + Debug.todo "branch 'PExp' not implemented" + + PSign -> + Debug.todo "branch 'PSign' not implemented" + + PRe -> + Debug.todo "branch 'PRe' not implemented" + + PIm -> + Debug.todo "branch 'PIm' not implemented" + + PArg -> + Debug.todo "branch 'PArg' not implemented" + + PGra -> + Debug.todo "branch 'PGra' not implemented" + + PDet -> + Debug.todo "branch 'PDet' not implemented" + + PRound -> + Debug.todo "branch 'PRound' not implemented" + + PFloor -> + Debug.todo "branch 'PFloor' not implemented" + + PCeil -> + Debug.todo "branch 'PCeil' not implemented" + , function2 = + \f -> + case f of + PAtan2 -> + Debug.todo "branch 'PAtan2' not implemented" + + PMax -> + Debug.todo "branch 'PMax' not implemented" + + PMod -> + Debug.todo "branch 'PMod' not implemented" + + PMbrot -> + Debug.todo "branch 'PMbrot' not implemented" + + PMin -> + Debug.todo "branch 'PMin' not implemented" + , function3 = + \f -> + case f of + PPiecewise -> + Debug.todo "branch 'PPiecewise' not implemented" + } diff --git a/src/elm/UI/Glsl/Generator.elm b/src/elm/UI/Glsl/Generator.elm deleted file mode 100644 index 3fb5820b..00000000 --- a/src/elm/UI/Glsl/Generator.elm +++ /dev/null @@ -1,878 +0,0 @@ -module UI.Glsl.Generator exposing (Expression, File, FunDecl, Mat3, Name, Statement(..), Type, TypedName, TypingFunction, Vec2, Vec3, Vec4, abs_, add, ands, arr, assign, by, byF, call0, call1, call2, call4, ceil_, decl, def, div, dot2, dot3, dotted2, dotted3, dotted4, eq, exp, expressionToGlsl, false, fileToGlsl, float, floatT, floatToGlsl, fun0, fun1, fun2, fun3, funDeclToGlsl, geq, gl_FragColor, gl_FragCoord, gt, if_, int, leq, log, lt, mat3T, max_, min_, mod, negate_, normalize, one, pow, radians_, return, sign, statementToGlsl, subtract, ternary, true, uniform, unknown, unknownFunDecl, unknownName, unknownTypedName, unsafeCall, vec2, vec2T, vec2Zero, vec3, vec3T, vec3Zero, vec4, vec4T, vec4Zero, vec4_3_1, voidT, zero) - -import Expression exposing (RelationOperation(..)) -import Set - - -type alias File = - List FunDecl - - -type FunDecl - = FunDecl { name : String, type_ : String, body : String } - - -type Statement r - = Block String (List (Statement r)) - | Line String - | Return (Expression r) - | Expression (Expression Never) - | Decl String Name (Maybe (Expression Never)) - - -type Expression t - = Bool Bool - | Int Int - | Float Float - | Variable String - | And (Expression Bool) (Expression Bool) - | Or (Expression Bool) (Expression Bool) - | Comparison RelationOperation (Expression Never) (Expression Never) - | Ternary (Expression Bool) (Expression t) (Expression t) - | Add (Expression t) (Expression t) - | Subtract (Expression t) (Expression t) - | By (Expression t) (Expression t) - | Div (Expression t) (Expression t) - | Call String (List (Expression Never)) - | Negate (Expression t) - | Unknown String - | Dot (Expression Never) String - | Array (Expression Never) (Expression Int) - | Assign (Expression t) (Expression t) - - -type alias TypingFunction t = - String -> TypedName t - - -type alias TypedName t = - ( Type t, Name ) - - -type Type t - = Type String - - -type Name - = Name String - - - --- Internal-only functions - - -{-| UNSAFE --} -typecastExpression : Expression f -> Expression t -typecastExpression e = - case e of - Unknown u -> - Unknown u - - Bool b -> - Bool b - - Float f -> - Float f - - Int i -> - Int i - - Variable v -> - Variable v - - And l r -> - And l r - - Or l r -> - Or l r - - Comparison rel l r -> - Comparison rel l r - - Ternary c t f -> - Ternary c (typecastExpression t) (typecastExpression f) - - Negate l -> - Negate <| typecastExpression l - - Add l r -> - Add (typecastExpression l) (typecastExpression r) - - Subtract l r -> - Subtract (typecastExpression l) (typecastExpression r) - - By l r -> - By (typecastExpression l) (typecastExpression r) - - Div l r -> - Div (typecastExpression l) (typecastExpression r) - - Dot l r -> - Dot l r - - Call n args -> - Call n args - - Array l r -> - Array l r - - Assign l r -> - Assign (typecastExpression l) (typecastExpression r) - - - --- UTILS - - -fileToGlsl : File -> String -fileToGlsl decls = - decls - |> List.foldl - (\(FunDecl { name, type_, body }) ( found, output ) -> - if Set.member ( name, type_ ) found then - ( found, output ) - - else - ( Set.insert ( name, type_ ) found, body :: output ) - ) - ( Set.empty, [] ) - |> Tuple.second - |> List.reverse - |> String.join "\n\n" - - -funDeclToGlsl : FunDecl -> String -funDeclToGlsl (FunDecl { body }) = - body - - -statementToGlsl : Statement s -> String -statementToGlsl = - let - go i c = - case c of - Block h b -> - String.join "\n" <| - (indent i h ++ " {") - :: List.map (go (i + 1)) b - ++ [ indent i "}" ] - - Line l -> - indent i l ++ ";" - - Return e -> - indent i <| "return " ++ expressionToGlsl e ++ ";" - - Expression e -> - indent i <| expressionToGlsl e ++ ";" - - Decl t (Name n) (Just e) -> - indent i <| t ++ " " ++ n ++ " = " ++ expressionToGlsl e ++ ";" - - Decl t (Name n) Nothing -> - indent i <| t ++ " " ++ n ++ ";" - in - go 1 - - -expressionToGlsl : Expression t -> String -expressionToGlsl = - let - -- The numbers are precedence numbers from the GLSL spec - go : Bool -> Expression a -> String - go rec e = - case e of - Unknown u -> - u - - _ -> - go17 rec e - - go17 : Bool -> Expression b -> String - go17 rec e = - go16 rec e - - go16 : Bool -> Expression c -> String - go16 rec e = - case e of - Assign l r -> - go15 False l ++ " = " ++ go15 False r - - _ -> - go15 rec e - - go15 : Bool -> Expression d -> String - go15 rec e = - case e of - Ternary c t f -> - go14 False c ++ " ? " ++ go14 False t ++ " : " ++ go15 False f - - _ -> - go14 rec e - - go14 : Bool -> Expression e -> String - go14 rec e = - case e of - Or l r -> - go14 False (typecastExpression l) ++ " || " ++ go13 False r - - _ -> - go13 rec e - - go13 : Bool -> Expression f -> String - go13 rec e = - go12 rec e - - go12 : Bool -> Expression g -> String - go12 rec e = - case e of - And l r -> - go12 False (typecastExpression l) ++ " && " ++ go11 False r - - _ -> - go11 rec e - - go11 : Bool -> Expression h -> String - go11 rec e = - go10 rec e - - go10 : Bool -> Expression i -> String - go10 rec e = - go9 rec e - - go9 : Bool -> Expression j -> String - go9 rec e = - go8 rec e - - go8 : Bool -> Expression k -> String - go8 rec e = - case e of - Comparison Equals l r -> - go7 False l ++ " == " ++ go7 False r - - _ -> - go7 rec e - - go7 : Bool -> Expression l -> String - go7 rec e = - case e of - Comparison LessThan l r -> - go6 False l ++ " < " ++ go6 False r - - Comparison LessThanOrEquals l r -> - go6 False l ++ " <= " ++ go6 False r - - Comparison GreaterThan l r -> - go6 False l ++ " > " ++ go6 False r - - Comparison GreaterThanOrEquals l r -> - go6 False l ++ " >= " ++ go6 False r - - _ -> - go6 rec e - - go6 : Bool -> Expression m -> String - go6 rec e = - go5 rec e - - go5 : Bool -> Expression n -> String - go5 rec e = - case e of - Add l r -> - go5 False l ++ " + " ++ go4 False r - - Subtract l r -> - go5 False l ++ " - " ++ go4 False r - - _ -> - go4 rec e - - go4 : Bool -> Expression o -> String - go4 rec e = - case e of - By l r -> - go4 False l ++ " * " ++ go3 False r - - Div l r -> - go4 False l ++ " / " ++ go3 False r - - _ -> - go3 rec e - - go3 : Bool -> Expression p -> String - go3 rec e = - case e of - Negate c -> - "-" ++ go2 False c - - _ -> - go2 rec e - - go2 : Bool -> Expression q -> String - go2 rec e = - case e of - Call name args -> - name ++ "(" ++ String.join "," (List.map (go False) args) ++ ")" - - Dot l r -> - go2 False (typecastExpression l) ++ "." ++ r - - Array l r -> - go2 False (typecastExpression l) ++ "[" ++ go False r ++ "]" - - _ -> - go1 rec e - - go1 : Bool -> Expression r -> String - go1 rec e = - case e of - Bool b -> - if b then - "true" - - else - "false" - - Float f -> - floatToGlsl f - - Int i -> - String.fromInt i - - Variable v -> - v - - _ -> - if rec then - "!!!Error in toString for Glsl!!!" - - else - "(" ++ go True e ++ ")" - in - go False - - -indent : Int -> String -> String -indent i line = - String.repeat (4 * i) " " ++ line - - - ---EXPRESSIONS - - -ternary : Expression Bool -> Expression t -> Expression t -> Expression t -ternary = - Ternary - - -ands : List (Expression Bool) -> Expression Bool -ands es = - case es of - [] -> - true - - h :: t -> - List.foldl (\e a -> And a e) h t - - -true : Expression Bool -true = - Bool True - - -false : Expression Bool -false = - Bool False - - -add : Expression t -> Expression t -> Expression t -add = - Add - - -subtract : Expression t -> Expression t -> Expression t -subtract = - Subtract - - -negate_ : Expression t -> Expression t -negate_ = - Negate - - -by : Expression t -> Expression t -> Expression t -by = - By - - -byF : Expression Float -> Expression t -> Expression t -byF l = - By (typecastExpression l) - - -div : Expression t -> Expression t -> Expression t -div = - Div - - -lt : Expression t -> Expression t -> Expression Bool -lt l r = - Comparison LessThan (typecastExpression l) (typecastExpression r) - - -leq : Expression t -> Expression t -> Expression Bool -leq l r = - Comparison LessThanOrEquals (typecastExpression l) (typecastExpression r) - - -eq : Expression t -> Expression t -> Expression Bool -eq l r = - Comparison Equals (typecastExpression l) (typecastExpression r) - - -geq : Expression t -> Expression t -> Expression Bool -geq l r = - Comparison GreaterThanOrEquals (typecastExpression l) (typecastExpression r) - - -gt : Expression t -> Expression t -> Expression Bool -gt l r = - Comparison GreaterThan (typecastExpression l) (typecastExpression r) - - -unsafeCall : String -> List (Expression t) -> Expression r -unsafeCall name = - Call name << List.map typecastExpression - - -call0 : TypedName r -> Expression r -call0 ( _, Name fname ) = - Call fname [] - - -call1 : TypedName (a -> r) -> Expression a -> Expression r -call1 ( _, Name fname ) arg0 = - Call fname [ typecastExpression arg0 ] - - -call2 : TypedName (a -> b -> r) -> Expression a -> Expression b -> Expression r -call2 ( _, Name fname ) arg0 arg1 = - Call fname [ typecastExpression arg0, typecastExpression arg1 ] - - -call3 : TypedName (a -> b -> c -> r) -> Expression a -> Expression b -> Expression c -> Expression r -call3 ( _, Name fname ) arg0 arg1 arg2 = - Call fname [ typecastExpression arg0, typecastExpression arg1, typecastExpression arg2 ] - - -call4 : TypedName (a -> b -> c -> d -> r) -> Expression a -> Expression b -> Expression c -> Expression d -> Expression r -call4 ( _, Name fname ) arg0 arg1 arg2 arg3 = - Call fname [ typecastExpression arg0, typecastExpression arg1, typecastExpression arg2, typecastExpression arg3 ] - - -zero : Expression Float -zero = - Float 0 - - -one : Expression Float -one = - Float 1 - - -float : Float -> Expression Float -float = - Float - - -int : Int -> Expression Int -int = - Int - - -floatToGlsl : Float -> String -floatToGlsl f = - let - s = - String.fromFloat f - in - if String.contains "." s || String.contains "e" s then - s - - else - s ++ "." - - -abs_ : Expression t -> Expression t -abs_ = - call1 ( Type "", Name "abs" ) - - -exp : Expression t -> Expression t -exp = - call1 ( Type "", Name "exp" ) - - -log : Expression t -> Expression t -log = - call1 ( Type "", Name "log" ) - - -mod : Expression t -> Expression t -> Expression t -mod = - call2 ( Type "", Name "mod" ) - - -dotted2 : - Expression Vec2 - -> - { x : Expression Float - , y : Expression Float - } -dotted2 e = - let - tc = - typecastExpression e - in - { x = Dot tc "x" - , y = Dot tc "y" - } - - -dotted3 : - Expression Vec3 - -> - { x : Expression Float - , y : Expression Float - , z : Expression Float - } -dotted3 e = - let - tc = - typecastExpression e - in - { x = Dot tc "x" - , y = Dot tc "y" - , z = Dot tc "z" - } - - -dotted4 : - Expression Vec4 - -> - { x : Expression Float - , y : Expression Float - , z : Expression Float - , xy : Expression Vec2 - , yzw : Expression Vec3 - } -dotted4 e = - let - tc = - typecastExpression e - in - { x = Dot tc "x" - , y = Dot tc "y" - , z = Dot tc "z" - , xy = Dot tc "xy" - , yzw = Dot tc "yzw" - } - - -arr : Expression Mat3 -> Expression Int -> Expression Vec3 -arr l r = - Array (typecastExpression l) r - - -dot2 : Expression Vec2 -> Expression Vec2 -> Expression Float -dot2 = - call2 ( Type "", Name "dot" ) - - -dot3 : Expression Vec3 -> Expression Vec3 -> Expression Float -dot3 = - call2 ( Type "", Name "dot" ) - - -vec2 : Expression Float -> Expression Float -> Expression Vec2 -vec2 = - call2 ( Type "", Name "vec2" ) - - -vec2Zero : Expression Vec2 -vec2Zero = - call1 ( Type "", Name "vec2" ) (int 0) - - -vec3 : Expression Float -> Expression Float -> Expression Float -> Expression Vec3 -vec3 = - call3 ( Type "", Name "vec3" ) - - -vec3Zero : Expression Vec3 -vec3Zero = - call1 ( Type "", Name "vec3" ) (int 0) - - -vec4 : Expression Float -> Expression Float -> Expression Float -> Expression Float -> Expression Vec4 -vec4 = - call4 ( Type "", Name "vec4" ) - - -vec4Zero : Expression Vec4 -vec4Zero = - call1 ( Type "", Name "vec4" ) (int 0) - - -vec4_3_1 : Expression Vec3 -> Expression Float -> Expression Vec4 -vec4_3_1 = - call2 ( Type "", Name "vec4" ) - - -min_ : Expression t -> Expression t -> Expression t -min_ = - call2 ( Type "", Name "min" ) - - -max_ : Expression t -> Expression t -> Expression t -max_ = - call2 ( Type "", Name "max" ) - - -pow : Expression Float -> Expression Float -> Expression Float -pow = - call2 ( Type "", Name "pow" ) - - -ceil_ : Expression Float -> Expression Float -ceil_ = - call1 ( Type "", Name "ceil" ) - - -sign : Expression t -> Expression t -sign = - call1 ( Type "", Name "sign" ) - - -radians_ : Expression Float -> Expression Float -radians_ = - call1 ( Type "", Name "radians" ) - - -normalize : Expression t -> Expression t -normalize = - call1 ( Type "", Name "normalize" ) - - -unknown : String -> Expression t -unknown = - -- let - -- _ = - -- Debug.todo - -- in - Unknown - - -gl_FragColor : Expression Vec3 -gl_FragColor = - Variable "gl_FragColor" - - -gl_FragCoord : Expression Vec4 -gl_FragCoord = - Variable "gl_FragCoord" - - -uniform : TypingFunction t -> String -> Expression t -uniform _ name = - Variable name - - -unknownName : String -> Name -unknownName = - -- let - -- _ = - -- Debug.todo - -- in - Name - - -unknownTypedName : String -> TypedName t -unknownTypedName n = - -- let - -- _ = - -- Debug.todo - -- in - ( Type "", Name n ) - - - --- STATEMENTS - - -fun : TypingFunction t -> String -> List ( String, String ) -> List (Statement t) -> FunDecl -fun typeF name args body = - let - ( Type rt, _ ) = - typeF name - - argsList = - String.join ", " (List.map (\( t, n ) -> t ++ " " ++ n) args) - in - FunDecl - { name = name - , type_ = - (args ++ [ ( rt, "" ) ]) - |> List.map Tuple.first - |> String.join " -> " - , body = - String.join "\n" <| - (rt ++ " " ++ name ++ "(" ++ argsList ++ ") {") - :: List.map statementToGlsl body - ++ [ "}" ] - } - - -argToString : ( Type t, Name ) -> ( String, String ) -argToString ( Type t, Name n ) = - ( t, n ) - - -toVar : TypedName t -> Expression t -toVar ( _, Name n ) = - Variable n - - -fun0 : TypingFunction r -> String -> List (Statement r) -> FunDecl -fun0 typeF name body = - fun typeF name [] <| - body - - -fun1 : TypingFunction r -> String -> TypedName a -> (Expression a -> List (Statement r)) -> ( FunDecl, Expression a -> Expression r ) -fun1 typeF name arg0 body = - ( fun typeF name [ argToString arg0 ] <| - body (toVar arg0) - , call1 ( Type "", Name name ) - ) - - -fun2 : TypingFunction r -> String -> TypedName a -> TypedName b -> (Expression a -> Expression b -> List (Statement r)) -> ( FunDecl, Expression a -> Expression b -> Expression r ) -fun2 typeF name arg0 arg1 body = - ( fun typeF name [ argToString arg0, argToString arg1 ] <| - body (toVar arg0) (toVar arg1) - , call2 ( Type "", Name name ) - ) - - -fun3 : TypingFunction r -> String -> TypedName a -> TypedName b -> TypedName c -> (Expression a -> Expression b -> Expression c -> List (Statement r)) -> ( FunDecl, Expression a -> Expression b -> Expression c -> Expression r ) -fun3 typeF name arg0 arg1 arg2 body = - ( fun typeF name [ argToString arg0, argToString arg1, argToString arg2 ] <| - body (toVar arg0) (toVar arg1) (toVar arg2) - , call3 ( Type "", Name name ) - ) - - -if_ : Expression Bool -> Statement r -> Statement r -if_ cond ifTrue = - Block ("if(" ++ expressionToGlsl cond ++ ")") [ ifTrue ] - - -return : Expression r -> Statement r -return = - Return - - -decl : TypingFunction t -> String -> (Expression t -> List (Statement a)) -> List (Statement a) -decl typeF name k = - let - ( Type t, _ ) = - typeF name - - go = - Decl t (Name name) Nothing - in - go :: k (Variable name) - - -def : TypingFunction t -> String -> Expression t -> (Expression t -> List (Statement a)) -> List (Statement a) -def typeF name value k = - let - ( Type t, _ ) = - typeF name - - go = - Decl t (Name name) (Just <| typecastExpression value) - in - go :: k (Variable name) - - -assign : Expression t -> Expression t -> Statement a -assign name value = - Expression <| Assign (typecastExpression name) (typecastExpression value) - - -unknownFunDecl : { name : String, type_ : String, body : String } -> FunDecl -unknownFunDecl = - let - _ = - Debug.todo - in - FunDecl - - - --- TYPES - - -buildType : String -> String -> ( Type t, Name ) -buildType t n = - ( Type t, Name n ) - - -voidT : TypingFunction () -voidT = - buildType "void" - - -floatT : TypingFunction Float -floatT = - buildType "float" - - -type Vec2 - = Vec2 Vec2 - - -vec2T : TypingFunction Vec2 -vec2T = - buildType "vec2" - - -type Vec3 - = Vec3 Vec3 - - -vec3T : TypingFunction Vec3 -vec3T = - buildType "vec3" - - -type Vec4 - = Vec4 Vec4 - - -vec4T : TypingFunction Vec4 -vec4T = - buildType "vec4" - - -type Mat3 - = Mat3 Mat3 - - -mat3T : TypingFunction Mat3 -mat3T = - buildType "mat3" diff --git a/src/elm/UI/Glsl/Model.elm b/src/elm/UI/Glsl/Model.elm deleted file mode 100644 index 54fb7b91..00000000 --- a/src/elm/UI/Glsl/Model.elm +++ /dev/null @@ -1,51 +0,0 @@ -module UI.Glsl.Model exposing (GlslConstant(..), GlslFunction(..), GlslOperation(..)) - - -type GlslFunction - = Abs22 - | Acos22 - | Arg22 - | Asin22 - | Atan22 - | Atan222 - | Ceiling22 - | Cos22 - | Cosh11 - | Cosh22 - | Exp22 - | Floor22 - | Im22 - | Ln22 - | Log1022 - | Max222 - | Min222 - | Mod22 - | Mbrot22 - | Pw22 - | Re22 - | Round22 - | Sign22 - | Sin22 - | Sinh11 - | Sinh22 - | Sqrt22 - | Cbrt22 - | Square22 - | Tan22 - | Tanh11 - | Tanh22 - - -type GlslConstant - = E - | Pi - | I - - -type GlslOperation - = GlslAddition - | GlslMultiplication - | GlslNegation - | GlslDivision - | GlslPower - | GlslRelations diff --git a/src/elm/UI/Glsl/Plane.elm b/src/elm/UI/Glsl/Plane.elm index 6ff84e02..05a56321 100644 --- a/src/elm/UI/Glsl/Plane.elm +++ b/src/elm/UI/Glsl/Plane.elm @@ -2,9 +2,12 @@ module UI.Glsl.Plane exposing (Plane, asPlane, toGlsl) import Dict import Expression exposing (Expression) +import Glsl exposing (BisectSignature, float1, int) +import Glsl.Functions exposing (dot33, mix331, vec3111) +import Glsl.Operations exposing (add11, add33, array33, by13, div11, gt, negate1) import Maybe -import UI.Glsl.Code exposing (threshold) -import UI.Glsl.Generator exposing (floatToGlsl) +import UI.Glsl.Code +import UI.Glsl.Generator exposing (assignOut, boolT, def, expr, floatT, fun4, mat3T, out, return, vec3T) import UI.Glsl.Polynomial as Polynomial @@ -35,20 +38,29 @@ asPlane e = ) -toGlsl : String -> Plane -> String +toGlsl : String -> Plane -> BisectSignature toGlsl suffix (Plane { x, y, z, known }) = - -- a x + b y + c z + k = 0 - -- x = ox + t dx - -- y = oy + t dy - -- z = oz + t dz - -- a ox + a t dx + b oy + b t dy + c oz + c t dz + k = 0 - -- t (a dx + b dy + c dy) = - k - (a ox + b oy + c oz) - -- t = - (k + dot abc o) / (dot abc d) - """ - bool bisect""" ++ suffix ++ """(vec3 o, mat3 d, float max_distance, out vec3 found) { - vec3 coeffs = vec3(""" ++ floatToGlsl x ++ "," ++ floatToGlsl y ++ "," ++ floatToGlsl z ++ """); - float t = -(""" ++ floatToGlsl known ++ """ + dot(coeffs, o)) / dot(coeffs, 0.5 * (d[0] + d[1])); - found = o + t * 0.5 * (d[0] + d[1]); - return t > """ ++ threshold ++ """; - } - """ + fun4 boolT ("bisect" ++ suffix) (vec3T "o") (mat3T "d") (floatT "max_distance") (out vec3T "found") <| + \o d maxDistance found -> + -- a x + b y + c z + k = 0 + -- x = ox + t dx + -- y = oy + t dy + -- z = oz + t dz + -- a ox + a t dx + b oy + b t dy + c oz + c t dz + k = 0 + -- t (a dx + b dy + c dy) = - k - (a ox + b oy + c oz) + -- t = - (k + dot abc o) / (dot abc d) + vec3 "coeffs" (vec3111 (float1 x) (float1 y) (float1 z)) <| + \coeffs -> + vec3 "dMix" (mix331 (array33 d (int 0)) (array33 d (int 1)) (float1 0.5)) <| + \dMix -> + def floatT + "t" + (div11 + (negate1 <| add11 (float1 known) (dot33 coeffs o)) + (dot33 coeffs dMix) + ) + <| + \t -> + expr (assignOut found <| add33 o <| by13 t dMix) <| + \_ -> + return (gt t <| UI.Glsl.Code.toThreshold maxDistance) diff --git a/src/elm/UI/Glsl/Polynomial.elm b/src/elm/UI/Glsl/Polynomial.elm index e1e5e9e6..b690841f 100644 --- a/src/elm/UI/Glsl/Polynomial.elm +++ b/src/elm/UI/Glsl/Polynomial.elm @@ -1,12 +1,16 @@ -module UI.Glsl.Polynomial exposing (asPolynomial, getDegree, getSolutions) +module UI.Glsl.Polynomial exposing (asPolynomial, getDegree, glslFromPolySolutions, glslFromSolutions) import Dict exposing (Dict) import Expression exposing (AssociativeOperation(..), BinaryOperation(..), Expression(..), RelationOperation(..), UnaryOperation(..)) import Expression.Polynomial exposing (Exponents) -import Expression.Utils exposing (minus, zero) +import Expression.Utils +import Glsl exposing (BisectSignature, Bool_, Float_, Statement, Vec3, float1, int1) +import Glsl.Constants exposing (zero) +import Glsl.Functions exposing (mix331) +import Glsl.Generator exposing (ands, assignOut, boolT, def, expr, floatT, fun4, mat3T, out, return, vec3, vec3T, zero) +import Glsl.Helpers exposing (boolT, def, expr, floatT, fun4, intT, mat3T, out, return, vec3, vec3T) +import Glsl.Operations exposing (add, add33, array33, arraymi, by, by11, by13, by1v, gt, lt) import Maybe.Extra as Maybe -import UI.Glsl.Code exposing (threshold) -import UI.Glsl.Generator as Generator exposing (unknown) getDegree : Dict (List ( a, number )) b -> number @@ -22,7 +26,7 @@ asPolynomial : List String -> Expression -> Maybe (Dict Exponents Float) asPolynomial vars e = case e of RelationOperation Equals l r -> - asPolynomial vars (minus l r) + asPolynomial vars (Expression.Utils.minus l r) _ -> e @@ -64,94 +68,150 @@ toFloat e = Nothing -getSolutions : Dict Int Expression -> Maybe ( Int, List ( String, String ) ) -getSolutions poly = + +-- getSolutions : +-- Glsl.Expression Float +-- -> Dict Int Expression +-- -> +-- Maybe +-- ( Int +-- , { t : Glsl.Expression Float +-- , o : Glsl.Expression Vec3 +-- , dMix : Glsl.Expression Vec3 +-- } +-- -> Statement r +-- -> Statement r +-- ) +-- getSolutions maxDistance poly = +-- let +-- deg = +-- poly +-- |> Dict.keys +-- |> List.maximum +-- |> Maybe.withDefault 0 +-- get { dMix, o } degree = +-- Dict.get degree poly +-- |> Maybe.withDefault Expression.Utils.zero +-- |> UI.Glsl.Code.expressionToGlsl +-- -- [ ( "dx", dot3X dMix ) +-- -- , ( "dy", dot3Y dMix ) +-- -- , ( "dz", dot3Z dMix ) +-- -- , ( "o.x", dot3X o ) +-- -- , ( "o.y", dot3Y o ) +-- -- , ( "o.z", dot3Z o ) +-- -- ] +-- -- tFrom : Glsl.Expression Vec2 -> Glsl.Statement r -> Glsl.Statement r +-- tFrom { t } v = +-- expr +-- (assign t +-- (ternary +-- (or +-- (lt (dot2X v) zero) +-- (gt (abs1 <| dot2Y v) (threshold maxDistance)) +-- ) +-- t +-- (min11 (dot2X v) t) +-- ) +-- ) +-- sols = +-- case deg of +-- 1 -> +-- Just <| +-- \vars cont -> +-- -- ax + b = 0 +-- -- x = -b / a +-- def vec2T "a" (get vars 1) <| +-- \a -> +-- def vec2T "b" (get vars 0) <| +-- \b -> +-- def vec2T "x" (cdiv22 (negate2 b) a) <| +-- \x -> +-- tFrom vars x cont +-- 2 -> +-- Just <| +-- \vars cont -> +-- -- ax² + bx + c = 0 +-- def3 +-- ( vec2T "a", get vars 2 ) +-- ( vec2T "b", get vars 1 ) +-- ( vec2T "c", get vars 1 ) +-- <| +-- \a b c -> +-- def vec2T "delta" (subtract22 (cby22 b b) (by12 (float 4.0) (cby22 a c))) <| +-- \delta -> +-- def2 +-- ( vec2T "sqdelta", csqrt2 delta ) +-- ( vec2T "den", by12 (float 2.0) a ) +-- <| +-- \sqdelta den -> +-- def vec2T "pos" (cdiv22 (add22 (negate2 b) sqdelta) den) <| +-- \pos -> +-- tFrom vars pos <| +-- def vec2T "neg" (cdiv22 (add22 (negate2 b) (negate2 sqdelta)) den) <| +-- \neg -> +-- tFrom vars neg cont +-- {- 3 -> +-- [ ( "!dx", "mix(d[0].x, d[1].x, 0.5)" ) +-- , ( "!dy", "mix(d[0].y, d[1].y, 0.5)" ) +-- , ( "!dz", "mix(d[0].z, d[1].z, 0.5)" ) +-- , ( "a", get 3 ) +-- , ( "b", get 2 ) +-- , ( "c", get 1 ) +-- , ( "dd", get 0 ) +-- , ( "deltaZero", "cby(b,b) - 3.0 * cby(a,c)" ) +-- , ( "deltaOne", "2.0 * cby(b,b,b) - 9.0 * cby(a,b,c) + 27.0 * cby(a,a, dd)" ) +-- , ( "inner", "csqrt(cby(deltaOne,deltaOne) - 4.0 * cby(deltaZero,deltaZero,deltaZero))" ) +-- , ( "CargPlus", "deltaOne + inner" ) +-- , ( "CargMinus", "deltaOne - inner" ) +-- , ( "Carg", "length(CargMinus) > length(CargPlus) ? CargMinus : CargPlus" ) +-- , ( "C", "ccbrt(0.5 * Carg)" ) +-- , ( "coeff", "-cdiv(vec2(1,0), 3.0 * a)" ) +-- , ( "xi", "0.5 * vec2(-1,sqrt(3.0))" ) +-- , ( "x", "cby(coeff, b + C + cdiv(deltaZero, C))" ) +-- , tFrom "x" +-- , ( "C", "cby(xi,C)" ) +-- , ( "x", "cby(coeff, b + C + cdiv(deltaZero, C))" ) +-- , tFrom "x" +-- , ( "C", "cby(xi,C)" ) +-- , ( "x", "cby(coeff, b + C + cdiv(deltaZero, C))" ) +-- , tFrom "x" +-- ] +-- -} +-- _ -> +-- Nothing +-- in +-- Maybe.map (Tuple.pair deg) sols + + +glslFromSolutions : + String + -> + ({ t : Glsl.Expression Float_ + , o : Glsl.Expression Vec3 + , dMix : Glsl.Expression Vec3 + } + -> (() -> Statement Bool_) + -> Statement Bool_ + ) + -> BisectSignature +glslFromSolutions suffix sols = + fun4 boolT ("bisect" ++ suffix) (vec3T "o") (mat3T "d") (floatT "max_distance") (out vec3T "found") <| \o d maxDistance found -> + vec3 "dMix" (mix331 (array33 d (int1 0)) (array33 d (int1 1)) (float1 0.5)) <| \dMix -> + def floatT "t" (by maxDistance <| float1 2) <| \t -> + sols { dMix = dMix, o = o, t = t } <| \_ -> + expr (assignOut found (add o (by1v t (mix331 (arraymi d (int1 0)) (array33 d (int1 1)) (float1 0.5))))) <| \_ -> + return (ands [ lt t maxDistance, gt t zero ]) + + +glslFromPolySolutions : + String + -> Glsl.Expression Float + -> Dict Int Expression + -> Maybe BisectSignature +glslFromPolySolutions suffix maxDistance poly = + -- getSolutions maxDistance poly |> Maybe.map (\( _, sols ) -> glslFromSolutions suffix sols) let - deg = - poly - |> Dict.keys - |> List.maximum - |> Maybe.withDefault 0 - - get d = - Dict.get d poly - |> Maybe.withDefault zero - |> UI.Glsl.Code.expressionToGlsl - [ ( "dx", unknown "dx" ) - , ( "dy", unknown "dy" ) - , ( "dz", unknown "dz" ) - , ( "o.x", unknown "o.x" ) - , ( "o.y", unknown "o.y" ) - , ( "o.z", unknown "o.z" ) - ] - |> Generator.expressionToGlsl - - tFrom v = - ( "t", v ++ ".x < 0.0 || abs(" ++ v ++ ".y) > " ++ threshold ++ " ? t : min(" ++ v ++ ".x, t)" ) - - sols = - case deg of - 1 -> - -- ax + b = 0 - -- x = -b / a - [ ( "!dx", "mix(d[0].x, d[1].x, 0.5)" ) - , ( "!dy", "mix(d[0].y, d[1].y, 0.5)" ) - , ( "!dz", "mix(d[0].z, d[1].z, 0.5)" ) - , ( "a", get 1 ) - , ( "b", get 0 ) - , ( "x", "div(-b, a)" ) - , tFrom "x" - ] - - 2 -> - -- ax² + bx + c = 0 - [ ( "!dx", "mix(d[0].x, d[1].x, 0.5)" ) - , ( "!dy", "mix(d[0].y, d[1].y, 0.5)" ) - , ( "!dz", "mix(d[0].z, d[1].z, 0.5)" ) - , ( "a", get 2 ) - , ( "b", get 1 ) - , ( "c", get 0 ) - , ( "delta", "by(b,b) - 4.0 * by(a,c)" ) - , ( "sqdelta", "csqrt(delta)" ) - , ( "den", "2.0 * a" ) - , ( "pos", "div(- b + sqdelta, den)" ) - , tFrom "pos" - , ( "neg", "div(- b - sqdelta, den)" ) - , tFrom "neg" - ] - - {- 3 -> - [ ( "!dx", "mix(d[0].x, d[1].x, 0.5)" ) - , ( "!dy", "mix(d[0].y, d[1].y, 0.5)" ) - , ( "!dz", "mix(d[0].z, d[1].z, 0.5)" ) - , ( "a", get 3 ) - , ( "b", get 2 ) - , ( "c", get 1 ) - , ( "dd", get 0 ) - , ( "deltaZero", "by(b,b) - 3.0 * by(a,c)" ) - , ( "deltaOne", "2.0 * by(b,b,b) - 9.0 * by(a,b,c) + 27.0 * by(a,a, dd)" ) - , ( "inner", "csqrt(by(deltaOne,deltaOne) - 4.0 * by(deltaZero,deltaZero,deltaZero))" ) - , ( "CargPlus", "deltaOne + inner" ) - , ( "CargMinus", "deltaOne - inner" ) - , ( "Carg", "length(CargMinus) > length(CargPlus) ? CargMinus : CargPlus" ) - , ( "C", "ccbrt(0.5 * Carg)" ) - , ( "coeff", "-div(vec2(1,0), 3.0 * a)" ) - , ( "xi", "0.5 * vec2(-1,sqrt(3.0))" ) - , ( "x", "by(coeff, b + C + div(deltaZero, C))" ) - , tFrom "x" - , ( "C", "by(xi,C)" ) - , ( "x", "by(coeff, b + C + div(deltaZero, C))" ) - , tFrom "x" - , ( "C", "by(xi,C)" ) - , ( "x", "by(coeff, b + C + div(deltaZero, C))" ) - , tFrom "x" - ] - -} - _ -> - [] + _ = + Debug.todo in - if List.isEmpty sols then - Nothing - - else - Just ( deg, sols ) + Nothing diff --git a/src/elm/UI/Glsl/Sphere.elm b/src/elm/UI/Glsl/Sphere.elm index fed0094e..7a6da98a 100644 --- a/src/elm/UI/Glsl/Sphere.elm +++ b/src/elm/UI/Glsl/Sphere.elm @@ -3,8 +3,12 @@ module UI.Glsl.Sphere exposing (Sphere, asSphere, toGlsl) import Dict exposing (Dict) import Expression exposing (Expression) import Expression.Polynomial exposing (Exponents) -import UI.Glsl.Code exposing (threshold) -import UI.Glsl.Generator exposing (floatToGlsl) +import Glsl exposing (BisectSignature, false, float1, int1, true) +import Glsl.Functions exposing (dot33, mix331, sqrt1, vec3111) +import Glsl.Generator exposing (assignOut, boolT, expr, float, floatT, fun4, if_, mat3T, out, return, vec3, vec3T, zero) +import Glsl.Operations exposing (add33, array33, by11, by13, lt, negate1, subtract11, subtract33) +import Maybe.Extra +import UI.Glsl.Code import UI.Glsl.Polynomial as Polynomial @@ -31,33 +35,51 @@ asSphere e = -- k = a² + b² + c² - r² -- r² = a²+b²+c²-k let + getCenter : String -> Maybe Float getCenter v = - case ( Dict.get [ ( v, 2 ) ] poly, Maybe.withDefault 0 <| Dict.get [ ( v, 1 ) ] poly ) of - ( Just s, l ) -> + case Dict.get [ ( v, 2 ) ] poly of + Just s -> if s /= 1 then Nothing else + let + l : Float + l = + Maybe.withDefault 0 <| Dict.get [ ( v, 1 ) ] poly + in Just <| -l / 2 _ -> Nothing in - Maybe.map3 + Maybe.Extra.andThen3 (\x y z -> - Sphere + let + rSquared : Float + rSquared = + x * x + y * y + z * z - Maybe.withDefault 0 (Dict.get [] poly) + in + if rSquared >= 0 then { center = { x = x , y = y , z = z } - , radius = sqrt <| max 0 <| x * x + y * y + z * z - Maybe.withDefault 0 (Dict.get [] poly) + , radius = sqrt rSquared } + |> Sphere + |> Just + + else + Nothing ) (getCenter "x") (getCenter "y") (getCenter "z") ) + -- TODO: fix + |> always Nothing reduce : Dict Exponents Float -> Maybe (Dict Exponents Float) @@ -73,22 +95,21 @@ reduce poly = ) -toGlsl : String -> Sphere -> String +toGlsl : String -> Sphere -> BisectSignature toGlsl suffix (Sphere { center, radius }) = - """ - bool bisect""" ++ suffix ++ """(vec3 o, mat3 d, float max_distance, out vec3 found) { - vec3 center = vec3(""" ++ floatToGlsl center.x ++ """,""" ++ floatToGlsl center.y ++ """,""" ++ floatToGlsl center.z ++ """); - - vec3 to_center = o - center; - float b = dot(to_center, mix(d[0], d[1], 0.5)); - float c = dot(to_center, to_center) - """ ++ floatToGlsl (radius * radius) ++ """; - float delta = b*b - c; - if(delta < 0.) - return false; - float x = -b - sqrt(delta); - if(x < """ ++ threshold ++ """) - return false; - found = o + x * mix(d[0], d[1], 0.5); - return true; - } - """ + fun4 boolT ("bisect" ++ suffix) (vec3T "o") (mat3T "d") (floatT "max_distance") (out vec3T "found") <| \o d maxDistance found -> + vec3 "center" (vec3111 (float1 center.x) (float1 center.y) (float1 center.z)) <| \centerVar -> + vec3 "dMix" (mix331 (array33 d (int1 0)) (array33 d (int1 1)) (float1 0.5)) <| \dMix -> + vec3 "to_center" (subtract33 o centerVar) <| \to_center -> + float "b" (dot33 to_center dMix) <| \b -> + float "c" (subtract11 (dot33 to_center to_center) (float1 <| radius * radius)) <| \c -> + float "delta" (subtract11 (by11 b b) c) <| \delta -> + if_ (lt delta zero) + (return false) + <| \_ -> + float "x" (subtract11 (negate1 b) (sqrt1 delta)) <| \x -> + if_ (lt x <| UI.Glsl.Code.toThreshold maxDistance) + (return false) + <| \_ -> + expr (assignOut found (add33 o (by13 x dMix))) <| \_ -> + return true diff --git a/src/elm/UI/Model.elm b/src/elm/UI/Model.elm index 7edac0c8..b9ade3a7 100644 --- a/src/elm/UI/Model.elm +++ b/src/elm/UI/Model.elm @@ -52,7 +52,6 @@ type alias Context = { language : Language , hasClipboard : Bool , hasFullscreen : Bool - , expandIntervals : Bool , rayDifferentials : Bool , deviceClass : DeviceClass , isFullscreen : Bool @@ -80,7 +79,6 @@ type Msg | Resized Size | ToggleMenu Bool | ToggleShowPendingActions Bool - | ToggleExpandIntervals Bool | ToggleRayDifferentials Bool | Language Language | GoogleAuth diff --git a/src/elm/UI/RowView.elm b/src/elm/UI/RowView.elm index a3940463..29be1ceb 100644 --- a/src/elm/UI/RowView.elm +++ b/src/elm/UI/RowView.elm @@ -131,12 +131,12 @@ draw size id { wdiv, hdiv } { graph, axes } = ] in Element.with identity <| - \{ rayDifferentials, expandIntervals } -> + \{ rayDifferentials } -> el attrs <| Element.html <| Html.node "nu-plot" [ Html.Attributes.id cid - , Html.Attributes.property "exprSrc" <| Json.Encode.string <| getGlsl expandIntervals rayDifferentials graph + , Html.Attributes.property "exprSrc" <| Json.Encode.string <| getGlsl rayDifferentials graph , Html.Attributes.attribute "canvas-width" <| String.fromInt <| imageWidth // wdiv , Html.Attributes.attribute "canvas-height" <| String.fromInt <| imageHeight // hdiv , Html.Attributes.attribute "white-lines" <| String.fromInt Theme.whiteLines @@ -369,7 +369,12 @@ viewSolutionTree pageWidth tree = [ viewLaTeX pageWidth <| "\\not \\exists " ++ v ++ " \\in \\mathbb{R}" ] SolutionDone e -> - [ viewLaTeX pageWidth <| Expression.toTeXString e ] + [ --Theme.row [] [ + viewLaTeX pageWidth <| Expression.toTeXString e + + -- , Expression.toDebugTree Debug.todo e + -- ] + ] SolutionBranch children -> let @@ -501,7 +506,7 @@ outputBlock blockId size output = ) GraphValue g -> - ( draw size (CanvasId id) coeffs g, True ) + ( draw size (CanvasId id) coeffs { axes = True, graph = g }, True ) ComplexValue c -> ( text <| invariant <| Complex.toString c, False ) diff --git a/src/index.html b/src/index.html index 3a595154..3702f16b 100644 --- a/src/index.html +++ b/src/index.html @@ -15,28 +15,22 @@ - + -
- + - - \ No newline at end of file diff --git a/src/service-worker.js b/src/service-worker.js deleted file mode 100644 index d3e7eea9..00000000 --- a/src/service-worker.js +++ /dev/null @@ -1,23 +0,0 @@ -self.addEventListener("install", function (event) { - event.waitUntil( - caches.open("progressive-elm").then(function (cache) { - return cache.addAll(['/', '/index.html']).then( - cache.addAll(SERVICE_WORKER_MANIFEST_ENTRIES.map(entry => entry.url)) - ); - }).catch(function (ex) { - console.error(ex); - }) - ) -}); - -self.addEventListener("fetch", function (event) { - event.respondWith(caches.open("progressive-elm").then((cache) => - fetch(event.request).then(function (response) { - cache.put(event.request, response.clone()); - return response; - }).catch(function (ex) { - console.error(ex); - return caches.match(event.request); - })) - ) -}); diff --git a/src/service-worker.ts b/src/service-worker.ts new file mode 100644 index 00000000..b6c2ff48 --- /dev/null +++ b/src/service-worker.ts @@ -0,0 +1,37 @@ +import { manifest, version } from "@parcel/runtime-service-worker"; + +async function install() { + debugger; + const cache = await caches.open(version); + + await cache.addAll(["/", "/index.html"]); + await cache.addAll(manifest); +} +addEventListener("install", (e) => e.waitUntil(install())); + +async function activate() { + const keys = await caches.keys(); + await Promise.all(keys.map((key) => key !== version && caches.delete(key))); +} +addEventListener("activate", (e) => e.waitUntil(activate())); + +async function putInCache(request: Request, response: Response) { + const cache = await caches.open(version); + await cache.put(request, response); +} + +async function response(event: FetchEvent): Promise { + var cachedResponse = await caches.match(event.request); + if (cachedResponse) { + return cachedResponse; + } + + const response = await fetch(event.request); + // Intentionall not awaited + putInCache(event.request, response.clone()); + return response; +} + +addEventListener("fetch", (e) => { + e.respondWith(response(e)); +}); diff --git a/src/shaders/declarations.frag b/src/shaders/declarations.frag deleted file mode 100644 index f1a5f3a2..00000000 --- a/src/shaders/declarations.frag +++ /dev/null @@ -1,85 +0,0 @@ -#define MAX_DEPTH 30 -//#define MAX_DEPTH 60 - -precision highp float; - -uniform float u_whiteLines; -uniform float u_completelyReal; -uniform float u_drawAxes; -uniform vec2 u_zoomCenter; -uniform float u_viewportWidth; -uniform float u_canvasWidth; -uniform float u_canvasHeight; -uniform float u_phi; -uniform float u_theta; - -vec3 hl2rgb(float h, float l) -{ - vec3 rgb = clamp(abs(mod(h*6.0+vec3(0.0,4.0,2.0),6.0)-3.0)-1.0,0.0,1.0); - return l + (rgb - 0.5) * (1.0 - abs(2.0 * l - 1.0)); -} - -vec2 dup(float x) { - return vec2(x, x); -} - -vec4 gnum(float f) { - return vec4(f, 0, 0, 0); -} - -float atanPlus(float y, float x) { - return mod(radians(360.0) + atan(y, x), radians(360.0)); -} - -vec2 iexpand(vec2 v) { - return v * (vec2(1.0, 1.0) + sign(v) * vec2(-0.000001, 0.000001)); -} - -#define P31 2147483648 -#define P32M1 4294967295 - -int left_shift(int i) { - return i * 2; -} - -int left_shift_increment(int i) { - return i * 2 + 1; -} - -ivec2 increment(ivec2 i) { - return i.x == P32M1 - ? ivec2(0, i.y + 1) - : ivec2(i.x + 1, i.y); -} - -ivec2 left_shift(ivec2 i) { - return i.x >= P31 - ? ivec2(2 * (i.x - P31), i.y * 2 + 1) - : 2 * i; -} - -ivec2 left_shift_increment(ivec2 i) { - return increment(left_shift(i)); -} - -bool is_even(int i) { - return i / 2 * 2 == i; -} - -bool is_odd(int i) { - return i / 2 * 2 != i; -} - -bool is_even(ivec2 i) { - return is_even(i.x); -} - -ivec2 right_shift(ivec2 i) { - return is_odd(i.y) - ? ivec2(i.x / 2 + P31, i.y / 2) - : i / 2; -} - -int right_shift(int i) { - return i / 2; -} diff --git a/src/ts/dev.ts b/src/ts/dev.ts index cbefc806..9e685ad3 100644 --- a/src/ts/dev.ts +++ b/src/ts/dev.ts @@ -2,3 +2,9 @@ import { Elm } from "../elm/UI.elm"; import { init } from "./main"; init(Elm); + +if ("serviceWorker" in navigator) + navigator.serviceWorker.register( + new URL("../service-worker.ts", import.meta.url), + { type: "module" } + ); diff --git a/src/ts/index.ts b/src/ts/index.ts index 18f3a62e..2c654469 100644 --- a/src/ts/index.ts +++ b/src/ts/index.ts @@ -2,3 +2,9 @@ import { Elm } from "../optimized.js"; import { init } from "./main"; init(Elm); + +if ("serviceWorker" in navigator) + navigator.serviceWorker.register( + new URL("../service-worker.ts", import.meta.url), + { type: "module" } + ); diff --git a/src/ts/nuplot.ts b/src/ts/nuplot.ts index 1182a66d..2549bb9c 100644 --- a/src/ts/nuplot.ts +++ b/src/ts/nuplot.ts @@ -1,8 +1,9 @@ -import declarations from "../shaders/declarations.frag"; +declare var process: { env: { NODE_ENV: string } }; declare class ClipboardItem { constructor(data: { [mimeType: string]: Blob }); } + declare global { interface Clipboard { write(items: ClipboardItem[]): void; @@ -168,7 +169,7 @@ export class NuPlot extends HTMLElement { if (!this.compileAndAttachShader(this.gl.VERTEX_SHADER, vertex_shader)) return; - const fragment_shader = this.buildFragmentShader(this.src); + const fragment_shader = this.src; this.fragment_shader = this.compileAndAttachShader( this.gl.FRAGMENT_SHADER, fragment_shader @@ -267,10 +268,6 @@ export class NuPlot extends HTMLElement { this.reloadFragmentShader(); } - private buildFragmentShader(expr: string) { - return `${declarations}\n${expr}`; - } - compileAndAttachShader(type: number, src: string): WebGLShader | null { if (!this.gl || !this.program) return null; const shader = this.gl.createShader(type); @@ -288,29 +285,6 @@ export class NuPlot extends HTMLElement { return shader; } - fromScreen(x: number, y: number): Point { - return { - x: NuPlot.project(x, 0, this.canvas.width, this.minx(), this.maxx()), - y: NuPlot.project(y, 0, this.canvas.height, this.miny(), this.maxy()), - }; - } - - minx(): number { - return this.center.x - this.viewportWidth / 2.0; - } - - maxx(): number { - return this.center.x + this.viewportWidth / 2.0; - } - - miny(): number { - return this.center.y - this.viewportHeight / 2.0; - } - - maxy(): number { - return this.center.y - this.viewportHeight / 2.0; - } - get viewportHeight() { return (this.viewportWidth / this.canvas.width) * this.canvas.height; } @@ -583,7 +557,7 @@ export class NuPlot extends HTMLElement { reloadFragmentShader() { if (!this.gl || !this.program || !this.fragment_shader || !this.src) return; - const src = this.buildFragmentShader(this.src); + const src = this.src; this.sourceAndCompile(this.fragment_shader, src); diff --git a/tests/GlslFuzzer.elm b/tests/GlslFuzzer.elm new file mode 100644 index 00000000..fad9a41c --- /dev/null +++ b/tests/GlslFuzzer.elm @@ -0,0 +1,65 @@ +module GlslFuzzer exposing (suite) + +import Complex exposing (Complex(..)) +import Dict +import Expect exposing (Expectation) +import Glsl exposing (Expression, Vec2, float1) +import Glsl.Eval exposing (Context, Error, Value) +import Glsl.Functions exposing (vec211) +import Test exposing (Test) + + +suite : Test +suite = + Test.describe "Glsl" + [ test1 "cexp" + cexp2 + [ ( zeroC, oneC ) + , ( oneC, real e ) + , ( real 2, real <| e * e ) + , ( real -1, real <| 1 / e ) + , ( complex Complex.i, complex <| Complex.exp Complex.i ) + ] + ] + + +complex : Complex -> Expression Vec2 +complex (Complex r i) = + vec211 (float1 r) (float1 i) + + +real : Float -> Expression Vec2 +real r = + vec211 (float1 r) zero + + +oneC : Expression Vec2 +oneC = + vec211 one zero + + +zeroC : Expression Vec2 +zeroC = + vec211 zero zero + + +test1 : + String + -> (Expression Vec2 -> Expression Vec2) + -> List ( Expression Vec2, Expression Vec2 ) + -> Test +test1 name function cases = + cases + |> List.map + (\( input, output ) -> + Test.test (Debug.toString input) <| \_ -> + check + (Glsl.Eval.value Dict.empty <| function input) + (Glsl.Eval.value Dict.empty output) + ) + |> Test.describe name + + +check : Result Error ( Context, Value ) -> Result Error ( Context, Value ) -> Expectation +check actual expected = + Expect.equal expected actual diff --git a/tests/SimplificationTest.elm b/tests/SimplificationTest.elm index fa261034..e882bf2c 100644 --- a/tests/SimplificationTest.elm +++ b/tests/SimplificationTest.elm @@ -5,7 +5,7 @@ import Expect import Expression exposing (AssociativeOperation(..), Expression(..), RelationOperation(..)) import Expression.Parser import Expression.Simplify -import Expression.Utils exposing (a, atan2_, b, by, c, complex, cos_, cosh_, div, double, f, g, i, ipow, m, minus, minusOne, n, negate_, one, plus, r, sin_, sinh_, sqrt_, square, triple, two, x, y, z, zero) +import Expression.Utils exposing (a, atan2_, b, by, c, complex, cos_, cosh_, div, double, f, five, four, i, ipow, m, minus, minusOne, n, negate_, one, plus, s, sin_, sinh_, six, sqrt_, square, three, triple, two, x, y, z, zero) import Test exposing (Test, describe, test) @@ -44,6 +44,25 @@ suite = (Expression.toString stepSimplified ++ " = " ++ Debug.toString stepSimplified) ] + toTestsStepChainSimplify ( from, tos ) = + case tos of + [] -> + [] + + toHead :: toTail -> + let + stepSimplified = + Expression.Simplify.stepSimplify Dict.empty from + + step = + test (Expression.toString from ++ " step simplifies to " ++ Expression.toString toHead) <| + \_ -> + Expect.equal + (Expression.toString toHead ++ " = " ++ Debug.toString toHead) + (Expression.toString stepSimplified ++ " = " ++ Debug.toString stepSimplified) + in + step :: toTestsStepChainSimplify ( toHead, toTail ) + toTestSort ( aop, from, to ) = let sorted = @@ -60,6 +79,8 @@ suite = List.concatMap toTestsSimplify simplificationTests , describe "Expression.Simplify.stepSimplify" <| List.concatMap toTestsStepSimplify stepSimplificationTests + , describe "Expression.Simplify.stepSimplify [full]" <| + List.concatMap toTestsStepChainSimplify stepSimplificationChainTests , describe "Expression.Simplify.sortByDegree" <| List.map toTestSort sortTests ] @@ -92,7 +113,7 @@ simplificationTests = ) (plus [ double a, square b ]) , plus - [ by [ Integer 4, x ] + [ by [ four, x ] , by [ Integer 9, square z ] ] ) @@ -104,7 +125,7 @@ simplificationTests = , ( Replace (Dict.singleton "a" <| Just one) a, one ) , ( Replace (Dict.fromList - [ ( "cov", Just <| Integer 3 ) + [ ( "cov", Just three ) ] ) (byself <| Variable "cov") @@ -209,7 +230,7 @@ simplificationTests = (square <| plus [ negate_ d, c ]) , ( "(3/10)/a" , div - (div (Integer 3) (Integer 10)) + (div three (Integer 10)) a , "3/10/a" ) @@ -251,7 +272,7 @@ simplificationTests = (Dict.fromList [ ( "g" , plus - [ pow (minus (byself x) (byself y)) (div (Integer 3) two) + [ pow (minus (byself x) (byself y)) (div three two) , div one <| Integer 10 ] ) @@ -271,15 +292,15 @@ sortTests = , ( Addition, [ by [ a, x ], by [ b, x ] ], [ by [ a, x ], by [ b, x ] ] ) , ( Addition, [ square a, square b ], [ square a, square b ] ) , ( Multiplication, [ c, b, a ], [ a, b, c ] ) - , ( Multiplication, [ Integer 3, i ], [ Integer 3, i ] ) - , let - afmn = - by [ a, f, m, n ] + , ( Multiplication, [ three, i ], [ three, i ] ) - agmr = - by [ a, g, m, r ] - in - ( Addition, [ afmn, agmr, negate_ afmn ], [ afmn, negate_ afmn, agmr ] ) + -- , let + -- afmn = + -- by [ a, f, m, n ] + -- agmr = + -- by [ a, g, m, r ] + -- in + -- ( Addition, [ afmn, agmr, negate_ afmn ], [ afmn, negate_ afmn, agmr ] ) ] @@ -306,6 +327,52 @@ stepSimplificationTests = , ( parseOrBreak "[r=sqrt(x²+y²);t=atan2(y,x)]r=2/t" , RelationOperation Equals (sqrt_ <| plus [ square x, square y ]) - (div (Integer 2) (atan2_ y x)) + (div two (atan2_ y x)) + ) + ] + + +stepSimplificationChainTests : List ( Expression, List Expression ) +stepSimplificationChainTests = + [ ( by [ six, negate_ s ] + , [ negate_ <| by [ six, s ] + , by [ Integer -6, s ] + , by [ Integer -6, s ] + ] + ) + , ( by + [ div six five + , negate_ s + ] + , [ div (by [ six, negate_ s ]) five + , div (negate_ <| by [ six, s ]) five + , div (by [ Integer -6, s ]) five + , div (by [ Integer -6, s ]) five + ] + ) + , ( plus [ negate_ (div six five), Integer -1 ] + , [ div (plus [ negate_ <| Integer 6, by [ Integer -1, five ] ]) five + , div (plus [ Integer -6, Integer -5 ]) five + , div (Integer -11) five + , negate_ <| div (Integer 11) five + , negate_ <| div (Integer 11) five + ] + ) + , ( div + (negate_ <| div (Integer 12) five) + (negate_ <| div (Integer 11) five) + , [ div + (div (Integer 12) five) + (div (Integer 11) five) + , div + (by [ Integer 12, five ]) + (by [ five, Integer 11 ]) + , div + (Integer 60) + (Integer 55) + , div + (Integer 12) + (Integer 11) + ] ) ] diff --git a/tests/SolverTest.elm b/tests/SolverTest.elm index 6f0552c8..1f5e0791 100644 --- a/tests/SolverTest.elm +++ b/tests/SolverTest.elm @@ -4,7 +4,7 @@ import Expect import Expression exposing (Expression(..), RelationOperation(..), SolutionTree(..)) import Expression.Simplify exposing (simplify) import Expression.Solver -import Expression.Utils exposing (by, c, div, i, minus, minusOne, negate_, one, plus, square, two, x, zero) +import Expression.Utils exposing (by, div, i, minus, minusOne, negate_, one, plus, square, two, x, zero) import List import Test exposing (Test, describe, test) @@ -63,8 +63,8 @@ solveTests = none = Variable "none: x" - pi = - Variable "pi" + -- pi = + -- Variable "pi" in [ {- let repls = @@ -113,16 +113,18 @@ solveTests = , xeq two ] ) - , ( simplify <| - by - [ minus x pi - , minus x pi - , minus x pi - ] - , x - , [ xeq pi - , xeq pi - , xeq pi - ] - ) + + {- , ( simplify <| + by + [ minus x pi + , minus x pi + , minus x pi + ] + , x + , [ xeq pi + , xeq pi + , xeq pi + ] + ) + -} ] diff --git a/tests/raytracing/head.h b/tests/raytracing/head.h index 8e5977bb..b998fedb 100644 --- a/tests/raytracing/head.h +++ b/tests/raytracing/head.h @@ -1,491 +1,397 @@ #pragma once -#include #include +#include #define main() main_() #define float double // Yes, really struct ivec2 { - int x; - int y; - ivec2(int x, int y) : x(x), y(y) {} + int x; + int y; + ivec2(int x, int y) : x(x), y(y) {} - friend ivec2 operator * (int d, ivec2 r) { - return ivec2(d * r.x, d * r.y); - } + friend ivec2 operator*(int d, ivec2 r) { return ivec2(d * r.x, d * r.y); } - friend ivec2 operator / (ivec2 l, int r) { - return ivec2(l.x / r, l.y / r); - } + friend ivec2 operator/(ivec2 l, int r) { return ivec2(l.x / r, l.y / r); } }; struct vec2 { - double x; - double y; - vec2() : x(0), y(0) {} - vec2(double x, double y) : x(x), y(y) {} - - friend vec2 operator + (vec2 l, vec2 r) { - return vec2(l.x + r.x, l.y + r.y); - } - - friend vec2 operator - (vec2 l, vec2 r) { - return vec2(l.x - r.x, l.y - r.y); - } - - friend vec2 operator - (vec2 r) { - return vec2(-r.x, -r.y); - } - - friend vec2 operator * (double d, vec2 r) { - return vec2(d * r.x, d * r.y); - } - - friend vec2 operator * (vec2 l, vec2 r) { - return vec2(l.x * r.x, l.y * r.y); - } - - friend vec2 operator / (vec2 l, double r) { - return vec2(l.x / r, l.y / r); - } - - friend vec2 operator / (vec2 l, vec2 r) { - return vec2(l.x / r.x, l.y / r.y); - } + double x; + double y; + vec2() : x(0), y(0) {} + vec2(double x, double y) : x(x), y(y) {} + + friend vec2 operator+(vec2 l, vec2 r) { return vec2(l.x + r.x, l.y + r.y); } + + friend vec2 operator-(vec2 l, vec2 r) { return vec2(l.x - r.x, l.y - r.y); } + + friend vec2 operator-(vec2 r) { return vec2(-r.x, -r.y); } + + friend vec2 operator*(double d, vec2 r) { return vec2(d * r.x, d * r.y); } + + friend vec2 operator*(vec2 l, vec2 r) { return vec2(l.x * r.x, l.y * r.y); } + + friend vec2 operator/(vec2 l, double r) { return vec2(l.x / r, l.y / r); } + + friend vec2 operator/(vec2 l, vec2 r) { return vec2(l.x / r.x, l.y / r.y); } }; struct vec3 { - double x; - double y; - double z; - vec3() : x(0), y(0), z(0) {} - vec3(vec2 xy, double z) : x(xy.x), y(xy.y), z(z) {} - vec3(double x) : x(x), y(0), z(0) {} - vec3(double x, double y, double z) : x(x), y(y), z(z) {} - - friend vec3 operator + (double d, vec3 r) { - return vec3(d + r.x, d + r.y, d + r.z); - } - - friend vec3 operator + (vec3 l, vec3 r) { - return vec3(l.x + r.x, l.y + r.y, l.z + r.z); - } - - friend vec3 operator - (vec3 r, double d) { - return vec3(r.x - d, r.y - d, r.z - d); - } - - friend vec3 operator - (vec3 l, vec3 r) { - return vec3(l.x - r.x, l.y - r.y, l.z - r.z); - } - - friend vec3 operator - (vec3 l) { - return vec3(-l.x, -l.y, -l.z); - } - - friend vec3 operator * (vec3 l, vec3 r) { - return vec3(l.x * r.x, l.y * r.y, l.z * r.z); - } - - friend vec3 operator * (vec3 r, double d) { - return vec3(d * r.x, d * r.y, d * r.z); - } - - friend vec3 operator * (double d, vec3 r) { - return vec3(d * r.x, d * r.y, d * r.z); - } - - friend vec3 operator / (vec3 r, double d) { - return vec3(r.x / d, r.y / d, r.z / d); - } - - friend bool operator == (vec3 l, vec3 r) { - return l.x == r.x && l.y == r.y && l.z == r.z; - } + double x; + double y; + double z; + vec3() : x(0), y(0), z(0) {} + vec3(vec2 xy, double z) : x(xy.x), y(xy.y), z(z) {} + vec3(double x) : x(x), y(0), z(0) {} + vec3(double x, double y, double z) : x(x), y(y), z(z) {} + + friend vec3 operator+(double d, vec3 r) { + return vec3(d + r.x, d + r.y, d + r.z); + } + + friend vec3 operator+(vec3 l, vec3 r) { + return vec3(l.x + r.x, l.y + r.y, l.z + r.z); + } + + friend vec3 operator-(vec3 r, double d) { + return vec3(r.x - d, r.y - d, r.z - d); + } + + friend vec3 operator-(vec3 l, vec3 r) { + return vec3(l.x - r.x, l.y - r.y, l.z - r.z); + } + + friend vec3 operator-(vec3 l) { return vec3(-l.x, -l.y, -l.z); } + + friend vec3 operator*(vec3 l, vec3 r) { + return vec3(l.x * r.x, l.y * r.y, l.z * r.z); + } + + friend vec3 operator*(vec3 r, double d) { + return vec3(d * r.x, d * r.y, d * r.z); + } + + friend vec3 operator*(double d, vec3 r) { + return vec3(d * r.x, d * r.y, d * r.z); + } + + friend vec3 operator/(vec3 r, double d) { + return vec3(r.x / d, r.y / d, r.z / d); + } + + friend bool operator==(vec3 l, vec3 r) { + return l.x == r.x && l.y == r.y && l.z == r.z; + } }; struct vec4 { - double x; - double y; - double z; - double w; - vec4() : x(0), y(0), z(0), w(0) {} - vec4(vec3 xyz, double w) : x(xyz.x), y(xyz.y), z(xyz.z), w(w) {} - vec4(double x, vec3 yzw) : x(x), y(yzw.x), z(yzw.y), w(yzw.z) {} - vec4(double x, double y, double z, double w) : x(x), y(y), z(z), w(w) {} - - friend vec4 operator + (vec4 l, vec4 r) { - return vec4(l.x + r.x, l.y + r.y, l.z + r.z, l.w + r.w); - } - - friend vec4 operator - (vec4 r) { - return vec4(-r.x, -r.y, -r.z, -r.w); - } - - friend vec4 operator - (vec4 l, vec4 r) { - return vec4(l.x - r.x, l.y - r.y, l.z - r.z, l.w - r.w); - } - - friend vec4 operator / (vec4 l, double r) { - return vec4(l.x / r, l.y / r, l.z / r, l.w / r); - } - - friend vec4 operator * (double l, vec4 r) { - return vec4(l * r.x, l * r.y, l * r.z, l * r.w); - } - - friend vec4 operator * (vec4 l, double r) { - return vec4(l.x * r, l.y * r, l.z * r, l.w * r); - } - - vec3 ywz() { - return vec3(y, w, z); - } - - vec3 yzw() { - return vec3(y, z, w); - } + double x; + double y; + double z; + double w; + vec4() : x(0), y(0), z(0), w(0) {} + vec4(vec3 xyz, double w) : x(xyz.x), y(xyz.y), z(xyz.z), w(w) {} + vec4(double x, vec3 yzw) : x(x), y(yzw.x), z(yzw.y), w(yzw.z) {} + vec4(double x, double y, double z, double w) : x(x), y(y), z(z), w(w) {} + + friend vec4 operator+(vec4 l, vec4 r) { + return vec4(l.x + r.x, l.y + r.y, l.z + r.z, l.w + r.w); + } + + friend vec4 operator-(vec4 r) { return vec4(-r.x, -r.y, -r.z, -r.w); } + + friend vec4 operator-(vec4 l, vec4 r) { + return vec4(l.x - r.x, l.y - r.y, l.z - r.z, l.w - r.w); + } + + friend vec4 operator/(vec4 l, double r) { + return vec4(l.x / r, l.y / r, l.z / r, l.w / r); + } + + friend vec4 operator*(double l, vec4 r) { + return vec4(l * r.x, l * r.y, l * r.z, l * r.w); + } + + friend vec4 operator*(vec4 l, double r) { + return vec4(l.x * r, l.y * r, l.z * r, l.w * r); + } + + vec3 ywz() { return vec3(y, w, z); } + + vec3 yzw() { return vec3(y, z, w); } }; struct FragCoord { - vec2 xy; - FragCoord() {} - FragCoord(vec2 xy) : xy(xy) {} + vec2 xy; + FragCoord() {} + FragCoord(vec2 xy) : xy(xy) {} }; FragCoord gl_FragCoord; -FILE* debugFile; +FILE *debugFile; -double abs_(double i) { - return fabs(i); -} +double abs_(double i) { return fabs(i); } -vec2 abs_(vec2 x) { - return vec2(fabs(x.x), fabs(x.y)); -} +vec2 abs_(vec2 x) { return vec2(fabs(x.x), fabs(x.y)); } -vec3 abs_(vec3 x) { - return vec3(fabs(x.x), fabs(x.y), fabs(x.z)); -} +vec3 abs_(vec3 x) { return vec3(fabs(x.x), fabs(x.y), fabs(x.z)); } -vec4 abs_(vec4 x) { - return vec4(fabs(x.x), fabs(x.y), fabs(x.z), fabs(x.w)); -} +vec4 abs_(vec4 x) { return vec4(fabs(x.x), fabs(x.y), fabs(x.z), fabs(x.w)); } -double mod(double x, double y) { - return x - y * floor(x / y); -} +double mod(double x, double y) { return x - y * floor(x / y); } vec3 mod(vec3 l, double r) { - return vec3(mod(l.x, r), mod(l.y, r), mod(l.z, r)); + return vec3(mod(l.x, r), mod(l.y, r), mod(l.z, r)); } double clamp(double l, double mn, double mx) { - return l < mn ? mn : l > mx ? mx : l; + return l < mn ? mn : l > mx ? mx : l; } vec3 clamp(vec3 l, double mn, double mx) { - return vec3( - clamp(l.x, mn, mx), - clamp(l.y, mn, mx), - clamp(l.z, mn, mx) - ); + return vec3(clamp(l.x, mn, mx), clamp(l.y, mn, mx), clamp(l.z, mn, mx)); } double fract(double d) { - return d >= 0 ? d - floor(d) : floor(d) - d; // probably wrong for negative numbers + return d >= 0 ? d - floor(d) + : floor(d) - d; // probably wrong for negative numbers } -double min(double l, double r) { - return l <= r ? l : r; -} +double min(double l, double r) { return l <= r ? l : r; } -double max(double l, double r) { - return l >= r ? l : r; -} +double max(double l, double r) { return l >= r ? l : r; } vec3 min(vec3 l, vec3 r) { - return vec3(min(l.x, r.x), min(l.y, r.y), min(l.z, r.z)); + return vec3(min(l.x, r.x), min(l.y, r.y), min(l.z, r.z)); } vec3 max(vec3 l, vec3 r) { - return vec3(max(l.x, r.x), max(l.y, r.y), max(l.z, r.z)); + return vec3(max(l.x, r.x), max(l.y, r.y), max(l.z, r.z)); } -double length(vec2 l) { - return sqrt(l.x * l.x + l.y * l.y); -} +double length(vec2 l) { return sqrt(l.x * l.x + l.y * l.y); } -double length(vec3 l) { - return sqrt(l.x * l.x + l.y * l.y + l.z * l.z); -} +double length(vec3 l) { return sqrt(l.x * l.x + l.y * l.y + l.z * l.z); } double length(vec4 l) { - return sqrt(l.x * l.x + l.y * l.y + l.z * l.z + l.w * l.w); + return sqrt(l.x * l.x + l.y * l.y + l.z * l.z + l.w * l.w); } -double atan(double y, double x) { - return atan2(y, x); -} +double atan(double y, double x) { return atan2(y, x); } -double radians(double deg) { - return M_PI * deg / 180.0; -} +double radians(double deg) { return M_PI * deg / 180.0; } -template -T mix(T x, T y, double a) { - return x * (1 - a) + y * a; -} +template T mix(T x, T y, double a) { return x * (1 - a) + y * a; } -template -T _(T x) { - return x; -} +template T _(T x) { return x; } vec2 normalize_(vec2 x) { - double l = length(x); - if(l == 0) return x; - return x / l; + double l = length(x); + if (l == 0) + return x; + return x / l; } vec3 normalize_(vec3 x) { - double l = length(x); - if(l == 0) return x; - return x / l; + double l = length(x); + if (l == 0) + return x; + return x / l; } vec4 normalize_(vec4 x) { - double l = length(x); - if(l == 0) return x; - return x / l; + double l = length(x); + if (l == 0) + return x; + return x / l; } vec3 cross_(vec3 a, vec3 b) { - return vec3( - a.y * b.z - a.z * b.y, - a.z * b.x - a.x * b.z, - a.x * b.y - a.y * b.x - ); -} - -double dot(vec2 l, vec2 r) { - return l.x * r.x + l.y * r.y; -} - -double dot(vec3 l, vec3 r) { - return l.x * r.x + l.y * r.y + l.z * r.z; -} - -vec2 sin_(vec2 input) { - return vec2(sin(input.x), sin(input.y)); -} - -double sign_(double x) { - return x > 0 ? 1 : x < 0 ? -1 : 0; -} - -vec2 sign_(vec2 input) { - return vec2(sign_(input.x), sign_(input.y)); -} - -vec2 ceil(vec2 input) { - return vec2(ceil(input.x), ceil(input.y)); -} - -#define notrace1(f) \ - float f ## _(float z); \ - float f (float z) { \ - return f ## _(z); \ - } - -#define trace2(f) \ - vec2 f ## _(vec2 z); \ - vec2 f (vec2 z) { \ - vec2 res = f ## _(z); \ - if(trace) fprintf(debugFile, " " #f "(%lf, %lf) = [%lf, %lf]\n", z.x, z.y, res.x, res.y); \ - return res; \ - } - -#define notrace2(f) \ - vec2 f ## _(vec2 z); \ - vec2 f (vec2 z) { \ - return f ## _(z); \ - } - -#define trace3(f) \ - vec3 f ## _(vec3 z); \ - vec3 f (vec3 z) { \ - vec3 res = f ## _(z); \ - if(trace) fprintf(debugFile, " " #f "(%lf, %lf, %lf) = (%lf, %lf, %lf) [%lf]\n", z.x, z.y, z.z, res.x, res.y, res.z, length(res)); \ - return res; \ - } - -#define notrace3(f) \ - vec3 f ## _(vec3 z); \ - vec3 f (vec3 z) { \ - return f ## _(z); \ - } - -#define trace4(f) \ - vec4 f ## _(vec4 z); \ - vec4 f (vec4 z) { \ - vec4 res = f ## _(z); \ - if(trace) fprintf(debugFile, " " #f "(%lf, %lf, %lf, %lf) = (%lf, %lf, %lf, %lf) [%lf]\n", z.x, z.y, z.z, z.w, res.x, res.y, res.z, res.w, length(res)); \ - return res; \ - } - -#define notrace4(f) \ - vec4 f ## _(vec4 z); \ - vec4 f (vec4 z) { \ - return f ## _(z); \ - } - -#define trace22(f) \ - vec2 f ## _(vec2 l, vec2 r); \ - vec2 f (vec2 l, vec2 r) { \ - vec2 res = f ## _(l, r); \ - if(trace) fprintf(debugFile, " " #f "((%lf, %lf), (%lf, %lf)) = [%lf, %lf]\n", l.x, l.y, r.x, r.y, res.x, res.y); \ - return res; \ - } - -#define notrace22(f) \ - vec2 f ## _(vec2 l, vec2 r); \ - vec2 f (vec2 l, vec2 r) { \ - return f ## _(l, r); \ - } - -#define notrace33(f) \ - vec3 f ## _(vec3 l, vec3 r); \ - vec3 f (vec3 l, vec3 r) { \ - return f ## _(l, r); \ - } - -#define trace33_2(f) \ - vec2 f ## _(vec3 l, vec3 r); \ - vec2 f (vec3 l, vec3 r) { \ - vec2 res = f ## _(l, r); \ - if(trace) fprintf(debugFile, " " #f "((%lf, %lf, %lf), (%lf, %lf, %lf)) = [%lf, %lf]\n", l.x, l.y, l.z, r.x, r.y, r.z, res.x, res.y); \ - return res; \ - } - -#define notrace33_2(f) \ - vec2 f ## _(vec3 l, vec3 r); \ - vec2 f (vec3 l, vec3 r) { \ - return f ## _(l, r); \ - } - -#define trace222(f) \ - vec2 f ## _(vec2 l, vec2 m, vec2 r); \ - vec2 f (vec2 l, vec2 m, vec2 r) { \ - vec2 res = f ## _(l, m, r); \ - if(trace) fprintf(debugFile, " " #f "((%lf, %lf), (%lf, %lf), (%lf, %lf)) = [%lf, %lf]\n", \ - l.x, l.y, m.x, m.y, r.x, r.y, res.x, res.y); \ - return res; \ - } - -#define notrace222(f) \ - vec2 f ## _(vec2 l, vec2 m, vec2 r); \ - vec2 f (vec2 l, vec2 m, vec2 r) { \ - return f ## _(l, m, r); \ - } - -#define trace211_2(f) \ - vec2 f ## _(vec2 a, float b, float c); \ - vec2 f (vec2 a, float b, float c) { \ - vec2 res = f ## _(a, b, c); \ - if(trace) fprintf(debugFile, " " #f "((%lf, %lf), %lf, %lf) = [%lf, %lf]\n", a.x, a.y, b, c, res.x, res.y); \ - return res; \ - } - -#define notrace211_2(f) \ - vec2 f ## _(vec2 a, float b, float c); \ - vec2 f (vec2 a, float b, float c) { \ - return f ## _(a, b, c); \ - } + return vec3(a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z, + a.x * b.y - a.y * b.x); +} + +double dot(vec2 l, vec2 r) { return l.x * r.x + l.y * r.y; } + +double dot(vec3 l, vec3 r) { return l.x * r.x + l.y * r.y + l.z * r.z; } + +vec2 sin_(vec2 input) { return vec2(sin(input.x), sin(input.y)); } + +double sign_(double x) { return x > 0 ? 1 : x < 0 ? -1 : 0; } + +vec2 sign_(vec2 input) { return vec2(sign_(input.x), sign_(input.y)); } + +vec2 ceil(vec2 input) { return vec2(ceil(input.x), ceil(input.y)); } + +#define notrace1(f) \ + float f##_(float z); \ + float f(float z) { return f##_(z); } + +#define trace2(f) \ + vec2 f##_(vec2 z); \ + vec2 f(vec2 z) { \ + vec2 res = f##_(z); \ + if (trace) \ + fprintf(debugFile, " " #f "(%lf, %lf) = [%lf, %lf]\n", z.x, z.y, res.x, \ + res.y); \ + return res; \ + } + +#define notrace2(f) \ + vec2 f##_(vec2 z); \ + vec2 f(vec2 z) { return f##_(z); } + +#define trace3(f) \ + vec3 f##_(vec3 z); \ + vec3 f(vec3 z) { \ + vec3 res = f##_(z); \ + if (trace) \ + fprintf(debugFile, " " #f "(%lf, %lf, %lf) = (%lf, %lf, %lf) [%lf]\n", \ + z.x, z.y, z.z, res.x, res.y, res.z, length(res)); \ + return res; \ + } + +#define notrace3(f) \ + vec3 f##_(vec3 z); \ + vec3 f(vec3 z) { return f##_(z); } + +#define trace4(f) \ + vec4 f##_(vec4 z); \ + vec4 f(vec4 z) { \ + vec4 res = f##_(z); \ + if (trace) \ + fprintf(debugFile, \ + " " #f "(%lf, %lf, %lf, %lf) = (%lf, %lf, %lf, %lf) [%lf]\n", \ + z.x, z.y, z.z, z.w, res.x, res.y, res.z, res.w, length(res)); \ + return res; \ + } + +#define notrace4(f) \ + vec4 f##_(vec4 z); \ + vec4 f(vec4 z) { return f##_(z); } + +#define trace22(f) \ + vec2 f##_(vec2 l, vec2 r); \ + vec2 f(vec2 l, vec2 r) { \ + vec2 res = f##_(l, r); \ + if (trace) \ + fprintf(debugFile, " " #f "((%lf, %lf), (%lf, %lf)) = [%lf, %lf]\n", \ + l.x, l.y, r.x, r.y, res.x, res.y); \ + return res; \ + } + +#define notrace22(f) \ + vec2 f##_(vec2 l, vec2 r); \ + vec2 f(vec2 l, vec2 r) { return f##_(l, r); } + +#define notrace33(f) \ + vec3 f##_(vec3 l, vec3 r); \ + vec3 f(vec3 l, vec3 r) { return f##_(l, r); } + +#define trace33_2(f) \ + vec2 f##_(vec3 l, vec3 r); \ + vec2 f(vec3 l, vec3 r) { \ + vec2 res = f##_(l, r); \ + if (trace) \ + fprintf(debugFile, \ + " " #f "((%lf, %lf, %lf), (%lf, %lf, %lf)) = [%lf, %lf]\n", \ + l.x, l.y, l.z, r.x, r.y, r.z, res.x, res.y); \ + return res; \ + } + +#define notrace33_2(f) \ + vec2 f##_(vec3 l, vec3 r); \ + vec2 f(vec3 l, vec3 r) { return f##_(l, r); } + +#define trace222(f) \ + vec2 f##_(vec2 l, vec2 m, vec2 r); \ + vec2 f(vec2 l, vec2 m, vec2 r) { \ + vec2 res = f##_(l, m, r); \ + if (trace) \ + fprintf(debugFile, \ + " " #f "((%lf, %lf), (%lf, %lf), (%lf, %lf)) = [%lf, %lf]\n", \ + l.x, l.y, m.x, m.y, r.x, r.y, res.x, res.y); \ + return res; \ + } + +#define notrace222(f) \ + vec2 f##_(vec2 l, vec2 m, vec2 r); \ + vec2 f(vec2 l, vec2 m, vec2 r) { return f##_(l, m, r); } + +#define trace211_2(f) \ + vec2 f##_(vec2 a, float b, float c); \ + vec2 f(vec2 a, float b, float c) { \ + vec2 res = f##_(a, b, c); \ + if (trace) \ + fprintf(debugFile, " " #f "((%lf, %lf), %lf, %lf) = [%lf, %lf]\n", a.x, \ + a.y, b, c, res.x, res.y); \ + return res; \ + } + +#define notrace211_2(f) \ + vec2 f##_(vec2 a, float b, float c); \ + vec2 f(vec2 a, float b, float c) { return f##_(a, b, c); } bool trace; -notrace1(abs) -notrace1(sign) -notrace2(cexp) -notrace2(cln) -notrace2(iabs) -notrace2(iceiling) -notrace2(icos) -notrace2(icosh) -notrace2(iexp) -notrace2(iexpand) -notrace2(iinverse) -notrace2(iln) -notrace2(ineg) -notrace2(isin) -notrace2(isqrt) -notrace2(isquare) -notrace2(sin) -notrace2(sign) -notrace22(by) -notrace22(iby) -notrace22(idiv) -notrace22(ieq) -notrace22(igt) -notrace22(ileq) -notrace22(ilt) -notrace22(ipow) -notrace22(merge) -notrace222(ipw) -notrace3(abs) -notrace3(normal_0) -notrace3(normal_1) -notrace3(normal) -notrace3(normalize) -notrace33(cross) -notrace4(abs) -trace2(abs) -trace211_2(interval) -trace33_2(interval_0) -trace33_2(interval_1) -trace33_2(interval) - -bool bisect_(vec3 o, vec3 d, float max_distance, vec3& found, vec3& n); -bool bisect(vec3 l, vec3 r, float max_distance, vec3& found, vec3& n) { - bool res = bisect_(l, r, max_distance, found, n); - vec3 to = l + max_distance * r; - if(trace) - fprintf(debugFile, "bisect((%lf, %lf, %lf), (%lf, %lf, %lf)) = %d, found = (%lf, %lf, %lf), normal = (%lf, %lf, %lf) [found - eye = %lf]\n\n", - l.x, l.y, l.z, to.x, to.y, to.z, res ? 1 : 0, - found.x, found.y, found.z, n.x, n.y, n.z, length(found - l)); - return res; -} - -bool bisect_0_(vec3 o, vec3 d, float max_distance, vec3& found, vec3& n); -bool bisect_0(vec3 l, vec3 r, float max_distance, vec3& found, vec3& n) { - bool res = bisect_0_(l, r, max_distance, found, n); - vec3 to = l + max_distance * r; - if(trace) - fprintf(debugFile, "bisect_0((%lf, %lf, %lf), (%lf, %lf, %lf)) = %d, found = (%lf, %lf, %lf), normal = (%lf, %lf, %lf) [%lf]\n\n", - l.x, l.y, l.z, to.x, to.y, to.z, res ? 1 : 0, - found.x, found.y, found.z, n.x, n.y, n.z, length(found - l)); - return res; -} - -bool bisect_1_(vec3 o, vec3 d, float max_distance, vec3& found, vec3& n); -bool bisect_1(vec3 l, vec3 r, float max_distance, vec3& found, vec3& n) { - bool res = bisect_1_(l, r, max_distance, found, n); - vec3 to = l + max_distance * r; - if(trace) - fprintf(debugFile, "bisect_1((%lf, %lf, %lf), (%lf, %lf, %lf)) = %d, found = (%lf, %lf, %lf), normal = (%lf, %lf, %lf) [%lf]\n\n", - l.x, l.y, l.z, to.x, to.y, to.z, res ? 1 : 0, - found.x, found.y, found.z, n.x, n.y, n.z, length(found - l)); - return res; -} - -vec4 vec4_(vec3 l, double r) { - return vec4(l, r); -} +notrace1(abs) notrace1(sign) notrace2(cexp) notrace2(cln) notrace2(iabs) + notrace2(iceil) notrace2(icos) notrace2(icosh) notrace2(iexp) notrace2( + iinverse) notrace2(iln) notrace2(ineg) notrace2(isin) notrace2(isqrt) + notrace2(isquare) notrace2(sin) notrace2(sign) notrace22(by) + notrace22(iby) notrace22(idiv) notrace22(ieq) notrace22(igt) + notrace22(ileq) notrace22(ilt) notrace22(ipow) notrace22(merge) + notrace222(ipw) notrace3(abs) notrace3(normal_0) + notrace3(normal_1) notrace3(normal) notrace3(normalize) + notrace33(cross) notrace4(abs) trace2(abs) + trace211_2(interval) trace33_2(interval_0) + trace33_2(interval_1) trace33_2(interval) + + bool bisect_(vec3 o, vec3 d, + float max_distance, + vec3 &found, vec3 &n); +bool bisect(vec3 l, vec3 r, float max_distance, vec3 &found, vec3 &n) { + bool res = bisect_(l, r, max_distance, found, n); + vec3 to = l + max_distance * r; + if (trace) + fprintf(debugFile, + "bisect((%lf, %lf, %lf), (%lf, %lf, %lf)) = %d, found = (%lf, %lf, " + "%lf), normal = (%lf, %lf, %lf) [found - eye = %lf]\n\n", + l.x, l.y, l.z, to.x, to.y, to.z, res ? 1 : 0, found.x, found.y, + found.z, n.x, n.y, n.z, length(found - l)); + return res; +} + +bool bisect_0_(vec3 o, vec3 d, float max_distance, vec3 &found, vec3 &n); +bool bisect_0(vec3 l, vec3 r, float max_distance, vec3 &found, vec3 &n) { + bool res = bisect_0_(l, r, max_distance, found, n); + vec3 to = l + max_distance * r; + if (trace) + fprintf(debugFile, + "bisect_0((%lf, %lf, %lf), (%lf, %lf, %lf)) = %d, found = (%lf, " + "%lf, %lf), normal = (%lf, %lf, %lf) [%lf]\n\n", + l.x, l.y, l.z, to.x, to.y, to.z, res ? 1 : 0, found.x, found.y, + found.z, n.x, n.y, n.z, length(found - l)); + return res; +} + +bool bisect_1_(vec3 o, vec3 d, float max_distance, vec3 &found, vec3 &n); +bool bisect_1(vec3 l, vec3 r, float max_distance, vec3 &found, vec3 &n) { + bool res = bisect_1_(l, r, max_distance, found, n); + vec3 to = l + max_distance * r; + if (trace) + fprintf(debugFile, + "bisect_1((%lf, %lf, %lf), (%lf, %lf, %lf)) = %d, found = (%lf, " + "%lf, %lf), normal = (%lf, %lf, %lf) [%lf]\n\n", + l.x, l.y, l.z, to.x, to.y, to.z, res ? 1 : 0, found.x, found.y, + found.z, n.x, n.y, n.z, length(found - l)); + return res; +} + +vec4 vec4_(vec3 l, double r) { return vec4(l, r); } vec4 raytrace_(vec3 o, vec3 d, float max_distance); vec4 raytrace(vec3 o, vec3 d, float max_distance) { - return raytrace_(o, d, max_distance); + return raytrace_(o, d, max_distance); } diff --git a/tsconfig.json b/tsconfig.json index 4efd4f4b..f5933879 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,11 +2,12 @@ "compilerOptions": { "outDir": "./dist/", "noImplicitAny": true, - "module": "es6", + "module": "es2020", "target": "es6", "strict": true, "sourceMap": true, "allowSyntheticDefaultImports": true, - "moduleResolution": "node" + "moduleResolution": "node", + "lib": ["ES2017", "DOM", "WebWorker"] } -} \ No newline at end of file +} diff --git a/vendored/miniBill/elm-glsl/1.0.0/LICENSE b/vendored/miniBill/elm-glsl/1.0.0/LICENSE new file mode 100644 index 00000000..83f164fe --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/LICENSE @@ -0,0 +1,11 @@ +Copyright 2025 Leonardo Taglialegne + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/vendored/miniBill/elm-glsl/1.0.0/README.md b/vendored/miniBill/elm-glsl/1.0.0/README.md new file mode 100644 index 00000000..43d23a59 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/README.md @@ -0,0 +1 @@ +A library to produce GLSL shaders as strings. diff --git a/vendored/miniBill/elm-glsl/1.0.0/elm.json b/vendored/miniBill/elm-glsl/1.0.0/elm.json new file mode 100644 index 00000000..ebcc14cb --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/elm.json @@ -0,0 +1,19 @@ +{ + "type": "package", + "name": "miniBill/elm-glsl", + "summary": "Generate GLSL shaders in a typesafe way", + "license": "BSD-3-Clause", + "version": "1.0.0", + "exposed-modules": [], + "elm-version": "0.19.0 <= v < 0.20.0", + "dependencies": { + "elm/core": "1.0.0 <= v < 2.0.0", + "elm/parser": "1.1.0 <= v < 2.0.0" + }, + "test-dependencies": { + "elm/json": "1.1.3 <= v < 2.0.0", + "elm-explorations/test": "2.0.0 <= v < 3.0.0", + "elmcraft/core-extra": "2.0.0 <= v < 3.0.0", + "rtfeldman/console-print": "1.0.1 <= v < 2.0.0" + } +} diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl.elm new file mode 100644 index 00000000..2920101e --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl.elm @@ -0,0 +1,812 @@ +module Glsl exposing + ( Declaration(..), Uniform, Function + , Statement(..), Stat(..) + , Expression(..), ExprWithDeps, Expr(..) + , BinaryOperation(..), UnaryOperation(..), RelationOperation(..) + , true, false, int1, float1, bool1, double1, uint1 + , TypingFunction, TypedName(..), Type(..) + , Vec, Mat, D1, D2, D3, D4 + , Float_, Vec2, Vec3, Vec4 + , Int_, IVec2, IVec3, IVec4 + , Bool_, BVec2, BVec3, BVec4 + , Uint, Uint_, UVec2, UVec3, UVec4 + , Double, Double_, DVec2, DVec3, DVec4 + , Mat2, Mat3, Mat4, Mat23, Mat24, Mat32, Mat34, Mat42, Mat43 + , DMat2, DMat3, DMat4, DMat23, DMat24, DMat32, DMat34, DMat42, DMat43 + , Void, In, Out, Const + , unsafeCall0, unsafeCall1, unsafeCall2, unsafeCall3, unsafeCall4, unsafeCall5, unsafeCall6, unsafeCall7, unsafeCall8, unsafeCall9 + , unsafeMap, unsafeMap2, unsafeMap3 + , unsafeTypecast + , unsafeVar + , unsafeDot + , build, withExpression, withStatement, withContinuation, buildExpression, buildStatement, WithDepsBuilder + , block, deps + ) + +{-| + + +# Types + +@docs Declaration, Uniform, Function +@docs Statement, Stat +@docs Expression, ExprWithDeps, Expr +@docs BinaryOperation, UnaryOperation, RelationOperation + + +# Utils + +@docs true, false, int1, float1, bool1, double1, uint1 + + +# Typelevel types + +@docs TypingFunction, TypedName, Type +@docs Vec, Mat, D1, D2, D3, D4 +@docs Float_, Vec2, Vec3, Vec4 +@docs Int_, IVec2, IVec3, IVec4 +@docs Bool_, BVec2, BVec3, BVec4 +@docs Uint, Uint_, UVec2, UVec3, UVec4 +@docs Double, Double_, DVec2, DVec3, DVec4 +@docs Mat2, Mat3, Mat4, Mat23, Mat24, Mat32, Mat34, Mat42, Mat43 +@docs DMat2, DMat3, DMat4, DMat23, DMat24, DMat32, DMat34, DMat42, DMat43 +@docs Void, In, Out, Const + + +# Escape hatches + +@docs unsafeCall0, unsafeCall1, unsafeCall2, unsafeCall3, unsafeCall4, unsafeCall5, unsafeCall6, unsafeCall7, unsafeCall8, unsafeCall9 +@docs unsafeMap, unsafeMap2, unsafeMap3 +@docs unsafeTypecast +@docs unsafeVar +@docs unsafeDot + + +# Building while tracking dependencies + +@docs build, withExpression, withStatement, withContinuation, buildExpression, buildStatement, WithDepsBuilder + +-} + +import SortedSet exposing (SortedSet) + + +block : List Stat -> Stat +block stats = + let + list : List Stat + list = + List.concatMap + (\stat -> + case stat of + Block a b children -> + a :: b :: children + + Nop -> + [] + + _ -> + [ stat ] + ) + stats + in + case list of + [] -> + Nop + + [ child ] -> + child + + a :: b :: c -> + Block a b c + + + +-- UNSAFE -- + + +unsafeCall0 : String -> List String -> Expression r +unsafeCall0 name dps = + build (Call (Variable name) []) + |> withDependencies dps + |> buildExpression + + +unsafeCall1 : String -> List String -> Expression t -> Expression r +unsafeCall1 name dps arg0 = + build (\a0 -> Call (Variable name) [ a0 ]) + |> withDependencies dps + |> withExpression arg0 + |> buildExpression + + +unsafeCall2 : String -> List String -> Expression t -> Expression u -> Expression r +unsafeCall2 name dps arg0 arg1 = + build (\a0 a1 -> Call (Variable name) [ a0, a1 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> buildExpression + + +unsafeCall3 : String -> List String -> Expression t -> Expression u -> Expression v -> Expression r +unsafeCall3 name dps arg0 arg1 arg2 = + build (\a0 a1 a2 -> Call (Variable name) [ a0, a1, a2 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> withExpression arg2 + |> buildExpression + + +unsafeCall4 : String -> List String -> Expression t -> Expression u -> Expression v -> Expression w -> Expression r +unsafeCall4 name dps arg0 arg1 arg2 arg3 = + build (\a0 a1 a2 a3 -> Call (Variable name) [ a0, a1, a2, a3 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> withExpression arg2 + |> withExpression arg3 + |> buildExpression + + +unsafeCall5 : String -> List String -> Expression t -> Expression u -> Expression v -> Expression w -> Expression x -> Expression r +unsafeCall5 name dps arg0 arg1 arg2 arg3 arg4 = + build (\a0 a1 a2 a3 a4 -> Call (Variable name) [ a0, a1, a2, a3, a4 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> withExpression arg2 + |> withExpression arg3 + |> withExpression arg4 + |> buildExpression + + +unsafeCall6 : String -> List String -> Expression a -> Expression b -> Expression c -> Expression d -> Expression e -> Expression f -> Expression r +unsafeCall6 name dps arg0 arg1 arg2 arg3 arg4 arg5 = + build (\a0 a1 a2 a3 a4 a5 -> Call (Variable name) [ a0, a1, a2, a3, a4, a5 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> withExpression arg2 + |> withExpression arg3 + |> withExpression arg4 + |> withExpression arg5 + |> buildExpression + + +unsafeCall7 : String -> List String -> Expression a -> Expression b -> Expression c -> Expression d -> Expression e -> Expression f -> Expression g -> Expression r +unsafeCall7 name dps arg0 arg1 arg2 arg3 arg4 arg5 arg6 = + build (\a0 a1 a2 a3 a4 a5 a6 -> Call (Variable name) [ a0, a1, a2, a3, a4, a5, a6 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> withExpression arg2 + |> withExpression arg3 + |> withExpression arg4 + |> withExpression arg5 + |> withExpression arg6 + |> buildExpression + + +unsafeCall8 : String -> List String -> Expression a -> Expression b -> Expression c -> Expression d -> Expression e -> Expression f -> Expression g -> Expression h -> Expression r +unsafeCall8 name dps arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 = + build (\a0 a1 a2 a3 a4 a5 a6 a7 -> Call (Variable name) [ a0, a1, a2, a3, a4, a5, a6, a7 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> withExpression arg2 + |> withExpression arg3 + |> withExpression arg4 + |> withExpression arg5 + |> withExpression arg6 + |> withExpression arg7 + |> buildExpression + + +unsafeCall9 : String -> List String -> Expression a -> Expression b -> Expression c -> Expression d -> Expression e -> Expression f -> Expression g -> Expression h -> Expression i -> Expression r +unsafeCall9 name dps arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8 = + build (\a0 a1 a2 a3 a4 a5 a6 a7 a8 -> Call (Variable name) [ a0, a1, a2, a3, a4, a5, a6, a7, a8 ]) + |> withDependencies dps + |> withExpression arg0 + |> withExpression arg1 + |> withExpression arg2 + |> withExpression arg3 + |> withExpression arg4 + |> withExpression arg5 + |> withExpression arg6 + |> withExpression arg7 + |> withExpression arg8 + |> buildExpression + + +unsafeMap : (Expr -> Expr) -> Expression a -> Expression b +unsafeMap f l = + build f + |> withExpression l + |> buildExpression + + +unsafeMap2 : (Expr -> Expr -> Expr) -> Expression a -> Expression b -> Expression c +unsafeMap2 f l r = + build f + |> withExpression l + |> withExpression r + |> buildExpression + + +unsafeMap3 : (Expr -> Expr -> Expr -> Expr) -> Expression a -> Expression b -> Expression c -> Expression d +unsafeMap3 f l m r = + build f + |> withExpression l + |> withExpression m + |> withExpression r + |> buildExpression + + +unsafeTypecast : Expression a -> Expression b +unsafeTypecast (Expression a) = + Expression a + + +type WithDepsBuilder k + = WithDepsBuilder k (SortedSet String) + + +build : k -> WithDepsBuilder k +build k = + WithDepsBuilder k SortedSet.empty + + +withExpression : Expression e -> WithDepsBuilder (Expr -> k) -> WithDepsBuilder k +withExpression (Expression e) (WithDepsBuilder k dps) = + WithDepsBuilder (k e.expr) + (dps |> SortedSet.insertAll e.deps) + + +withStatement : Statement r -> WithDepsBuilder (Stat -> k) -> WithDepsBuilder k +withStatement (Statement s) (WithDepsBuilder k dps) = + WithDepsBuilder + (k s.stat) + (dps |> SortedSet.insertAll s.deps) + + +withContinuation : (() -> Statement r) -> WithDepsBuilder Stat -> Statement r +withContinuation next (WithDepsBuilder k dps) = + let + (Statement s) = + next () + in + Statement + { stat = block [ k, s.stat ] + , deps = dps |> SortedSet.insertAll s.deps + } + + +withDependencies : List String -> WithDepsBuilder k -> WithDepsBuilder k +withDependencies additionalDeps (WithDepsBuilder k dps) = + WithDepsBuilder k + (dps |> SortedSet.insertAll (SortedSet.fromList additionalDeps)) + + +buildStatement : WithDepsBuilder Stat -> Statement r +buildStatement (WithDepsBuilder stat dps) = + Statement + { stat = block [ stat ] + , deps = dps + } + + +buildExpression : WithDepsBuilder Expr -> Expression t +buildExpression (WithDepsBuilder expr dps) = + Expression + { expr = expr + , deps = dps + } + + + +-- Typed expressions + + +type Declaration + = FunctionDeclaration Function + | UniformDeclaration Uniform + | ConstDeclaration Const + + +type alias Function = + { returnType : Type + , name : String + , args : List ( Type, String ) + , stat : Stat + } + + +type alias Uniform = + { tipe : Type + , name : String + } + + +type alias Const = + { tipe : Type + , name : String + , value : Expr + } + + +type Expression t + = Expression ExprWithDeps + + +type alias ExprWithDeps = + { expr : Expr + , deps : SortedSet String + } + + +type Expr + = Bool Bool + | Int Int + | Float Float + | Uint Int + | Double Float + | Variable String + | Ternary Expr Expr Expr + | UnaryOperation UnaryOperation Expr + | BinaryOperation Expr BinaryOperation Expr + | Call Expr (List Expr) + | Dot Expr String + + +type BinaryOperation + = -- 2 + ArraySubscript + -- 4 + | By + | Div + | Mod + | -- 5 + Add + | Subtract + -- 6 + | ShiftLeft + | ShiftRight + -- 7 and 8 + | RelationOperation RelationOperation + -- 9 + | BitwiseAnd + -- 10 + | BitwiseOr + -- 11 + | BitwiseXor + -- 12 + | And + -- 13 + | Xor + -- 14 + | Or + -- 16 + | Assign + | ComboAdd + | ComboSubtract + | ComboBy + | ComboDiv + | ComboMod + | ComboLeftShift + | ComboRightShift + | ComboBitwiseAnd + | ComboBitwiseXor + | ComboBitwiseOr + -- 17 + | Comma + + +type RelationOperation + = -- 7 + LessThan + | GreaterThan + | LessThanOrEquals + | GreaterThanOrEquals + -- 8 + | Equals + | NotEquals + + +type UnaryOperation + = -- 2 + PostfixIncrement + | PostfixDecrement + -- 3 + | PrefixIncrement + | PrefixDecrement + | Plus + | Negate + | Invert + | Not + + + +-- Typed statements + + +type Statement r + = Statement + { stat : Stat + , deps : SortedSet String + } + + +type Stat + = If Expr Stat + | IfElse Expr Stat Stat + | For (Maybe Stat) Expr Expr Stat + | Return Expr + | Break + | Continue + | ExpressionStatement Expr + | Decl Type String (Maybe Expr) + | Nop + | Block Stat Stat (List Stat) + + +type alias TypingFunction t = + String -> TypedName t + + +type TypedName t + = TypedName Type String + + +type Type + = TVoid + -- bool + | TBool + | TBVec2 + | TBVec3 + | TBVec4 + -- int + | TInt + | TIVec2 + | TIVec3 + | TIVec4 + -- uint + | TUint + | TUVec2 + | TUVec3 + | TUVec4 + -- float + | TFloat + | TVec2 + | TVec3 + | TVec4 + -- double + | TDouble + | TDVec2 + | TDVec3 + | TDVec4 + -- mat + | TMat2 + | TMat3 + | TMat4 + | TMat23 + | TMat24 + | TMat32 + | TMat34 + | TMat42 + | TMat43 + | TDMat2 + | TDMat3 + | TDMat4 + | TDMat23 + | TDMat24 + | TDMat32 + | TDMat34 + | TDMat42 + | TDMat43 + -- Sampler/image + -- | TSampler1D + -- | TImage1D + -- | TSampler2D + -- | TImage2D + -- | TSampler3D + -- | TImage3D + -- | TSamplerCube + -- | TImageCube + -- | TSampler2DRect + -- | TImage2DRect + -- | TSampler1DArray + -- | TImage1DArray + -- | TSampler2DArray + -- | TImage2DArray + -- | TSamplerBuffer + -- | TImageBuffer + -- | TSampler2DMS + -- | TImage2DMS + -- | TSampler2DMSArray + -- | TImage2DMSArray + -- | TSamplerCubeArray + -- | TImageCubeArray + -- | TSampler1DShadow + -- | TSampler2DShadow + -- | TSampler2DRectShadow + -- | TSampler1DArrayShadow + -- | TSampler2DArrayShadow + -- | TSamplerCubeShadow + -- | TSamplerCubeArrayShadow + -- in/on + | TIn Type + | TOut Type + + + +-- Typelevel types. Eh. + + +type Vec t d + = Vec + + +type alias Float_ = + Vec Float D1 + + +type alias Vec2 = + Vec Float D2 + + +type alias Vec3 = + Vec Float D3 + + +type alias Vec4 = + Vec Float D4 + + +type alias D1 = + {} + + +type alias D2 = + { x : () + , y : () + } + + +type alias D3 = + { x : () + , y : () + , z : () + } + + +type alias D4 = + { x : () + , y : () + , z : () + , w : () + } + + +type alias Int_ = + Vec Int D1 + + +type alias IVec2 = + Vec Int D2 + + +type alias IVec3 = + Vec Int D3 + + +type alias IVec4 = + Vec Int D4 + + +type alias Bool_ = + Vec Bool D1 + + +type alias BVec2 = + Vec Bool D2 + + +type alias BVec3 = + Vec Bool D3 + + +type alias BVec4 = + Vec Bool D4 + + +type Uint + = UintType + + +type alias Uint_ = + Vec Uint D1 + + +type alias UVec2 = + Vec Uint D2 + + +type alias UVec3 = + Vec Uint D3 + + +type alias UVec4 = + Vec Uint D4 + + +type Double + = DoubleType + + +type alias Double_ = + Vec Double D1 + + +type alias DVec2 = + Vec Double D2 + + +type alias DVec3 = + Vec Double D3 + + +type alias DVec4 = + Vec Double D4 + + +type Mat t r c + = Mat + + +type alias Mat2 = + Mat Float D2 D2 + + +type alias Mat3 = + Mat Float D3 D3 + + +type alias Mat4 = + Mat Float D4 D4 + + +type alias Mat23 = + Mat Float D2 D3 + + +type alias Mat24 = + Mat Float D2 D4 + + +type alias Mat32 = + Mat Float D3 D2 + + +type alias Mat34 = + Mat Float D3 D4 + + +type alias Mat42 = + Mat Float D4 D2 + + +type alias Mat43 = + Mat Float D4 D3 + + +type alias DMat2 = + Mat Double D2 D2 + + +type alias DMat3 = + Mat Double D3 D3 + + +type alias DMat4 = + Mat Double D4 D4 + + +type alias DMat23 = + Mat Double D2 D3 + + +type alias DMat24 = + Mat Double D2 D4 + + +type alias DMat32 = + Mat Double D3 D2 + + +type alias DMat34 = + Mat Double D3 D4 + + +type alias DMat42 = + Mat Double D4 D2 + + +type alias DMat43 = + Mat Double D4 D3 + + +type Void + = Void + + +type In t + = In + + +type Out t + = Out + + + +-- Utils + + +true : Expression Bool_ +true = + bool1 True + + +false : Expression Bool_ +false = + bool1 False + + +bool1 : Bool -> Expression Bool_ +bool1 b = + pure <| Bool b + + +int1 : Int -> Expression Int_ +int1 i = + pure <| Int i + + +float1 : Float -> Expression Float_ +float1 i = + pure <| Float i + + +uint1 : Int -> Expression Uint +uint1 i = + pure <| Uint i + + +double1 : Float -> Expression Double_ +double1 i = + pure <| Double i + + +unsafeVar : String -> Expression t +unsafeVar v = + pure <| Variable v + + +unsafeDot : Expression t -> String -> Expression a +unsafeDot ex v = + unsafeMap (\e -> Dot e v) ex + + +pure : Expr -> Expression t +pure e = + Expression + { expr = e + , deps = SortedSet.empty + } + + +deps : Expression a -> List String +deps (Expression e) = + e.deps + |> SortedSet.toList diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Constants.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Constants.elm new file mode 100644 index 00000000..c5feeebc --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Constants.elm @@ -0,0 +1,45 @@ +module Glsl.Constants exposing + ( gl_FragColor, gl_FragCoord + , zero, one, minusOne + ) + +{-| + + +# Variables + +@docs gl_FragColor, gl_FragCoord + + +# Numbers + +@docs zero, one, minusOne + +-} + +import Glsl exposing (Expression, Float_, Vec4, float1, unsafeVar) + + +gl_FragColor : Expression Vec4 +gl_FragColor = + unsafeVar "gl_FragColor" + + +gl_FragCoord : Expression Vec4 +gl_FragCoord = + unsafeVar "gl_FragCoord" + + +zero : Expression Float_ +zero = + float1 0 + + +one : Expression Float_ +one = + float1 1 + + +minusOne : Expression Float_ +minusOne = + float1 -1 diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Dot.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Dot.elm new file mode 100644 index 00000000..fcbaf138 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Dot.elm @@ -0,0 +1,176 @@ +module Glsl.Dot exposing + ( x, y, z, w + , xx, xy, xz, xw + , yx, yy, yz, yw + , zx, zy, zz, zw + , wx, wy, wz, ww + , Dot(..) + , dot1, dot2, dot3, dot4 + , dx, dy, dz, dw + ) + +{-| + + +# Simple swizzles + +@docs x, y, z, w +@docs xx, xy, xz, xw +@docs yx, yy, yz, yw +@docs zx, zy, zz, zw +@docs wx, wy, wz, ww + + +# Arbitrary swizzles + +@docs Dot +@docs dot1, dot2, dot3, dot4 +@docs dx, dy, dz, dw + +-} + +import Glsl exposing (D1, D2, D3, D4, Expression, Vec, unsafeDot) + + +type Dot q + = Dotter Char + + +dx : Dot { a | x : x } +dx = + Dotter 'x' + + +dy : Dot { a | y : y } +dy = + Dotter 'y' + + +dz : Dot { a | z : z } +dz = + Dotter 'z' + + +dw : Dot { a | w : w } +dw = + Dotter 'w' + + +dot1 : Dot q -> Expression (Vec t q) -> Expression (Vec t D1) +dot1 (Dotter d1) e = + unsafeDot e (String.fromChar d1) + + +dot2 : Dot q -> Dot q -> Expression (Vec t q) -> Expression (Vec t D2) +dot2 (Dotter d1) (Dotter d2) e = + unsafeDot e (String.fromList [ d1, d2 ]) + + +xx : Expression (Vec t { a | x : x }) -> Expression (Vec t D2) +xx = + dot2 dx dx + + +xy : Expression (Vec t { a | x : x, y : y }) -> Expression (Vec t D2) +xy = + dot2 dx dy + + +xz : Expression (Vec t { a | x : x, z : z }) -> Expression (Vec t D2) +xz = + dot2 dx dz + + +xw : Expression (Vec t { a | x : x, w : w }) -> Expression (Vec t D2) +xw = + dot2 dx dw + + +yx : Expression (Vec t { a | y : y, x : x }) -> Expression (Vec t D2) +yx = + dot2 dy dx + + +yy : Expression (Vec t { a | y : y }) -> Expression (Vec t D2) +yy = + dot2 dy dy + + +yz : Expression (Vec t { a | y : y, z : z }) -> Expression (Vec t D2) +yz = + dot2 dy dz + + +yw : Expression (Vec t { a | y : y, w : w }) -> Expression (Vec t D2) +yw = + dot2 dy dw + + +zx : Expression (Vec t { a | z : z, x : x }) -> Expression (Vec t D2) +zx = + dot2 dz dx + + +zy : Expression (Vec t { a | z : z, y : y }) -> Expression (Vec t D2) +zy = + dot2 dz dy + + +zz : Expression (Vec t { a | z : z }) -> Expression (Vec t D2) +zz = + dot2 dz dz + + +zw : Expression (Vec t { a | z : z, w : w }) -> Expression (Vec t D2) +zw = + dot2 dz dw + + +wx : Expression (Vec t { a | w : w, x : x }) -> Expression (Vec t D2) +wx = + dot2 dw dx + + +wy : Expression (Vec t { a | w : w, y : y }) -> Expression (Vec t D2) +wy = + dot2 dw dy + + +wz : Expression (Vec t { a | w : w, z : z }) -> Expression (Vec t D2) +wz = + dot2 dw dz + + +ww : Expression (Vec t { a | w : w }) -> Expression (Vec t D2) +ww = + dot2 dw dw + + +dot3 : Dot q -> Dot q -> Dot q -> Expression (Vec t q) -> Expression (Vec t D3) +dot3 (Dotter d1) (Dotter d2) (Dotter d3) e = + unsafeDot e (String.fromList [ d1, d2, d3 ]) + + +dot4 : Dot q -> Dot q -> Dot q -> Dot q -> Expression (Vec t q) -> Expression (Vec t D4) +dot4 (Dotter d1) (Dotter d2) (Dotter d3) (Dotter d4) e = + unsafeDot e (String.fromList [ d1, d2, d3, d4 ]) + + +x : Expression (Vec t { a | x : x }) -> Expression (Vec t D1) +x e = + dot1 dx e + + +y : Expression (Vec t { a | y : y }) -> Expression (Vec t D1) +y e = + dot1 dy e + + +z : Expression (Vec t { a | z : z }) -> Expression (Vec t D1) +z e = + dot1 dz e + + +w : Expression (Vec t { a | w : w }) -> Expression (Vec t D1) +w e = + dot1 dw e diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Eval.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Eval.elm new file mode 100644 index 00000000..18642d76 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Eval.elm @@ -0,0 +1,370 @@ +module Glsl.Eval exposing (Context, Error(..), Value(..), interpret, value) + +import Dict exposing (Dict) +import Glsl exposing (BinaryOperation(..), Expr(..), Expression(..), RelationOperation(..), Stat(..), Statement(..), UnaryOperation(..)) + + +type Value + = VFloat Float + | VBool Bool + | VInt Int + | VVec2 Float Float + | VVec3 Float Float Float + | VMat3 ( Float, Float, Float ) ( Float, Float, Float ) ( Float, Float, Float ) + | VVoid -- Used for void return + + +type alias Context = + Dict String Value + + +type Error + = MissingVariable String + | InvalidTypes String + + +value : Context -> Expression t -> Result Error ( Context, Value ) +value initialContext (Expression input) = + innerValue initialContext input.expr + + +innerValue : Context -> Expr -> Result Error ( Context, Value ) +innerValue ctx e = + case e of + Float f -> + Ok ( ctx, VFloat f ) + + Bool b -> + Ok ( ctx, VBool b ) + + Int i -> + Ok ( ctx, VInt i ) + + Variable v -> + case Dict.get v ctx of + Just f -> + Ok ( ctx, f ) + + Nothing -> + Err <| MissingVariable v + + UnaryOperation Negate c -> + innerValue ctx c + |> Result.andThen + (\( ctx2, vc ) -> + case vc of + VFloat fc -> + Ok ( ctx2, VFloat <| negate fc ) + + _ -> + Err <| + InvalidTypes + ("Cannot calculate `-` for " ++ valueToString vc) + ) + + BinaryOperation l And r -> + innerValue2 ctx l r <| \ctx2 vl vr -> + case ( vl, vr ) of + ( VBool bl, VBool br ) -> + Ok ( ctx2, VBool <| bl && br ) + + _ -> + Err <| + InvalidTypes + ("Cannot calculate `and` for " ++ valueToString vl ++ " and " ++ valueToString vr) + + BinaryOperation l Or r -> + innerValue2 ctx l r <| \ctx2 vl vr -> + case ( vl, vr ) of + ( VBool bl, VBool br ) -> + Ok ( ctx2, VBool <| bl || br ) + + _ -> + Err <| + InvalidTypes + ("Cannot calculate `or` for " ++ valueToString vl ++ " and " ++ valueToString vr) + + BinaryOperation l (RelationOperation k) r -> + innerValue2 ctx l r <| \ctx2 vl vr -> + case ( vl, vr, k ) of + ( VFloat fl, VFloat fr, LessThan ) -> + Ok ( ctx2, VBool (fl < fr) ) + + ( VFloat fl, VFloat fr, LessThanOrEquals ) -> + Ok ( ctx2, VBool (fl <= fr) ) + + ( VFloat fl, VFloat fr, Equals ) -> + Ok ( ctx2, VBool (fl == fr) ) + + ( VFloat fl, VFloat fr, GreaterThanOrEquals ) -> + Ok ( ctx2, VBool (fl >= fr) ) + + ( VFloat fl, VFloat fr, GreaterThan ) -> + Ok ( ctx2, VBool (fl > fr) ) + + _ -> + Err <| + InvalidTypes + ("Cannot compare " ++ valueToString vl ++ " and " ++ valueToString vr) + + BinaryOperation l By r -> + innerValue2 ctx l r <| \ctx2 vl vr -> + case ( vl, vr ) of + ( VFloat fl, VFloat fr ) -> + Ok ( ctx2, VFloat <| fl * fr ) + + _ -> + Err <| + InvalidTypes + ("Cannot calculate `*` for " ++ valueToString vl ++ " and " ++ valueToString vr) + + Call (Variable "vec2") [ l, r ] -> + innerValue2 ctx l r <| \ctx2 vl vr -> + case ( vl, vr ) of + ( VFloat fl, VFloat fr ) -> + Ok ( ctx2, VVec2 fl fr ) + + _ -> + Err <| + InvalidTypes + ("Cannot calculate `vec2` for " ++ valueToString vl ++ " and " ++ valueToString vr) + + Call (Variable "exp") [ l ] -> + autovectorizingFloatOp ctx "exp" (\fv -> Basics.e ^ fv) l + + Call (Variable "cos") [ l ] -> + autovectorizingFloatOp ctx "cos" Basics.cos l + + Call (Variable "sin") [ l ] -> + autovectorizingFloatOp ctx "sin" Basics.sin l + + Call name args -> + Debug.todo <| + "branch 'Call \"" + ++ Debug.toString name + ++ "\" [" + ++ String.join ", " (List.map (Debug.toString >> (++) " ") args) + ++ " ]' not implemented" + + Dot _ _ -> + Debug.todo "branch 'Dot _ _' not implemented" + + Uint _ -> + Debug.todo "branch 'Uint _' not implemented" + + Double _ -> + Debug.todo "branch 'Double _' not implemented" + + UnaryOperation PostfixIncrement _ -> + Debug.todo "branch 'UnaryOperation PostfixIncrement _' not implemented" + + UnaryOperation PostfixDecrement _ -> + Debug.todo "branch 'UnaryOperation PostfixDecrement _' not implemented" + + UnaryOperation PrefixIncrement _ -> + Debug.todo "branch 'UnaryOperation PrefixIncrement _' not implemented" + + UnaryOperation PrefixDecrement _ -> + Debug.todo "branch 'UnaryOperation PrefixDecrement _' not implemented" + + UnaryOperation Plus _ -> + Debug.todo "branch 'UnaryOperation Plus _' not implemented" + + UnaryOperation Invert _ -> + Debug.todo "branch 'UnaryOperation Invert _' not implemented" + + UnaryOperation Not _ -> + Debug.todo "branch 'UnaryOperation Not _' not implemented" + + BinaryOperation _ ArraySubscript _ -> + Debug.todo "branch 'BinaryOperation _ ArraySubscript _' not implemented" + + BinaryOperation _ Mod _ -> + Debug.todo "branch 'BinaryOperation _ Mod _' not implemented" + + BinaryOperation _ ShiftLeft _ -> + Debug.todo "branch 'BinaryOperation _ ShiftLeft _' not implemented" + + BinaryOperation _ ShiftRight _ -> + Debug.todo "branch 'BinaryOperation _ ShiftRight _' not implemented" + + BinaryOperation _ BitwiseAnd _ -> + Debug.todo "branch 'BinaryOperation _ BitwiseAnd _' not implemented" + + BinaryOperation _ BitwiseOr _ -> + Debug.todo "branch 'BinaryOperation _ BitwiseOr _' not implemented" + + BinaryOperation _ BitwiseXor _ -> + Debug.todo "branch 'BinaryOperation _ BitwiseXor _' not implemented" + + BinaryOperation _ Xor _ -> + Debug.todo "branch 'BinaryOperation _ Xor _' not implemented" + + BinaryOperation _ Assign _ -> + Debug.todo "branch 'BinaryOperation _ Assign _' not implemented" + + BinaryOperation _ ComboAdd _ -> + Debug.todo "branch 'BinaryOperation _ ComboAdd _' not implemented" + + BinaryOperation _ ComboSubtract _ -> + Debug.todo "branch 'BinaryOperation _ ComboSubtract _' not implemented" + + BinaryOperation _ ComboBy _ -> + Debug.todo "branch 'BinaryOperation _ ComboBy _' not implemented" + + BinaryOperation _ ComboDiv _ -> + Debug.todo "branch 'BinaryOperation _ ComboDiv _' not implemented" + + BinaryOperation _ ComboMod _ -> + Debug.todo "branch 'BinaryOperation _ ComboMod _' not implemented" + + BinaryOperation _ ComboLeftShift _ -> + Debug.todo "branch 'BinaryOperation _ ComboLeftShift _' not implemented" + + BinaryOperation _ ComboRightShift _ -> + Debug.todo "branch 'BinaryOperation _ ComboRightShift _' not implemented" + + BinaryOperation _ ComboBitwiseAnd _ -> + Debug.todo "branch 'BinaryOperation _ ComboBitwiseAnd _' not implemented" + + BinaryOperation _ ComboBitwiseXor _ -> + Debug.todo "branch 'BinaryOperation _ ComboBitwiseXor _' not implemented" + + BinaryOperation _ ComboBitwiseOr _ -> + Debug.todo "branch 'BinaryOperation _ ComboBitwiseOr _' not implemented" + + BinaryOperation _ Comma _ -> + Debug.todo "branch 'BinaryOperation _ Comma _' not implemented" + + Ternary _ _ _ -> + Debug.todo "branch 'Ternary _ _ _' not implemented" + + BinaryOperation _ Div _ -> + Debug.todo "branch 'BinaryOperation _ Div _' not implemented" + + BinaryOperation _ Add _ -> + Debug.todo "branch 'BinaryOperation _ Add _' not implemented" + + BinaryOperation _ Subtract _ -> + Debug.todo "branch 'BinaryOperation _ Subtract _' not implemented" + + +innerValue2 : + Context + -> Expr + -> Expr + -> (Context -> Value -> Value -> Result Error ( Context, Value )) + -> Result Error ( Context, Value ) +innerValue2 ctx l r k = + innerValue ctx l + |> Result.andThen + (\( ctx2, vl ) -> + innerValue ctx2 r + |> Result.andThen + (\( ctx3, vr ) -> + k ctx3 vl vr + ) + ) + + +autovectorizingFloatOp : Context -> String -> (Float -> Float) -> Expr -> Result Error ( Dict String Value, Value ) +autovectorizingFloatOp ctx name inner e = + innerValue ctx e + |> Result.andThen + (\( ctx2, v ) -> + case v of + VFloat fv -> + Ok ( ctx2, VFloat <| inner fv ) + + VVec2 x y -> + Ok ( ctx2, VVec2 (inner x) (inner y) ) + + VVec3 x y z -> + Ok ( ctx2, VVec3 (inner x) (inner y) (inner z) ) + + _ -> + Err <| + InvalidTypes + ("Cannot calculate `" ++ name ++ "` for " ++ valueToString v) + ) + + +interpret : Context -> Statement a -> Result Error ( Context, Value ) +interpret ctx (Statement s) = + innerInterpret ctx s.stat + + +innerInterpret : Context -> Stat -> Result Error ( Context, Value ) +innerInterpret ctx stat = + case stat of + Return e -> + innerValue ctx e + + If c t -> + c + |> innerValue ctx + |> Result.andThen + (\( ctx2, cval ) -> + case cval of + VBool True -> + innerInterpret ctx2 t + + VBool False -> + Ok ( ctx2, VVoid ) + + _ -> + Err <| InvalidTypes <| "Condition of if evaluated to " ++ Debug.toString cval + ) + + IfElse _ _ _ -> + Debug.todo "branch 'IfElse _' not implemented" + + Nop -> + Ok ( ctx, VVoid ) + + ExpressionStatement _ -> + Debug.todo "branch 'ExpressionStatement _' not implemented" + + Decl _ _ _ -> + Debug.todo "branch 'Decl _ _ _' not implemented" + + For _ _ _ _ -> + Debug.todo "branch 'For _ _ _ _' not implemented" + + Break -> + Debug.todo "branch 'Break' not implemented" + + Continue -> + Debug.todo "branch 'Continue' not implemented" + + Block _ _ _ -> + Debug.todo "branch 'Block _ _ _' not implemented" + + +valueToString : Value -> String +valueToString v = + case v of + VFloat f -> + String.fromFloat f + + VBool b -> + if b then + "true" + + else + "false" + + VInt i -> + String.fromInt i + + VVoid -> + "void" + + VVec2 x y -> + "vec2(" ++ String.fromFloat x ++ "," ++ String.fromFloat y ++ ")" + + VVec3 x y z -> + "vec3(" ++ String.fromFloat x ++ "," ++ String.fromFloat y ++ "," ++ String.fromFloat z ++ ")" + + VMat3 _ _ _ -> + Debug.todo "branch 'VMat3 _ _ _' not implemented" diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Functions.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Functions.elm new file mode 100644 index 00000000..1b0035d7 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Functions.elm @@ -0,0 +1,22156 @@ +module Glsl.Functions exposing + ( abs1, abs2, abs3, abs4, absd1, absd2 + , absd3, absd4, absf, absi1, absi2, absi3 + , absi4, abswd1, abswi1 + , ceil1, ceil2, ceil3, ceil4, ceild1, ceild2 + , ceild3, ceild4, ceilf, ceilwd1, ceil + , clamp111, clamp11f, clamp1f1, clamp1ff, clamp211, clamp21f + , clamp222, clamp2f1, clamp2ff, clamp311, clamp31f, clamp333 + , clamp3f1, clamp3ff, clamp411, clamp41f, clamp444, clamp4f1 + , clamp4ff, clampd1d1d1, clampd1d1wd1, clampd1wd1d1, clampd1wd1wd1, clampd2d1d1 + , clampd2d1wd1, clampd2d2d2, clampd2wd1d1, clampd2wd1wd1, clampd3d1d1, clampd3d1wd1 + , clampd3d3d3, clampd3wd1d1, clampd3wd1wd1, clampd4d1d1, clampd4d1wd1, clampd4d4d4 + , clampd4wd1d1, clampd4wd1wd1, clampf11, clampf1f, clampff1, clampfff + , clampi1i1i1, clampi1i1wi1, clampi1wi1i1, clampi1wi1wi1, clampi2i1i1, clampi2i1wi1 + , clampi2i2i2, clampi2wi1i1, clampi2wi1wi1, clampi3i1i1, clampi3i1wi1, clampi3i3i3 + , clampi3wi1i1, clampi3wi1wi1, clampi4i1i1, clampi4i1wi1, clampi4i4i4, clampi4wi1i1 + , clampi4wi1wi1, clampu1u1u1, clampu1u1wu1, clampu1wu1u1, clampu1wu1wu1, clampu2u1u1 + , clampu2u1wu1, clampu2u2u2, clampu2wu1u1, clampu2wu1wu1, clampu3u1u1, clampu3u1wu1 + , clampu3u3u3, clampu3wu1u1, clampu3wu1wu1, clampu4u1u1, clampu4u1wu1, clampu4u4u4 + , clampu4wu1u1, clampu4wu1wu1, clampwd1d1d1, clampwd1d1wd1, clampwd1wd1d1, clampwd1wd1wd1 + , clampwi1i1i1, clampwi1i1wi1, clampwi1wi1i1, clampwi1wi1wi1, clampwu1u1u1, clampwu1u1wu1 + , clampwu1wu1u1, clampwu1wu1wu1 + , cross33, crossd3d3 + , distance11, distance1f, distance22, distance33, distance44, distanced1d1 + , distanced1wd1, distanced2d2, distanced3d3, distanced4d4, distancef1, distanceff + , distancewd1d1, distancewd1wd1, distance + , dot11, dot1f, dot22, dot33, dot44, dotd1d1 + , dotd1wd1, dotd2d2, dotd3d3, dotd4d4, dotf1, dotff + , dotwd1d1, dotwd1wd1, dot + , faceforward111, faceforward11f, faceforward1f1, faceforward1ff, faceforward222, faceforward333 + , faceforward444, faceforwardd1d1d1, faceforwardd1d1wd1, faceforwardd1wd1d1, faceforwardd1wd1wd1, faceforwardd2d2d2 + , faceforwardd3d3d3, faceforwardd4d4d4, faceforwardf11, faceforwardf1f, faceforwardff1, faceforwardfff + , faceforwardwd1d1d1, faceforwardwd1d1wd1, faceforwardwd1wd1d1, faceforwardwd1wd1wd1, faceforward + , floatBitsToInt1, floatBitsToInt2, floatBitsToInt3, floatBitsToInt4, floatBitsToIntf + , floatBitsToUint1, floatBitsToUint2, floatBitsToUint3, floatBitsToUint4, floatBitsToUintf + , floati1, floatwi1 + , floor1, floor2, floor3, floor4, floord1, floord2 + , floord3, floord4, floorf, floorwd1 + , fma111, fma11f, fma1f1, fma1ff, fma222, fma333 + , fma444, fmad1d1d1, fmad1d1wd1, fmad1wd1d1, fmad1wd1wd1, fmad2d2d2 + , fmad3d3d3, fmad4d4d4, fmaf11, fmaf1f, fmaff1, fmafff + , fmawd1d1d1, fmawd1d1wd1, fmawd1wd1d1, fmawd1wd1wd1, fma + , fract1, fract2, fract3, fract4, fractd1, fractd2 + , fractd3, fractd4, fractf, fractwd1, fract + , frexp1oi1, frexp1owi1, frexp2oi2, frexp3oi3, frexp4oi4, frexpd1oi1 + , frexpd1owi1, frexpd2oi2, frexpd3oi3, frexpd4oi4, frexpfoi1, frexpfowi1 + , frexpwd1oi1, frexpwd1owi1 + , int1, intf + , intBitsToFloati1, intBitsToFloati2, intBitsToFloati3, intBitsToFloati4, intBitsToFloatwi1 + , inversesqrt1, inversesqrt2, inversesqrt3, inversesqrt4, inversesqrtd1, inversesqrtd2 + , inversesqrtd3, inversesqrtd4, inversesqrtf, inversesqrtwd1, inversesqrt + , isinf1, isinf2, isinf3, isinf4, isinfd1, isinfd2 + , isinfd3, isinfd4, isinff, isinfwd1 + , isnan1, isnan2, isnan3, isnan4, isnand1, isnand2 + , isnand3, isnand4, isnanf, isnanwd1 + , ivec2i1i1, ivec2i1wi1, ivec2wi1i1, ivec2wi1wi1 + , ivec3i1i1i1, ivec3i1i1wi1, ivec3i1wi1i1, ivec3i1wi1wi1, ivec3wi1i1i1, ivec3wi1i1wi1 + , ivec3wi1wi1i1, ivec3wi1wi1wi1 + , ivec4i1i1i1i1, ivec4i1i1i1wi1, ivec4i1i1wi1i1, ivec4i1i1wi1wi1, ivec4i1wi1i1i1, ivec4i1wi1i1wi1 + , ivec4i1wi1wi1i1, ivec4i1wi1wi1wi1, ivec4wi1i1i1i1, ivec4wi1i1i1wi1, ivec4wi1i1wi1i1, ivec4wi1i1wi1wi1 + , ivec4wi1wi1i1i1, ivec4wi1wi1i1wi1, ivec4wi1wi1wi1i1, ivec4wi1wi1wi1wi1 + , ldexp1i1, ldexp1wi1, ldexp2i2, ldexp3i3, ldexp4i4, ldexpd1i1 + , ldexpd1wi1, ldexpd2i2, ldexpd3i3, ldexpd4i4, ldexpfi1, ldexpfwi1 + , ldexpwd1i1, ldexpwd1wi1 + , length1, length2, length3, length4, lengthd1, lengthd2 + , lengthd3, lengthd4, lengthf, lengthwd1, length + , mat21111, mat2111f, mat211f1, mat211ff, mat21f11, mat21f1f + , mat21ff1, mat21fff, mat222, mat2f111, mat2f11f, mat2f1f1 + , mat2f1ff, mat2ff11, mat2ff1f, mat2fff1, mat2ffff + , mat3111111111, mat311111111f, mat31111111f1, mat31111111ff, mat3111111f11, mat3111111f1f + , mat3111111ff1, mat3111111fff, mat311111f111, mat311111f11f, mat311111f1f1, mat311111f1ff + , mat311111ff11, mat311111ff1f, mat311111fff1, mat311111ffff, mat31111f1111, mat31111f111f + , mat31111f11f1, mat31111f11ff, mat31111f1f11, mat31111f1f1f, mat31111f1ff1, mat31111f1fff + , mat31111ff111, mat31111ff11f, mat31111ff1f1, mat31111ff1ff, mat31111fff11, mat31111fff1f + , mat31111ffff1, mat31111fffff, mat3111f11111, mat3111f1111f, mat3111f111f1, mat3111f111ff + , mat3111f11f11, mat3111f11f1f, mat3111f11ff1, mat3111f11fff, mat3111f1f111, mat3111f1f11f + , mat3111f1f1f1, mat3111f1f1ff, mat3111f1ff11, mat3111f1ff1f, mat3111f1fff1, mat3111f1ffff + , mat3111ff1111, mat3111ff111f, mat3111ff11f1, mat3111ff11ff, mat3111ff1f11, mat3111ff1f1f + , mat3111ff1ff1, mat3111ff1fff, mat3111fff111, mat3111fff11f, mat3111fff1f1, mat3111fff1ff + , mat3111ffff11, mat3111ffff1f, mat3111fffff1, mat3111ffffff, mat311f111111, mat311f11111f + , mat311f1111f1, mat311f1111ff, mat311f111f11, mat311f111f1f, mat311f111ff1, mat311f111fff + , mat311f11f111, mat311f11f11f, mat311f11f1f1, mat311f11f1ff, mat311f11ff11, mat311f11ff1f + , mat311f11fff1, mat311f11ffff, mat311f1f1111, mat311f1f111f, mat311f1f11f1, mat311f1f11ff + , mat311f1f1f11, mat311f1f1f1f, mat311f1f1ff1, mat311f1f1fff, mat311f1ff111, mat311f1ff11f + , mat311f1ff1f1, mat311f1ff1ff, mat311f1fff11, mat311f1fff1f, mat311f1ffff1, mat311f1fffff + , mat311ff11111, mat311ff1111f, mat311ff111f1, mat311ff111ff, mat311ff11f11, mat311ff11f1f + , mat311ff11ff1, mat311ff11fff, mat311ff1f111, mat311ff1f11f, mat311ff1f1f1, mat311ff1f1ff + , mat311ff1ff11, mat311ff1ff1f, mat311ff1fff1, mat311ff1ffff, mat311fff1111, mat311fff111f + , mat311fff11f1, mat311fff11ff, mat311fff1f11, mat311fff1f1f, mat311fff1ff1, mat311fff1fff + , mat311ffff111, mat311ffff11f, mat311ffff1f1, mat311ffff1ff, mat311fffff11, mat311fffff1f + , mat311ffffff1, mat311fffffff, mat31f1111111, mat31f111111f, mat31f11111f1, mat31f11111ff + , mat31f1111f11, mat31f1111f1f, mat31f1111ff1, mat31f1111fff, mat31f111f111, mat31f111f11f + , mat31f111f1f1, mat31f111f1ff, mat31f111ff11, mat31f111ff1f, mat31f111fff1, mat31f111ffff + , mat31f11f1111, mat31f11f111f, mat31f11f11f1, mat31f11f11ff, mat31f11f1f11, mat31f11f1f1f + , mat31f11f1ff1, mat31f11f1fff, mat31f11ff111, mat31f11ff11f, mat31f11ff1f1, mat31f11ff1ff + , mat31f11fff11, mat31f11fff1f, mat31f11ffff1, mat31f11fffff, mat31f1f11111, mat31f1f1111f + , mat31f1f111f1, mat31f1f111ff, mat31f1f11f11, mat31f1f11f1f, mat31f1f11ff1, mat31f1f11fff + , mat31f1f1f111, mat31f1f1f11f, mat31f1f1f1f1, mat31f1f1f1ff, mat31f1f1ff11, mat31f1f1ff1f + , mat31f1f1fff1, mat31f1f1ffff, mat31f1ff1111, mat31f1ff111f, mat31f1ff11f1, mat31f1ff11ff + , mat31f1ff1f11, mat31f1ff1f1f, mat31f1ff1ff1, mat31f1ff1fff, mat31f1fff111, mat31f1fff11f + , mat31f1fff1f1, mat31f1fff1ff, mat31f1ffff11, mat31f1ffff1f, mat31f1fffff1, mat31f1ffffff + , mat31ff111111, mat31ff11111f, mat31ff1111f1, mat31ff1111ff, mat31ff111f11, mat31ff111f1f + , mat31ff111ff1, mat31ff111fff, mat31ff11f111, mat31ff11f11f, mat31ff11f1f1, mat31ff11f1ff + , mat31ff11ff11, mat31ff11ff1f, mat31ff11fff1, mat31ff11ffff, mat31ff1f1111, mat31ff1f111f + , mat31ff1f11f1, mat31ff1f11ff, mat31ff1f1f11, mat31ff1f1f1f, mat31ff1f1ff1, mat31ff1f1fff + , mat31ff1ff111, mat31ff1ff11f, mat31ff1ff1f1, mat31ff1ff1ff, mat31ff1fff11, mat31ff1fff1f + , mat31ff1ffff1, mat31ff1fffff, mat31fff11111, mat31fff1111f, mat31fff111f1, mat31fff111ff + , mat31fff11f11, mat31fff11f1f, mat31fff11ff1, mat31fff11fff, mat31fff1f111, mat31fff1f11f + , mat31fff1f1f1, mat31fff1f1ff, mat31fff1ff11, mat31fff1ff1f, mat31fff1fff1, mat31fff1ffff + , mat31ffff1111, mat31ffff111f, mat31ffff11f1, mat31ffff11ff, mat31ffff1f11, mat31ffff1f1f + , mat31ffff1ff1, mat31ffff1fff, mat31fffff111, mat31fffff11f, mat31fffff1f1, mat31fffff1ff + , mat31ffffff11, mat31ffffff1f, mat31fffffff1, mat31ffffffff, mat3333, mat3f11111111 + , mat3f1111111f, mat3f111111f1, mat3f111111ff, mat3f11111f11, mat3f11111f1f, mat3f11111ff1 + , mat3f11111fff, mat3f1111f111, mat3f1111f11f, mat3f1111f1f1, mat3f1111f1ff, mat3f1111ff11 + , mat3f1111ff1f, mat3f1111fff1, mat3f1111ffff, mat3f111f1111, mat3f111f111f, mat3f111f11f1 + , mat3f111f11ff, mat3f111f1f11, mat3f111f1f1f, mat3f111f1ff1, mat3f111f1fff, mat3f111ff111 + , mat3f111ff11f, mat3f111ff1f1, mat3f111ff1ff, mat3f111fff11, mat3f111fff1f, mat3f111ffff1 + , mat3f111fffff, mat3f11f11111, mat3f11f1111f, mat3f11f111f1, mat3f11f111ff, mat3f11f11f11 + , mat3f11f11f1f, mat3f11f11ff1, mat3f11f11fff, mat3f11f1f111, mat3f11f1f11f, mat3f11f1f1f1 + , mat3f11f1f1ff, mat3f11f1ff11, mat3f11f1ff1f, mat3f11f1fff1, mat3f11f1ffff, mat3f11ff1111 + , mat3f11ff111f, mat3f11ff11f1, mat3f11ff11ff, mat3f11ff1f11, mat3f11ff1f1f, mat3f11ff1ff1 + , mat3f11ff1fff, mat3f11fff111, mat3f11fff11f, mat3f11fff1f1, mat3f11fff1ff, mat3f11ffff11 + , mat3f11ffff1f, mat3f11fffff1, mat3f11ffffff, mat3f1f111111, mat3f1f11111f, mat3f1f1111f1 + , mat3f1f1111ff, mat3f1f111f11, mat3f1f111f1f, mat3f1f111ff1, mat3f1f111fff, mat3f1f11f111 + , mat3f1f11f11f, mat3f1f11f1f1, mat3f1f11f1ff, mat3f1f11ff11, mat3f1f11ff1f, mat3f1f11fff1 + , mat3f1f11ffff, mat3f1f1f1111, mat3f1f1f111f, mat3f1f1f11f1, mat3f1f1f11ff, mat3f1f1f1f11 + , mat3f1f1f1f1f, mat3f1f1f1ff1, mat3f1f1f1fff, mat3f1f1ff111, mat3f1f1ff11f, mat3f1f1ff1f1 + , mat3f1f1ff1ff, mat3f1f1fff11, mat3f1f1fff1f, mat3f1f1ffff1, mat3f1f1fffff, mat3f1ff11111 + , mat3f1ff1111f, mat3f1ff111f1, mat3f1ff111ff, mat3f1ff11f11, mat3f1ff11f1f, mat3f1ff11ff1 + , mat3f1ff11fff, mat3f1ff1f111, mat3f1ff1f11f, mat3f1ff1f1f1, mat3f1ff1f1ff, mat3f1ff1ff11 + , mat3f1ff1ff1f, mat3f1ff1fff1, mat3f1ff1ffff, mat3f1fff1111, mat3f1fff111f, mat3f1fff11f1 + , mat3f1fff11ff, mat3f1fff1f11, mat3f1fff1f1f, mat3f1fff1ff1, mat3f1fff1fff, mat3f1ffff111 + , mat3f1ffff11f, mat3f1ffff1f1, mat3f1ffff1ff, mat3f1fffff11, mat3f1fffff1f, mat3f1ffffff1 + , mat3f1fffffff, mat3ff1111111, mat3ff111111f, mat3ff11111f1, mat3ff11111ff, mat3ff1111f11 + , mat3ff1111f1f, mat3ff1111ff1, mat3ff1111fff, mat3ff111f111, mat3ff111f11f, mat3ff111f1f1 + , mat3ff111f1ff, mat3ff111ff11, mat3ff111ff1f, mat3ff111fff1, mat3ff111ffff, mat3ff11f1111 + , mat3ff11f111f, mat3ff11f11f1, mat3ff11f11ff, mat3ff11f1f11, mat3ff11f1f1f, mat3ff11f1ff1 + , mat3ff11f1fff, mat3ff11ff111, mat3ff11ff11f, mat3ff11ff1f1, mat3ff11ff1ff, mat3ff11fff11 + , mat3ff11fff1f, mat3ff11ffff1, mat3ff11fffff, mat3ff1f11111, mat3ff1f1111f, mat3ff1f111f1 + , mat3ff1f111ff, mat3ff1f11f11, mat3ff1f11f1f, mat3ff1f11ff1, mat3ff1f11fff, mat3ff1f1f111 + , mat3ff1f1f11f, mat3ff1f1f1f1, mat3ff1f1f1ff, mat3ff1f1ff11, mat3ff1f1ff1f, mat3ff1f1fff1 + , mat3ff1f1ffff, mat3ff1ff1111, mat3ff1ff111f, mat3ff1ff11f1, mat3ff1ff11ff, mat3ff1ff1f11 + , mat3ff1ff1f1f, mat3ff1ff1ff1, mat3ff1ff1fff, mat3ff1fff111, mat3ff1fff11f, mat3ff1fff1f1 + , mat3ff1fff1ff, mat3ff1ffff11, mat3ff1ffff1f, mat3ff1fffff1, mat3ff1ffffff, mat3fff111111 + , mat3fff11111f, mat3fff1111f1, mat3fff1111ff, mat3fff111f11, mat3fff111f1f, mat3fff111ff1 + , mat3fff111fff, mat3fff11f111, mat3fff11f11f, mat3fff11f1f1, mat3fff11f1ff, mat3fff11ff11 + , mat3fff11ff1f, mat3fff11fff1, mat3fff11ffff, mat3fff1f1111, mat3fff1f111f, mat3fff1f11f1 + , mat3fff1f11ff, mat3fff1f1f11, mat3fff1f1f1f, mat3fff1f1ff1, mat3fff1f1fff, mat3fff1ff111 + , mat3fff1ff11f, mat3fff1ff1f1, mat3fff1ff1ff, mat3fff1fff11, mat3fff1fff1f, mat3fff1ffff1 + , mat3fff1fffff, mat3ffff11111, mat3ffff1111f, mat3ffff111f1, mat3ffff111ff, mat3ffff11f11 + , mat3ffff11f1f, mat3ffff11ff1, mat3ffff11fff, mat3ffff1f111, mat3ffff1f11f, mat3ffff1f1f1 + , mat3ffff1f1ff, mat3ffff1ff11, mat3ffff1ff1f, mat3ffff1fff1, mat3ffff1ffff, mat3fffff1111 + , mat3fffff111f, mat3fffff11f1, mat3fffff11ff, mat3fffff1f11, mat3fffff1f1f, mat3fffff1ff1 + , mat3fffff1fff, mat3ffffff111, mat3ffffff11f, mat3ffffff1f1, mat3ffffff1ff, mat3fffffff11 + , mat3fffffff1f, mat3ffffffff1, mat3fffffffff + , mat44444 + , max11, max1f, max21, max22, max2f, max31 + , max33, max3f, max41, max44, max4f, maxd1d1 + , maxd1wd1, maxd2d1, maxd2d2, maxd2wd1, maxd3d1, maxd3d3 + , maxd3wd1, maxd4d1, maxd4d4, maxd4wd1, maxf1, maxff + , maxi1i1, maxi1wi1, maxi2i1, maxi2i2, maxi2wi1, maxi3i1 + , maxi3i3, maxi3wi1, maxi4i1, maxi4i4, maxi4wi1, maxu1u1 + , maxu1wu1, maxu2u1, maxu2u2, maxu2wu1, maxu3u1, maxu3u3 + , maxu3wu1, maxu4u1, maxu4u4, maxu4wu1, maxwd1d1, maxwd1wd1 + , maxwi1i1, maxwi1wi1, maxwu1u1, maxwu1wu1 + , min11, min1f, min21, min22, min2f, min31 + , min33, min3f, min41, min44, min4f, mind1d1 + , mind1wd1, mind2d1, mind2d2, mind2wd1, mind3d1, mind3d3 + , mind3wd1, mind4d1, mind4d4, mind4wd1, minf1, minff + , mini1i1, mini1wi1, mini2i1, mini2i2, mini2wi1, mini3i1 + , mini3i3, mini3wi1, mini4i1, mini4i4, mini4wi1, minu1u1 + , minu1wu1, minu2u1, minu2u2, minu2wu1, minu3u1, minu3u3 + , minu3wu1, minu4u1, minu4u4, minu4wu1, minwd1d1, minwd1wd1 + , minwi1i1, minwi1wi1, minwu1u1, minwu1wu1 + , mix111, mix11f, mix1f1, mix1ff, mix221, mix222 + , mix22f, mix331, mix333, mix33f, mix441, mix444 + , mix44f, mixd1d1d1, mixd1d1wd1, mixd1wd1d1, mixd1wd1wd1, mixd2d2d1 + , mixd2d2d2, mixd2d2wd1, mixd3d3d1, mixd3d3d3, mixd3d3wd1, mixd4d4d1 + , mixd4d4d4, mixd4d4wd1, mixf11, mixf1f, mixff1, mixfff + , mixwd1d1d1, mixwd1d1wd1, mixwd1wd1d1, mixwd1wd1wd1, mix + , mod11, mod1f, mod21, mod22, mod2f, mod31 + , mod33, mod3f, mod41, mod44, mod4f, modd1d1 + , modd1wd1, modd2d1, modd2d2, modd2wd1, modd3d1, modd3d3 + , modd3wd1, modd4d1, modd4d4, modd4wd1, modf1, modff + , modwd1d1, modwd1wd1, mod + , modf1o1, modf1of, modf2o2, modf3o3, modf4o4, modfd1od1 + , modfd1owd1, modfd2od2, modfd3od3, modfd4od4, modffo1, modffof + , modfwd1od1, modfwd1owd1, modf + , normalize1, normalize2, normalize3, normalize4, normalized1, normalized2 + , normalized3, normalized4, normalizef, normalizewd1, normalize + , reflect11, reflect1f, reflect22, reflect33, reflect44, reflectd1d1 + , reflectd1wd1, reflectd2d2, reflectd3d3, reflectd4d4, reflectf1, reflectff + , reflectwd1d1, reflectwd1wd1, reflect + , refract111, refract11f, refract1f1, refract1ff, refract221, refract22f + , refract331, refract33f, refract441, refract44f, refractd1d11, refractd1d1f + , refractd1wd11, refractd1wd1f, refractd2d21, refractd2d2f, refractd3d31, refractd3d3f + , refractd4d41, refractd4d4f, refractf11, refractf1f, refractff1, refractfff + , refractwd1d11, refractwd1d1f, refractwd1wd11, refractwd1wd1f, refract + , round1, round2, round3, round4, roundd1, roundd2 + , roundd3, roundd4, roundf, roundwd1 + , roundEven1, roundEven2, roundEven3, roundEven4, roundEvend1, roundEvend2 + , roundEvend3, roundEvend4, roundEvenf, roundEvenwd1, roundEven + , sign1, sign2, sign3, sign4, signd1, signd2 + , signd3, signd4, signf, signi1, signi2, signi3 + , signi4, signwd1, signwi1, sign + , smoothstep111, smoothstep112, smoothstep113, smoothstep114, smoothstep11f, smoothstep1f1 + , smoothstep1f2, smoothstep1f3, smoothstep1f4, smoothstep1ff, smoothstep222, smoothstep333 + , smoothstep444, smoothstepd1d1d1, smoothstepd1d1d2, smoothstepd1d1d3, smoothstepd1d1d4, smoothstepd1d1wd1 + , smoothstepd1wd1d1, smoothstepd1wd1d2, smoothstepd1wd1d3, smoothstepd1wd1d4, smoothstepd1wd1wd1, smoothstepd2d2d2 + , smoothstepd3d3d3, smoothstepd4d4d4, smoothstepf11, smoothstepf12, smoothstepf13, smoothstepf14 + , smoothstepf1f, smoothstepff1, smoothstepff2, smoothstepff3, smoothstepff4, smoothstepfff + , smoothstepwd1d1d1, smoothstepwd1d1d2, smoothstepwd1d1d3, smoothstepwd1d1d4, smoothstepwd1d1wd1, smoothstepwd1wd1d1 + , smoothstepwd1wd1d2, smoothstepwd1wd1d3, smoothstepwd1wd1d4, smoothstepwd1wd1wd1, smoothstep + , sqrt1, sqrt2, sqrt3, sqrt4, sqrtd1, sqrtd2 + , sqrtd3, sqrtd4, sqrtf, sqrtwd1 + , step11, step12, step13, step14, step1f, step22 + , step33, step44, stepd1d1, stepd1d2, stepd1d3, stepd1d4 + , stepd1wd1, stepd2d2, stepd3d3, stepd4d4, stepf1, stepf2 + , stepf3, stepf4, stepff, stepwd1d1, stepwd1d2, stepwd1d3 + , stepwd1d4, stepwd1wd1, step + , trunc1, trunc2, trunc3, trunc4, truncd1, truncd2 + , truncd3, truncd4, truncf, truncwd1, trunc + , uintBitsToFloatu1, uintBitsToFloatu2, uintBitsToFloatu3, uintBitsToFloatu4, uintBitsToFloatwu1 + , vec21, vec211, vec21f, vec21i1, vec21wi1, vec2f + , vec2f1, vec2ff, vec2fi1, vec2fwi1, vec2i1, vec2i11 + , vec2i1f, vec2i1i1, vec2i1wi1, vec2wi1, vec2wi11, vec2wi1f + , vec2wi1i1, vec2wi1wi1 + , vec31, vec3111, vec311f, vec311i1, vec311wi1, vec312 + , vec31f1, vec31ff, vec31fi1, vec31fwi1, vec31i11, vec31i1f + , vec31i1i1, vec31i1wi1, vec31wi11, vec31wi1f, vec31wi1i1, vec31wi1wi1 + , vec321, vec32f, vec3f, vec3f11, vec3f1f, vec3f1i1 + , vec3f1wi1, vec3f2, vec3ff1, vec3fff, vec3ffi1, vec3ffwi1 + , vec3fi11, vec3fi1f, vec3fi1i1, vec3fi1wi1, vec3fwi11, vec3fwi1f + , vec3fwi1i1, vec3fwi1wi1, vec3i1, vec3i111, vec3i11f, vec3i11i1 + , vec3i11wi1, vec3i1f1, vec3i1ff, vec3i1fi1, vec3i1fwi1, vec3i1i11 + , vec3i1i1f, vec3i1i1i1, vec3i1i1wi1, vec3i1wi11, vec3i1wi1f, vec3i1wi1i1 + , vec3i1wi1wi1, vec3wi1, vec3wi111, vec3wi11f, vec3wi11i1, vec3wi11wi1 + , vec3wi1f1, vec3wi1ff, vec3wi1fi1, vec3wi1fwi1, vec3wi1i11, vec3wi1i1f + , vec3wi1i1i1, vec3wi1i1wi1, vec3wi1wi11, vec3wi1wi1f, vec3wi1wi1i1, vec3wi1wi1wi1 + , vec41, vec41111, vec4111f, vec4111i1, vec4111wi1, vec411f1 + , vec411ff, vec411fi1, vec411fwi1, vec411i11, vec411i1f, vec411i1i1 + , vec411i1wi1, vec411wi11, vec411wi1f, vec411wi1i1, vec411wi1wi1, vec413 + , vec41f11, vec41f1f, vec41f1i1, vec41f1wi1, vec41ff1, vec41fff + , vec41ffi1, vec41ffwi1, vec41fi11, vec41fi1f, vec41fi1i1, vec41fi1wi1 + , vec41fwi11, vec41fwi1f, vec41fwi1i1, vec41fwi1wi1, vec41i111, vec41i11f + , vec41i11i1, vec41i11wi1, vec41i1f1, vec41i1ff, vec41i1fi1, vec41i1fwi1 + , vec41i1i11, vec41i1i1f, vec41i1i1i1, vec41i1i1wi1, vec41i1wi11, vec41i1wi1f + , vec41i1wi1i1, vec41i1wi1wi1, vec41wi111, vec41wi11f, vec41wi11i1, vec41wi11wi1 + , vec41wi1f1, vec41wi1ff, vec41wi1fi1, vec41wi1fwi1, vec41wi1i11, vec41wi1i1f + , vec41wi1i1i1, vec41wi1i1wi1, vec41wi1wi11, vec41wi1wi1f, vec41wi1wi1i1, vec41wi1wi1wi1 + , vec422, vec431, vec43f, vec4f, vec4f111, vec4f11f + , vec4f11i1, vec4f11wi1, vec4f1f1, vec4f1ff, vec4f1fi1, vec4f1fwi1 + , vec4f1i11, vec4f1i1f, vec4f1i1i1, vec4f1i1wi1, vec4f1wi11, vec4f1wi1f + , vec4f1wi1i1, vec4f1wi1wi1, vec4f3, vec4ff11, vec4ff1f, vec4ff1i1 + , vec4ff1wi1, vec4fff1, vec4ffff, vec4fffi1, vec4fffwi1, vec4ffi11 + , vec4ffi1f, vec4ffi1i1, vec4ffi1wi1, vec4ffwi11, vec4ffwi1f, vec4ffwi1i1 + , vec4ffwi1wi1, vec4fi111, vec4fi11f, vec4fi11i1, vec4fi11wi1, vec4fi1f1 + , vec4fi1ff, vec4fi1fi1, vec4fi1fwi1, vec4fi1i11, vec4fi1i1f, vec4fi1i1i1 + , vec4fi1i1wi1, vec4fi1wi11, vec4fi1wi1f, vec4fi1wi1i1, vec4fi1wi1wi1, vec4fwi111 + , vec4fwi11f, vec4fwi11i1, vec4fwi11wi1, vec4fwi1f1, vec4fwi1ff, vec4fwi1fi1 + , vec4fwi1fwi1, vec4fwi1i11, vec4fwi1i1f, vec4fwi1i1i1, vec4fwi1i1wi1, vec4fwi1wi11 + , vec4fwi1wi1f, vec4fwi1wi1i1, vec4fwi1wi1wi1, vec4i1, vec4i1111, vec4i111f + , vec4i111i1, vec4i111wi1, vec4i11f1, vec4i11ff, vec4i11fi1, vec4i11fwi1 + , vec4i11i11, vec4i11i1f, vec4i11i1i1, vec4i11i1wi1, vec4i11wi11, vec4i11wi1f + , vec4i11wi1i1, vec4i11wi1wi1, vec4i1f11, vec4i1f1f, vec4i1f1i1, vec4i1f1wi1 + , vec4i1ff1, vec4i1fff, vec4i1ffi1, vec4i1ffwi1, vec4i1fi11, vec4i1fi1f + , vec4i1fi1i1, vec4i1fi1wi1, vec4i1fwi11, vec4i1fwi1f, vec4i1fwi1i1, vec4i1fwi1wi1 + , vec4i1i111, vec4i1i11f, vec4i1i11i1, vec4i1i11wi1, vec4i1i1f1, vec4i1i1ff + , vec4i1i1fi1, vec4i1i1fwi1, vec4i1i1i11, vec4i1i1i1f, vec4i1i1i1i1, vec4i1i1i1wi1 + , vec4i1i1wi11, vec4i1i1wi1f, vec4i1i1wi1i1, vec4i1i1wi1wi1, vec4i1wi111, vec4i1wi11f + , vec4i1wi11i1, vec4i1wi11wi1, vec4i1wi1f1, vec4i1wi1ff, vec4i1wi1fi1, vec4i1wi1fwi1 + , vec4i1wi1i11, vec4i1wi1i1f, vec4i1wi1i1i1, vec4i1wi1i1wi1, vec4i1wi1wi11, vec4i1wi1wi1f + , vec4i1wi1wi1i1, vec4i1wi1wi1wi1, vec4wi1, vec4wi1111, vec4wi111f, vec4wi111i1 + , vec4wi111wi1, vec4wi11f1, vec4wi11ff, vec4wi11fi1, vec4wi11fwi1, vec4wi11i11 + , vec4wi11i1f, vec4wi11i1i1, vec4wi11i1wi1, vec4wi11wi11, vec4wi11wi1f, vec4wi11wi1i1 + , vec4wi11wi1wi1, vec4wi1f11, vec4wi1f1f, vec4wi1f1i1, vec4wi1f1wi1, vec4wi1ff1 + , vec4wi1fff, vec4wi1ffi1, vec4wi1ffwi1, vec4wi1fi11, vec4wi1fi1f, vec4wi1fi1i1 + , vec4wi1fi1wi1, vec4wi1fwi11, vec4wi1fwi1f, vec4wi1fwi1i1, vec4wi1fwi1wi1, vec4wi1i111 + , vec4wi1i11f, vec4wi1i11i1, vec4wi1i11wi1, vec4wi1i1f1, vec4wi1i1ff, vec4wi1i1fi1 + , vec4wi1i1fwi1, vec4wi1i1i11, vec4wi1i1i1f, vec4wi1i1i1i1, vec4wi1i1i1wi1, vec4wi1i1wi11 + , vec4wi1i1wi1f, vec4wi1i1wi1i1, vec4wi1i1wi1wi1, vec4wi1wi111, vec4wi1wi11f, vec4wi1wi11i1 + , vec4wi1wi11wi1, vec4wi1wi1f1, vec4wi1wi1ff, vec4wi1wi1fi1, vec4wi1wi1fwi1, vec4wi1wi1i11 + , vec4wi1wi1i1f, vec4wi1wi1i1i1, vec4wi1wi1i1wi1, vec4wi1wi1wi11, vec4wi1wi1wi1f, vec4wi1wi1wi1i1 + , vec4wi1wi1wi1wi1 + , radians_ + , degrees_ + , sin_ + , cos_ + , tan_ + , asin_ + , acos_ + , atan_ + , atan2_ + , sinh + , cosh + , tanh + , asinh + , acosh + , atanh + , pow + , exp + , log + , exp2 + , log2 + , sqrt_ + , abs_ + , floor_ + , round_ + , min_ + , max_ + , clamp_ + , dFdx + , dFdy + , dFdxFine + , dFdyFine + , dFdxCoarse + , dFdyCoarse + , fwidth + , fwidthFine + , fwidthCoarse + ) + +{-| + + +## abs + +@docs abs1, abs2, abs3, abs4, absd1, absd2 +@docs absd3, absd4, absf, absi1, absi2, absi3 +@docs absi4, abswd1, abswi1 + + +## ceil + +@docs ceil1, ceil2, ceil3, ceil4, ceild1, ceild2 +@docs ceild3, ceild4, ceilf, ceilwd1, ceil + + +## clamp + +@docs clamp111, clamp11f, clamp1f1, clamp1ff, clamp211, clamp21f +@docs clamp222, clamp2f1, clamp2ff, clamp311, clamp31f, clamp333 +@docs clamp3f1, clamp3ff, clamp411, clamp41f, clamp444, clamp4f1 +@docs clamp4ff, clampd1d1d1, clampd1d1wd1, clampd1wd1d1, clampd1wd1wd1, clampd2d1d1 +@docs clampd2d1wd1, clampd2d2d2, clampd2wd1d1, clampd2wd1wd1, clampd3d1d1, clampd3d1wd1 +@docs clampd3d3d3, clampd3wd1d1, clampd3wd1wd1, clampd4d1d1, clampd4d1wd1, clampd4d4d4 +@docs clampd4wd1d1, clampd4wd1wd1, clampf11, clampf1f, clampff1, clampfff +@docs clampi1i1i1, clampi1i1wi1, clampi1wi1i1, clampi1wi1wi1, clampi2i1i1, clampi2i1wi1 +@docs clampi2i2i2, clampi2wi1i1, clampi2wi1wi1, clampi3i1i1, clampi3i1wi1, clampi3i3i3 +@docs clampi3wi1i1, clampi3wi1wi1, clampi4i1i1, clampi4i1wi1, clampi4i4i4, clampi4wi1i1 +@docs clampi4wi1wi1, clampu1u1u1, clampu1u1wu1, clampu1wu1u1, clampu1wu1wu1, clampu2u1u1 +@docs clampu2u1wu1, clampu2u2u2, clampu2wu1u1, clampu2wu1wu1, clampu3u1u1, clampu3u1wu1 +@docs clampu3u3u3, clampu3wu1u1, clampu3wu1wu1, clampu4u1u1, clampu4u1wu1, clampu4u4u4 +@docs clampu4wu1u1, clampu4wu1wu1, clampwd1d1d1, clampwd1d1wd1, clampwd1wd1d1, clampwd1wd1wd1 +@docs clampwi1i1i1, clampwi1i1wi1, clampwi1wi1i1, clampwi1wi1wi1, clampwu1u1u1, clampwu1u1wu1 +@docs clampwu1wu1u1, clampwu1wu1wu1 + + +## cross + +@docs cross33, crossd3d3 + + +## distance + +@docs distance11, distance1f, distance22, distance33, distance44, distanced1d1 +@docs distanced1wd1, distanced2d2, distanced3d3, distanced4d4, distancef1, distanceff +@docs distancewd1d1, distancewd1wd1, distance + + +## dot + +@docs dot11, dot1f, dot22, dot33, dot44, dotd1d1 +@docs dotd1wd1, dotd2d2, dotd3d3, dotd4d4, dotf1, dotff +@docs dotwd1d1, dotwd1wd1, dot + + +## faceforward + +@docs faceforward111, faceforward11f, faceforward1f1, faceforward1ff, faceforward222, faceforward333 +@docs faceforward444, faceforwardd1d1d1, faceforwardd1d1wd1, faceforwardd1wd1d1, faceforwardd1wd1wd1, faceforwardd2d2d2 +@docs faceforwardd3d3d3, faceforwardd4d4d4, faceforwardf11, faceforwardf1f, faceforwardff1, faceforwardfff +@docs faceforwardwd1d1d1, faceforwardwd1d1wd1, faceforwardwd1wd1d1, faceforwardwd1wd1wd1, faceforward + + +## floatBitsToInt + +@docs floatBitsToInt1, floatBitsToInt2, floatBitsToInt3, floatBitsToInt4, floatBitsToIntf + + +## floatBitsToUint + +@docs floatBitsToUint1, floatBitsToUint2, floatBitsToUint3, floatBitsToUint4, floatBitsToUintf + + +## float + +@docs floati1, floatwi1 + + +## floor + +@docs floor1, floor2, floor3, floor4, floord1, floord2 +@docs floord3, floord4, floorf, floorwd1 + + +## fma + +@docs fma111, fma11f, fma1f1, fma1ff, fma222, fma333 +@docs fma444, fmad1d1d1, fmad1d1wd1, fmad1wd1d1, fmad1wd1wd1, fmad2d2d2 +@docs fmad3d3d3, fmad4d4d4, fmaf11, fmaf1f, fmaff1, fmafff +@docs fmawd1d1d1, fmawd1d1wd1, fmawd1wd1d1, fmawd1wd1wd1, fma + + +## fract + +@docs fract1, fract2, fract3, fract4, fractd1, fractd2 +@docs fractd3, fractd4, fractf, fractwd1, fract + + +## frexp + +@docs frexp1oi1, frexp1owi1, frexp2oi2, frexp3oi3, frexp4oi4, frexpd1oi1 +@docs frexpd1owi1, frexpd2oi2, frexpd3oi3, frexpd4oi4, frexpfoi1, frexpfowi1 +@docs frexpwd1oi1, frexpwd1owi1 + + +## int + +@docs int1, intf + + +## intBitsToFloat + +@docs intBitsToFloati1, intBitsToFloati2, intBitsToFloati3, intBitsToFloati4, intBitsToFloatwi1 + + +## inversesqrt + +@docs inversesqrt1, inversesqrt2, inversesqrt3, inversesqrt4, inversesqrtd1, inversesqrtd2 +@docs inversesqrtd3, inversesqrtd4, inversesqrtf, inversesqrtwd1, inversesqrt + + +## isinf + +@docs isinf1, isinf2, isinf3, isinf4, isinfd1, isinfd2 +@docs isinfd3, isinfd4, isinff, isinfwd1 + + +## isnan + +@docs isnan1, isnan2, isnan3, isnan4, isnand1, isnand2 +@docs isnand3, isnand4, isnanf, isnanwd1 + + +## ivec2 + +@docs ivec2i1i1, ivec2i1wi1, ivec2wi1i1, ivec2wi1wi1 + + +## ivec3 + +@docs ivec3i1i1i1, ivec3i1i1wi1, ivec3i1wi1i1, ivec3i1wi1wi1, ivec3wi1i1i1, ivec3wi1i1wi1 +@docs ivec3wi1wi1i1, ivec3wi1wi1wi1 + + +## ivec4 + +@docs ivec4i1i1i1i1, ivec4i1i1i1wi1, ivec4i1i1wi1i1, ivec4i1i1wi1wi1, ivec4i1wi1i1i1, ivec4i1wi1i1wi1 +@docs ivec4i1wi1wi1i1, ivec4i1wi1wi1wi1, ivec4wi1i1i1i1, ivec4wi1i1i1wi1, ivec4wi1i1wi1i1, ivec4wi1i1wi1wi1 +@docs ivec4wi1wi1i1i1, ivec4wi1wi1i1wi1, ivec4wi1wi1wi1i1, ivec4wi1wi1wi1wi1 + + +## ldexp + +@docs ldexp1i1, ldexp1wi1, ldexp2i2, ldexp3i3, ldexp4i4, ldexpd1i1 +@docs ldexpd1wi1, ldexpd2i2, ldexpd3i3, ldexpd4i4, ldexpfi1, ldexpfwi1 +@docs ldexpwd1i1, ldexpwd1wi1 + + +## length + +@docs length1, length2, length3, length4, lengthd1, lengthd2 +@docs lengthd3, lengthd4, lengthf, lengthwd1, length + + +## mat2 + +@docs mat21111, mat2111f, mat211f1, mat211ff, mat21f11, mat21f1f +@docs mat21ff1, mat21fff, mat222, mat2f111, mat2f11f, mat2f1f1 +@docs mat2f1ff, mat2ff11, mat2ff1f, mat2fff1, mat2ffff + + +## mat3 + +@docs mat3111111111, mat311111111f, mat31111111f1, mat31111111ff, mat3111111f11, mat3111111f1f +@docs mat3111111ff1, mat3111111fff, mat311111f111, mat311111f11f, mat311111f1f1, mat311111f1ff +@docs mat311111ff11, mat311111ff1f, mat311111fff1, mat311111ffff, mat31111f1111, mat31111f111f +@docs mat31111f11f1, mat31111f11ff, mat31111f1f11, mat31111f1f1f, mat31111f1ff1, mat31111f1fff +@docs mat31111ff111, mat31111ff11f, mat31111ff1f1, mat31111ff1ff, mat31111fff11, mat31111fff1f +@docs mat31111ffff1, mat31111fffff, mat3111f11111, mat3111f1111f, mat3111f111f1, mat3111f111ff +@docs mat3111f11f11, mat3111f11f1f, mat3111f11ff1, mat3111f11fff, mat3111f1f111, mat3111f1f11f +@docs mat3111f1f1f1, mat3111f1f1ff, mat3111f1ff11, mat3111f1ff1f, mat3111f1fff1, mat3111f1ffff +@docs mat3111ff1111, mat3111ff111f, mat3111ff11f1, mat3111ff11ff, mat3111ff1f11, mat3111ff1f1f +@docs mat3111ff1ff1, mat3111ff1fff, mat3111fff111, mat3111fff11f, mat3111fff1f1, mat3111fff1ff +@docs mat3111ffff11, mat3111ffff1f, mat3111fffff1, mat3111ffffff, mat311f111111, mat311f11111f +@docs mat311f1111f1, mat311f1111ff, mat311f111f11, mat311f111f1f, mat311f111ff1, mat311f111fff +@docs mat311f11f111, mat311f11f11f, mat311f11f1f1, mat311f11f1ff, mat311f11ff11, mat311f11ff1f +@docs mat311f11fff1, mat311f11ffff, mat311f1f1111, mat311f1f111f, mat311f1f11f1, mat311f1f11ff +@docs mat311f1f1f11, mat311f1f1f1f, mat311f1f1ff1, mat311f1f1fff, mat311f1ff111, mat311f1ff11f +@docs mat311f1ff1f1, mat311f1ff1ff, mat311f1fff11, mat311f1fff1f, mat311f1ffff1, mat311f1fffff +@docs mat311ff11111, mat311ff1111f, mat311ff111f1, mat311ff111ff, mat311ff11f11, mat311ff11f1f +@docs mat311ff11ff1, mat311ff11fff, mat311ff1f111, mat311ff1f11f, mat311ff1f1f1, mat311ff1f1ff +@docs mat311ff1ff11, mat311ff1ff1f, mat311ff1fff1, mat311ff1ffff, mat311fff1111, mat311fff111f +@docs mat311fff11f1, mat311fff11ff, mat311fff1f11, mat311fff1f1f, mat311fff1ff1, mat311fff1fff +@docs mat311ffff111, mat311ffff11f, mat311ffff1f1, mat311ffff1ff, mat311fffff11, mat311fffff1f +@docs mat311ffffff1, mat311fffffff, mat31f1111111, mat31f111111f, mat31f11111f1, mat31f11111ff +@docs mat31f1111f11, mat31f1111f1f, mat31f1111ff1, mat31f1111fff, mat31f111f111, mat31f111f11f +@docs mat31f111f1f1, mat31f111f1ff, mat31f111ff11, mat31f111ff1f, mat31f111fff1, mat31f111ffff +@docs mat31f11f1111, mat31f11f111f, mat31f11f11f1, mat31f11f11ff, mat31f11f1f11, mat31f11f1f1f +@docs mat31f11f1ff1, mat31f11f1fff, mat31f11ff111, mat31f11ff11f, mat31f11ff1f1, mat31f11ff1ff +@docs mat31f11fff11, mat31f11fff1f, mat31f11ffff1, mat31f11fffff, mat31f1f11111, mat31f1f1111f +@docs mat31f1f111f1, mat31f1f111ff, mat31f1f11f11, mat31f1f11f1f, mat31f1f11ff1, mat31f1f11fff +@docs mat31f1f1f111, mat31f1f1f11f, mat31f1f1f1f1, mat31f1f1f1ff, mat31f1f1ff11, mat31f1f1ff1f +@docs mat31f1f1fff1, mat31f1f1ffff, mat31f1ff1111, mat31f1ff111f, mat31f1ff11f1, mat31f1ff11ff +@docs mat31f1ff1f11, mat31f1ff1f1f, mat31f1ff1ff1, mat31f1ff1fff, mat31f1fff111, mat31f1fff11f +@docs mat31f1fff1f1, mat31f1fff1ff, mat31f1ffff11, mat31f1ffff1f, mat31f1fffff1, mat31f1ffffff +@docs mat31ff111111, mat31ff11111f, mat31ff1111f1, mat31ff1111ff, mat31ff111f11, mat31ff111f1f +@docs mat31ff111ff1, mat31ff111fff, mat31ff11f111, mat31ff11f11f, mat31ff11f1f1, mat31ff11f1ff +@docs mat31ff11ff11, mat31ff11ff1f, mat31ff11fff1, mat31ff11ffff, mat31ff1f1111, mat31ff1f111f +@docs mat31ff1f11f1, mat31ff1f11ff, mat31ff1f1f11, mat31ff1f1f1f, mat31ff1f1ff1, mat31ff1f1fff +@docs mat31ff1ff111, mat31ff1ff11f, mat31ff1ff1f1, mat31ff1ff1ff, mat31ff1fff11, mat31ff1fff1f +@docs mat31ff1ffff1, mat31ff1fffff, mat31fff11111, mat31fff1111f, mat31fff111f1, mat31fff111ff +@docs mat31fff11f11, mat31fff11f1f, mat31fff11ff1, mat31fff11fff, mat31fff1f111, mat31fff1f11f +@docs mat31fff1f1f1, mat31fff1f1ff, mat31fff1ff11, mat31fff1ff1f, mat31fff1fff1, mat31fff1ffff +@docs mat31ffff1111, mat31ffff111f, mat31ffff11f1, mat31ffff11ff, mat31ffff1f11, mat31ffff1f1f +@docs mat31ffff1ff1, mat31ffff1fff, mat31fffff111, mat31fffff11f, mat31fffff1f1, mat31fffff1ff +@docs mat31ffffff11, mat31ffffff1f, mat31fffffff1, mat31ffffffff, mat3333, mat3f11111111 +@docs mat3f1111111f, mat3f111111f1, mat3f111111ff, mat3f11111f11, mat3f11111f1f, mat3f11111ff1 +@docs mat3f11111fff, mat3f1111f111, mat3f1111f11f, mat3f1111f1f1, mat3f1111f1ff, mat3f1111ff11 +@docs mat3f1111ff1f, mat3f1111fff1, mat3f1111ffff, mat3f111f1111, mat3f111f111f, mat3f111f11f1 +@docs mat3f111f11ff, mat3f111f1f11, mat3f111f1f1f, mat3f111f1ff1, mat3f111f1fff, mat3f111ff111 +@docs mat3f111ff11f, mat3f111ff1f1, mat3f111ff1ff, mat3f111fff11, mat3f111fff1f, mat3f111ffff1 +@docs mat3f111fffff, mat3f11f11111, mat3f11f1111f, mat3f11f111f1, mat3f11f111ff, mat3f11f11f11 +@docs mat3f11f11f1f, mat3f11f11ff1, mat3f11f11fff, mat3f11f1f111, mat3f11f1f11f, mat3f11f1f1f1 +@docs mat3f11f1f1ff, mat3f11f1ff11, mat3f11f1ff1f, mat3f11f1fff1, mat3f11f1ffff, mat3f11ff1111 +@docs mat3f11ff111f, mat3f11ff11f1, mat3f11ff11ff, mat3f11ff1f11, mat3f11ff1f1f, mat3f11ff1ff1 +@docs mat3f11ff1fff, mat3f11fff111, mat3f11fff11f, mat3f11fff1f1, mat3f11fff1ff, mat3f11ffff11 +@docs mat3f11ffff1f, mat3f11fffff1, mat3f11ffffff, mat3f1f111111, mat3f1f11111f, mat3f1f1111f1 +@docs mat3f1f1111ff, mat3f1f111f11, mat3f1f111f1f, mat3f1f111ff1, mat3f1f111fff, mat3f1f11f111 +@docs mat3f1f11f11f, mat3f1f11f1f1, mat3f1f11f1ff, mat3f1f11ff11, mat3f1f11ff1f, mat3f1f11fff1 +@docs mat3f1f11ffff, mat3f1f1f1111, mat3f1f1f111f, mat3f1f1f11f1, mat3f1f1f11ff, mat3f1f1f1f11 +@docs mat3f1f1f1f1f, mat3f1f1f1ff1, mat3f1f1f1fff, mat3f1f1ff111, mat3f1f1ff11f, mat3f1f1ff1f1 +@docs mat3f1f1ff1ff, mat3f1f1fff11, mat3f1f1fff1f, mat3f1f1ffff1, mat3f1f1fffff, mat3f1ff11111 +@docs mat3f1ff1111f, mat3f1ff111f1, mat3f1ff111ff, mat3f1ff11f11, mat3f1ff11f1f, mat3f1ff11ff1 +@docs mat3f1ff11fff, mat3f1ff1f111, mat3f1ff1f11f, mat3f1ff1f1f1, mat3f1ff1f1ff, mat3f1ff1ff11 +@docs mat3f1ff1ff1f, mat3f1ff1fff1, mat3f1ff1ffff, mat3f1fff1111, mat3f1fff111f, mat3f1fff11f1 +@docs mat3f1fff11ff, mat3f1fff1f11, mat3f1fff1f1f, mat3f1fff1ff1, mat3f1fff1fff, mat3f1ffff111 +@docs mat3f1ffff11f, mat3f1ffff1f1, mat3f1ffff1ff, mat3f1fffff11, mat3f1fffff1f, mat3f1ffffff1 +@docs mat3f1fffffff, mat3ff1111111, mat3ff111111f, mat3ff11111f1, mat3ff11111ff, mat3ff1111f11 +@docs mat3ff1111f1f, mat3ff1111ff1, mat3ff1111fff, mat3ff111f111, mat3ff111f11f, mat3ff111f1f1 +@docs mat3ff111f1ff, mat3ff111ff11, mat3ff111ff1f, mat3ff111fff1, mat3ff111ffff, mat3ff11f1111 +@docs mat3ff11f111f, mat3ff11f11f1, mat3ff11f11ff, mat3ff11f1f11, mat3ff11f1f1f, mat3ff11f1ff1 +@docs mat3ff11f1fff, mat3ff11ff111, mat3ff11ff11f, mat3ff11ff1f1, mat3ff11ff1ff, mat3ff11fff11 +@docs mat3ff11fff1f, mat3ff11ffff1, mat3ff11fffff, mat3ff1f11111, mat3ff1f1111f, mat3ff1f111f1 +@docs mat3ff1f111ff, mat3ff1f11f11, mat3ff1f11f1f, mat3ff1f11ff1, mat3ff1f11fff, mat3ff1f1f111 +@docs mat3ff1f1f11f, mat3ff1f1f1f1, mat3ff1f1f1ff, mat3ff1f1ff11, mat3ff1f1ff1f, mat3ff1f1fff1 +@docs mat3ff1f1ffff, mat3ff1ff1111, mat3ff1ff111f, mat3ff1ff11f1, mat3ff1ff11ff, mat3ff1ff1f11 +@docs mat3ff1ff1f1f, mat3ff1ff1ff1, mat3ff1ff1fff, mat3ff1fff111, mat3ff1fff11f, mat3ff1fff1f1 +@docs mat3ff1fff1ff, mat3ff1ffff11, mat3ff1ffff1f, mat3ff1fffff1, mat3ff1ffffff, mat3fff111111 +@docs mat3fff11111f, mat3fff1111f1, mat3fff1111ff, mat3fff111f11, mat3fff111f1f, mat3fff111ff1 +@docs mat3fff111fff, mat3fff11f111, mat3fff11f11f, mat3fff11f1f1, mat3fff11f1ff, mat3fff11ff11 +@docs mat3fff11ff1f, mat3fff11fff1, mat3fff11ffff, mat3fff1f1111, mat3fff1f111f, mat3fff1f11f1 +@docs mat3fff1f11ff, mat3fff1f1f11, mat3fff1f1f1f, mat3fff1f1ff1, mat3fff1f1fff, mat3fff1ff111 +@docs mat3fff1ff11f, mat3fff1ff1f1, mat3fff1ff1ff, mat3fff1fff11, mat3fff1fff1f, mat3fff1ffff1 +@docs mat3fff1fffff, mat3ffff11111, mat3ffff1111f, mat3ffff111f1, mat3ffff111ff, mat3ffff11f11 +@docs mat3ffff11f1f, mat3ffff11ff1, mat3ffff11fff, mat3ffff1f111, mat3ffff1f11f, mat3ffff1f1f1 +@docs mat3ffff1f1ff, mat3ffff1ff11, mat3ffff1ff1f, mat3ffff1fff1, mat3ffff1ffff, mat3fffff1111 +@docs mat3fffff111f, mat3fffff11f1, mat3fffff11ff, mat3fffff1f11, mat3fffff1f1f, mat3fffff1ff1 +@docs mat3fffff1fff, mat3ffffff111, mat3ffffff11f, mat3ffffff1f1, mat3ffffff1ff, mat3fffffff11 +@docs mat3fffffff1f, mat3ffffffff1, mat3fffffffff + + +## mat4 + +@docs mat44444 + + +## max + +@docs max11, max1f, max21, max22, max2f, max31 +@docs max33, max3f, max41, max44, max4f, maxd1d1 +@docs maxd1wd1, maxd2d1, maxd2d2, maxd2wd1, maxd3d1, maxd3d3 +@docs maxd3wd1, maxd4d1, maxd4d4, maxd4wd1, maxf1, maxff +@docs maxi1i1, maxi1wi1, maxi2i1, maxi2i2, maxi2wi1, maxi3i1 +@docs maxi3i3, maxi3wi1, maxi4i1, maxi4i4, maxi4wi1, maxu1u1 +@docs maxu1wu1, maxu2u1, maxu2u2, maxu2wu1, maxu3u1, maxu3u3 +@docs maxu3wu1, maxu4u1, maxu4u4, maxu4wu1, maxwd1d1, maxwd1wd1 +@docs maxwi1i1, maxwi1wi1, maxwu1u1, maxwu1wu1 + + +## min + +@docs min11, min1f, min21, min22, min2f, min31 +@docs min33, min3f, min41, min44, min4f, mind1d1 +@docs mind1wd1, mind2d1, mind2d2, mind2wd1, mind3d1, mind3d3 +@docs mind3wd1, mind4d1, mind4d4, mind4wd1, minf1, minff +@docs mini1i1, mini1wi1, mini2i1, mini2i2, mini2wi1, mini3i1 +@docs mini3i3, mini3wi1, mini4i1, mini4i4, mini4wi1, minu1u1 +@docs minu1wu1, minu2u1, minu2u2, minu2wu1, minu3u1, minu3u3 +@docs minu3wu1, minu4u1, minu4u4, minu4wu1, minwd1d1, minwd1wd1 +@docs minwi1i1, minwi1wi1, minwu1u1, minwu1wu1 + + +## mix + +@docs mix111, mix11f, mix1f1, mix1ff, mix221, mix222 +@docs mix22f, mix331, mix333, mix33f, mix441, mix444 +@docs mix44f, mixd1d1d1, mixd1d1wd1, mixd1wd1d1, mixd1wd1wd1, mixd2d2d1 +@docs mixd2d2d2, mixd2d2wd1, mixd3d3d1, mixd3d3d3, mixd3d3wd1, mixd4d4d1 +@docs mixd4d4d4, mixd4d4wd1, mixf11, mixf1f, mixff1, mixfff +@docs mixwd1d1d1, mixwd1d1wd1, mixwd1wd1d1, mixwd1wd1wd1, mix + + +## mod + +@docs mod11, mod1f, mod21, mod22, mod2f, mod31 +@docs mod33, mod3f, mod41, mod44, mod4f, modd1d1 +@docs modd1wd1, modd2d1, modd2d2, modd2wd1, modd3d1, modd3d3 +@docs modd3wd1, modd4d1, modd4d4, modd4wd1, modf1, modff +@docs modwd1d1, modwd1wd1, mod + + +## modf + +@docs modf1o1, modf1of, modf2o2, modf3o3, modf4o4, modfd1od1 +@docs modfd1owd1, modfd2od2, modfd3od3, modfd4od4, modffo1, modffof +@docs modfwd1od1, modfwd1owd1, modf + + +## normalize + +@docs normalize1, normalize2, normalize3, normalize4, normalized1, normalized2 +@docs normalized3, normalized4, normalizef, normalizewd1, normalize + + +## reflect + +@docs reflect11, reflect1f, reflect22, reflect33, reflect44, reflectd1d1 +@docs reflectd1wd1, reflectd2d2, reflectd3d3, reflectd4d4, reflectf1, reflectff +@docs reflectwd1d1, reflectwd1wd1, reflect + + +## refract + +@docs refract111, refract11f, refract1f1, refract1ff, refract221, refract22f +@docs refract331, refract33f, refract441, refract44f, refractd1d11, refractd1d1f +@docs refractd1wd11, refractd1wd1f, refractd2d21, refractd2d2f, refractd3d31, refractd3d3f +@docs refractd4d41, refractd4d4f, refractf11, refractf1f, refractff1, refractfff +@docs refractwd1d11, refractwd1d1f, refractwd1wd11, refractwd1wd1f, refract + + +## round + +@docs round1, round2, round3, round4, roundd1, roundd2 +@docs roundd3, roundd4, roundf, roundwd1 + + +## roundEven + +@docs roundEven1, roundEven2, roundEven3, roundEven4, roundEvend1, roundEvend2 +@docs roundEvend3, roundEvend4, roundEvenf, roundEvenwd1, roundEven + + +## sign + +@docs sign1, sign2, sign3, sign4, signd1, signd2 +@docs signd3, signd4, signf, signi1, signi2, signi3 +@docs signi4, signwd1, signwi1, sign + + +## smoothstep + +@docs smoothstep111, smoothstep112, smoothstep113, smoothstep114, smoothstep11f, smoothstep1f1 +@docs smoothstep1f2, smoothstep1f3, smoothstep1f4, smoothstep1ff, smoothstep222, smoothstep333 +@docs smoothstep444, smoothstepd1d1d1, smoothstepd1d1d2, smoothstepd1d1d3, smoothstepd1d1d4, smoothstepd1d1wd1 +@docs smoothstepd1wd1d1, smoothstepd1wd1d2, smoothstepd1wd1d3, smoothstepd1wd1d4, smoothstepd1wd1wd1, smoothstepd2d2d2 +@docs smoothstepd3d3d3, smoothstepd4d4d4, smoothstepf11, smoothstepf12, smoothstepf13, smoothstepf14 +@docs smoothstepf1f, smoothstepff1, smoothstepff2, smoothstepff3, smoothstepff4, smoothstepfff +@docs smoothstepwd1d1d1, smoothstepwd1d1d2, smoothstepwd1d1d3, smoothstepwd1d1d4, smoothstepwd1d1wd1, smoothstepwd1wd1d1 +@docs smoothstepwd1wd1d2, smoothstepwd1wd1d3, smoothstepwd1wd1d4, smoothstepwd1wd1wd1, smoothstep + + +## sqrt + +@docs sqrt1, sqrt2, sqrt3, sqrt4, sqrtd1, sqrtd2 +@docs sqrtd3, sqrtd4, sqrtf, sqrtwd1 + + +## step + +@docs step11, step12, step13, step14, step1f, step22 +@docs step33, step44, stepd1d1, stepd1d2, stepd1d3, stepd1d4 +@docs stepd1wd1, stepd2d2, stepd3d3, stepd4d4, stepf1, stepf2 +@docs stepf3, stepf4, stepff, stepwd1d1, stepwd1d2, stepwd1d3 +@docs stepwd1d4, stepwd1wd1, step + + +## trunc + +@docs trunc1, trunc2, trunc3, trunc4, truncd1, truncd2 +@docs truncd3, truncd4, truncf, truncwd1, trunc + + +## uintBitsToFloat + +@docs uintBitsToFloatu1, uintBitsToFloatu2, uintBitsToFloatu3, uintBitsToFloatu4, uintBitsToFloatwu1 + + +## vec2 + +@docs vec21, vec211, vec21f, vec21i1, vec21wi1, vec2f +@docs vec2f1, vec2ff, vec2fi1, vec2fwi1, vec2i1, vec2i11 +@docs vec2i1f, vec2i1i1, vec2i1wi1, vec2wi1, vec2wi11, vec2wi1f +@docs vec2wi1i1, vec2wi1wi1 + + +## vec3 + +@docs vec31, vec3111, vec311f, vec311i1, vec311wi1, vec312 +@docs vec31f1, vec31ff, vec31fi1, vec31fwi1, vec31i11, vec31i1f +@docs vec31i1i1, vec31i1wi1, vec31wi11, vec31wi1f, vec31wi1i1, vec31wi1wi1 +@docs vec321, vec32f, vec3f, vec3f11, vec3f1f, vec3f1i1 +@docs vec3f1wi1, vec3f2, vec3ff1, vec3fff, vec3ffi1, vec3ffwi1 +@docs vec3fi11, vec3fi1f, vec3fi1i1, vec3fi1wi1, vec3fwi11, vec3fwi1f +@docs vec3fwi1i1, vec3fwi1wi1, vec3i1, vec3i111, vec3i11f, vec3i11i1 +@docs vec3i11wi1, vec3i1f1, vec3i1ff, vec3i1fi1, vec3i1fwi1, vec3i1i11 +@docs vec3i1i1f, vec3i1i1i1, vec3i1i1wi1, vec3i1wi11, vec3i1wi1f, vec3i1wi1i1 +@docs vec3i1wi1wi1, vec3wi1, vec3wi111, vec3wi11f, vec3wi11i1, vec3wi11wi1 +@docs vec3wi1f1, vec3wi1ff, vec3wi1fi1, vec3wi1fwi1, vec3wi1i11, vec3wi1i1f +@docs vec3wi1i1i1, vec3wi1i1wi1, vec3wi1wi11, vec3wi1wi1f, vec3wi1wi1i1, vec3wi1wi1wi1 + + +## vec4 + +@docs vec41, vec41111, vec4111f, vec4111i1, vec4111wi1, vec411f1 +@docs vec411ff, vec411fi1, vec411fwi1, vec411i11, vec411i1f, vec411i1i1 +@docs vec411i1wi1, vec411wi11, vec411wi1f, vec411wi1i1, vec411wi1wi1, vec413 +@docs vec41f11, vec41f1f, vec41f1i1, vec41f1wi1, vec41ff1, vec41fff +@docs vec41ffi1, vec41ffwi1, vec41fi11, vec41fi1f, vec41fi1i1, vec41fi1wi1 +@docs vec41fwi11, vec41fwi1f, vec41fwi1i1, vec41fwi1wi1, vec41i111, vec41i11f +@docs vec41i11i1, vec41i11wi1, vec41i1f1, vec41i1ff, vec41i1fi1, vec41i1fwi1 +@docs vec41i1i11, vec41i1i1f, vec41i1i1i1, vec41i1i1wi1, vec41i1wi11, vec41i1wi1f +@docs vec41i1wi1i1, vec41i1wi1wi1, vec41wi111, vec41wi11f, vec41wi11i1, vec41wi11wi1 +@docs vec41wi1f1, vec41wi1ff, vec41wi1fi1, vec41wi1fwi1, vec41wi1i11, vec41wi1i1f +@docs vec41wi1i1i1, vec41wi1i1wi1, vec41wi1wi11, vec41wi1wi1f, vec41wi1wi1i1, vec41wi1wi1wi1 +@docs vec422, vec431, vec43f, vec4f, vec4f111, vec4f11f +@docs vec4f11i1, vec4f11wi1, vec4f1f1, vec4f1ff, vec4f1fi1, vec4f1fwi1 +@docs vec4f1i11, vec4f1i1f, vec4f1i1i1, vec4f1i1wi1, vec4f1wi11, vec4f1wi1f +@docs vec4f1wi1i1, vec4f1wi1wi1, vec4f3, vec4ff11, vec4ff1f, vec4ff1i1 +@docs vec4ff1wi1, vec4fff1, vec4ffff, vec4fffi1, vec4fffwi1, vec4ffi11 +@docs vec4ffi1f, vec4ffi1i1, vec4ffi1wi1, vec4ffwi11, vec4ffwi1f, vec4ffwi1i1 +@docs vec4ffwi1wi1, vec4fi111, vec4fi11f, vec4fi11i1, vec4fi11wi1, vec4fi1f1 +@docs vec4fi1ff, vec4fi1fi1, vec4fi1fwi1, vec4fi1i11, vec4fi1i1f, vec4fi1i1i1 +@docs vec4fi1i1wi1, vec4fi1wi11, vec4fi1wi1f, vec4fi1wi1i1, vec4fi1wi1wi1, vec4fwi111 +@docs vec4fwi11f, vec4fwi11i1, vec4fwi11wi1, vec4fwi1f1, vec4fwi1ff, vec4fwi1fi1 +@docs vec4fwi1fwi1, vec4fwi1i11, vec4fwi1i1f, vec4fwi1i1i1, vec4fwi1i1wi1, vec4fwi1wi11 +@docs vec4fwi1wi1f, vec4fwi1wi1i1, vec4fwi1wi1wi1, vec4i1, vec4i1111, vec4i111f +@docs vec4i111i1, vec4i111wi1, vec4i11f1, vec4i11ff, vec4i11fi1, vec4i11fwi1 +@docs vec4i11i11, vec4i11i1f, vec4i11i1i1, vec4i11i1wi1, vec4i11wi11, vec4i11wi1f +@docs vec4i11wi1i1, vec4i11wi1wi1, vec4i1f11, vec4i1f1f, vec4i1f1i1, vec4i1f1wi1 +@docs vec4i1ff1, vec4i1fff, vec4i1ffi1, vec4i1ffwi1, vec4i1fi11, vec4i1fi1f +@docs vec4i1fi1i1, vec4i1fi1wi1, vec4i1fwi11, vec4i1fwi1f, vec4i1fwi1i1, vec4i1fwi1wi1 +@docs vec4i1i111, vec4i1i11f, vec4i1i11i1, vec4i1i11wi1, vec4i1i1f1, vec4i1i1ff +@docs vec4i1i1fi1, vec4i1i1fwi1, vec4i1i1i11, vec4i1i1i1f, vec4i1i1i1i1, vec4i1i1i1wi1 +@docs vec4i1i1wi11, vec4i1i1wi1f, vec4i1i1wi1i1, vec4i1i1wi1wi1, vec4i1wi111, vec4i1wi11f +@docs vec4i1wi11i1, vec4i1wi11wi1, vec4i1wi1f1, vec4i1wi1ff, vec4i1wi1fi1, vec4i1wi1fwi1 +@docs vec4i1wi1i11, vec4i1wi1i1f, vec4i1wi1i1i1, vec4i1wi1i1wi1, vec4i1wi1wi11, vec4i1wi1wi1f +@docs vec4i1wi1wi1i1, vec4i1wi1wi1wi1, vec4wi1, vec4wi1111, vec4wi111f, vec4wi111i1 +@docs vec4wi111wi1, vec4wi11f1, vec4wi11ff, vec4wi11fi1, vec4wi11fwi1, vec4wi11i11 +@docs vec4wi11i1f, vec4wi11i1i1, vec4wi11i1wi1, vec4wi11wi11, vec4wi11wi1f, vec4wi11wi1i1 +@docs vec4wi11wi1wi1, vec4wi1f11, vec4wi1f1f, vec4wi1f1i1, vec4wi1f1wi1, vec4wi1ff1 +@docs vec4wi1fff, vec4wi1ffi1, vec4wi1ffwi1, vec4wi1fi11, vec4wi1fi1f, vec4wi1fi1i1 +@docs vec4wi1fi1wi1, vec4wi1fwi11, vec4wi1fwi1f, vec4wi1fwi1i1, vec4wi1fwi1wi1, vec4wi1i111 +@docs vec4wi1i11f, vec4wi1i11i1, vec4wi1i11wi1, vec4wi1i1f1, vec4wi1i1ff, vec4wi1i1fi1 +@docs vec4wi1i1fwi1, vec4wi1i1i11, vec4wi1i1i1f, vec4wi1i1i1i1, vec4wi1i1i1wi1, vec4wi1i1wi11 +@docs vec4wi1i1wi1f, vec4wi1i1wi1i1, vec4wi1i1wi1wi1, vec4wi1wi111, vec4wi1wi11f, vec4wi1wi11i1 +@docs vec4wi1wi11wi1, vec4wi1wi1f1, vec4wi1wi1ff, vec4wi1wi1fi1, vec4wi1wi1fwi1, vec4wi1wi1i11 +@docs vec4wi1wi1i1f, vec4wi1wi1i1i1, vec4wi1wi1i1wi1, vec4wi1wi1wi11, vec4wi1wi1wi1f, vec4wi1wi1wi1i1 +@docs vec4wi1wi1wi1wi1 + + +## radians\_ + +@docs radians_ + + +## degrees\_ + +@docs degrees_ + + +## sin\_ + +@docs sin_ + + +## cos\_ + +@docs cos_ + + +## tan\_ + +@docs tan_ + + +## asin\_ + +@docs asin_ + + +## acos\_ + +@docs acos_ + + +## atan\_ + +@docs atan_ + + +## atan2\_ + +@docs atan2_ + + +## sinh + +@docs sinh + + +## cosh + +@docs cosh + + +## tanh + +@docs tanh + + +## asinh + +@docs asinh + + +## acosh + +@docs acosh + + +## atanh + +@docs atanh + + +## pow + +@docs pow + + +## exp + +@docs exp + + +## log + +@docs log + + +## exp2 + +@docs exp2 + + +## log2 + +@docs log2 + + +## sqrt\_ + +@docs sqrt_ + + +## abs\_ + +@docs abs_ + + +## floor\_ + +@docs floor_ + + +## round\_ + +@docs round_ + + +## min\_ + +@docs min_ + + +## max\_ + +@docs max_ + + +## clamp\_ + +@docs clamp_ + + +## dFdx + +@docs dFdx + + +## dFdy + +@docs dFdy + + +## dFdxFine + +@docs dFdxFine + + +## dFdyFine + +@docs dFdyFine + + +## dFdxCoarse + +@docs dFdxCoarse + + +## dFdyCoarse + +@docs dFdyCoarse + + +## fwidth + +@docs fwidth + + +## fwidthFine + +@docs fwidthFine + + +## fwidthCoarse + +@docs fwidthCoarse + +-} + +import Glsl + + +abs1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +abs1 a = + Glsl.unsafeCall1 "abs" [] a + + +abs2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +abs2 a = + Glsl.unsafeCall1 "abs" [] a + + +abs3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +abs3 a = + Glsl.unsafeCall1 "abs" [] a + + +abs4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +abs4 a = + Glsl.unsafeCall1 "abs" [] a + + +absd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +absd1 a = + Glsl.unsafeCall1 "abs" [] a + + +absd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +absd2 a = + Glsl.unsafeCall1 "abs" [] a + + +absd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +absd3 a = + Glsl.unsafeCall1 "abs" [] a + + +absd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +absd4 a = + Glsl.unsafeCall1 "abs" [] a + + +absf : Float -> Glsl.Expression Glsl.Float_ +absf a = + Glsl.unsafeCall1 "abs" [] (Glsl.float1 a) + + +absi1 : Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Int_ +absi1 a = + Glsl.unsafeCall1 "abs" [] a + + +absi2 : Glsl.Expression Glsl.IVec2 -> Glsl.Expression Glsl.IVec2 +absi2 a = + Glsl.unsafeCall1 "abs" [] a + + +absi3 : Glsl.Expression Glsl.IVec3 -> Glsl.Expression Glsl.IVec3 +absi3 a = + Glsl.unsafeCall1 "abs" [] a + + +absi4 : Glsl.Expression Glsl.IVec4 -> Glsl.Expression Glsl.IVec4 +absi4 a = + Glsl.unsafeCall1 "abs" [] a + + +abswd1 : Float -> Glsl.Expression Glsl.Double +abswd1 a = + Glsl.unsafeCall1 "abs" [] (Glsl.double1 a) + + +abswi1 : Int -> Glsl.Expression Glsl.Int_ +abswi1 a = + Glsl.unsafeCall1 "abs" [] (Glsl.int1 a) + + +ceil1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +ceil1 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceil2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +ceil2 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceil3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +ceil3 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceil4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +ceil4 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceild1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +ceild1 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceild2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +ceild2 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceild3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +ceild3 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceild4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +ceild4 a = + Glsl.unsafeCall1 "ceil" [] a + + +ceilf : Float -> Glsl.Expression Glsl.Float_ +ceilf a = + Glsl.unsafeCall1 "ceil" [] (Glsl.float1 a) + + +ceilwd1 : Float -> Glsl.Expression Glsl.Double +ceilwd1 a = + Glsl.unsafeCall1 "ceil" [] (Glsl.double1 a) + + +ceil : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +ceil a = + Glsl.unsafeCall1 "ceil" [] a + + +clamp111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +clamp111 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clamp11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ +clamp11f a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.float1 c) + + +clamp1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +clamp1f1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) c + + +clamp1ff : Glsl.Expression Glsl.Float_ -> Float -> Float -> Glsl.Expression Glsl.Float_ +clamp1ff a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) (Glsl.float1 c) + + +clamp211 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +clamp211 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clamp21f : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec2 +clamp21f a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.float1 c) + + +clamp222 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +clamp222 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clamp2f1 : + Glsl.Expression Glsl.Vec2 + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +clamp2f1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) c + + +clamp2ff : Glsl.Expression Glsl.Vec2 -> Float -> Float -> Glsl.Expression Glsl.Vec2 +clamp2ff a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) (Glsl.float1 c) + + +clamp311 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +clamp311 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clamp31f : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec3 +clamp31f a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.float1 c) + + +clamp333 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +clamp333 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clamp3f1 : + Glsl.Expression Glsl.Vec3 + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +clamp3f1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) c + + +clamp3ff : Glsl.Expression Glsl.Vec3 -> Float -> Float -> Glsl.Expression Glsl.Vec3 +clamp3ff a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) (Glsl.float1 c) + + +clamp411 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +clamp411 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clamp41f : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +clamp41f a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.float1 c) + + +clamp444 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +clamp444 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clamp4f1 : + Glsl.Expression Glsl.Vec4 + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +clamp4f1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) c + + +clamp4ff : Glsl.Expression Glsl.Vec4 -> Float -> Float -> Glsl.Expression Glsl.Vec4 +clamp4ff a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.float1 b) (Glsl.float1 c) + + +clampd1d1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +clampd1d1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampd1d1wd1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double +clampd1d1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.double1 c) + + +clampd1wd1d1 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +clampd1wd1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) c + + +clampd1wd1wd1 : Glsl.Expression Glsl.Double -> Float -> Float -> Glsl.Expression Glsl.Double +clampd1wd1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) (Glsl.double1 c) + + +clampd2d1d1 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 +clampd2d1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampd2d1wd1 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.DVec2 +clampd2d1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.double1 c) + + +clampd2d2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +clampd2d2d2 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampd2wd1d1 : + Glsl.Expression Glsl.DVec2 + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 +clampd2wd1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) c + + +clampd2wd1wd1 : Glsl.Expression Glsl.DVec2 -> Float -> Float -> Glsl.Expression Glsl.DVec2 +clampd2wd1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) (Glsl.double1 c) + + +clampd3d1d1 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 +clampd3d1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampd3d1wd1 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.DVec3 +clampd3d1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.double1 c) + + +clampd3d3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +clampd3d3d3 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampd3wd1d1 : + Glsl.Expression Glsl.DVec3 + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 +clampd3wd1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) c + + +clampd3wd1wd1 : Glsl.Expression Glsl.DVec3 -> Float -> Float -> Glsl.Expression Glsl.DVec3 +clampd3wd1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) (Glsl.double1 c) + + +clampd4d1d1 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 +clampd4d1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampd4d1wd1 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.DVec4 +clampd4d1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.double1 c) + + +clampd4d4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +clampd4d4d4 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampd4wd1d1 : + Glsl.Expression Glsl.DVec4 + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 +clampd4wd1d1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) c + + +clampd4wd1wd1 : Glsl.Expression Glsl.DVec4 -> Float -> Float -> Glsl.Expression Glsl.DVec4 +clampd4wd1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.double1 b) (Glsl.double1 c) + + +clampf11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +clampf11 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.float1 a) b c + + +clampf1f : Float -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +clampf1f a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.float1 a) b (Glsl.float1 c) + + +clampff1 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +clampff1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.float1 a) (Glsl.float1 b) c + + +clampfff : Float -> Float -> Float -> Glsl.Expression Glsl.Float_ +clampfff a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.float1 c) + + +clampi1i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ +clampi1i1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampi1i1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ +clampi1i1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.int1 c) + + +clampi1wi1i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ +clampi1wi1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) c + + +clampi1wi1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Int -> Glsl.Expression Glsl.Int_ +clampi1wi1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) (Glsl.int1 c) + + +clampi2i1i1 : + Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec2 +clampi2i1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampi2i1wi1 : + Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.IVec2 +clampi2i1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.int1 c) + + +clampi2i2i2 : + Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.IVec2 +clampi2i2i2 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampi2wi1i1 : + Glsl.Expression Glsl.IVec2 + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec2 +clampi2wi1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) c + + +clampi2wi1wi1 : Glsl.Expression Glsl.IVec2 -> Int -> Int -> Glsl.Expression Glsl.IVec2 +clampi2wi1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) (Glsl.int1 c) + + +clampi3i1i1 : + Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec3 +clampi3i1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampi3i1wi1 : + Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.IVec3 +clampi3i1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.int1 c) + + +clampi3i3i3 : + Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.IVec3 +clampi3i3i3 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampi3wi1i1 : + Glsl.Expression Glsl.IVec3 + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec3 +clampi3wi1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) c + + +clampi3wi1wi1 : Glsl.Expression Glsl.IVec3 -> Int -> Int -> Glsl.Expression Glsl.IVec3 +clampi3wi1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) (Glsl.int1 c) + + +clampi4i1i1 : + Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec4 +clampi4i1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampi4i1wi1 : + Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.IVec4 +clampi4i1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.int1 c) + + +clampi4i4i4 : + Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.IVec4 +clampi4i4i4 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampi4wi1i1 : + Glsl.Expression Glsl.IVec4 + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec4 +clampi4wi1i1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) c + + +clampi4wi1wi1 : Glsl.Expression Glsl.IVec4 -> Int -> Int -> Glsl.Expression Glsl.IVec4 +clampi4wi1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.int1 b) (Glsl.int1 c) + + +clampu1u1u1 : + Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint +clampu1u1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampu1u1wu1 : + Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Int + -> Glsl.Expression Glsl.Uint +clampu1u1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.uint1 c) + + +clampu1wu1u1 : + Glsl.Expression Glsl.Uint + -> Int + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint +clampu1wu1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) c + + +clampu1wu1wu1 : Glsl.Expression Glsl.Uint -> Int -> Int -> Glsl.Expression Glsl.Uint +clampu1wu1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) (Glsl.uint1 c) + + +clampu2u1u1 : + Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec2 +clampu2u1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampu2u1wu1 : + Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.Uint + -> Int + -> Glsl.Expression Glsl.UVec2 +clampu2u1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.uint1 c) + + +clampu2u2u2 : + Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.UVec2 +clampu2u2u2 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampu2wu1u1 : + Glsl.Expression Glsl.UVec2 + -> Int + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec2 +clampu2wu1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) c + + +clampu2wu1wu1 : Glsl.Expression Glsl.UVec2 -> Int -> Int -> Glsl.Expression Glsl.UVec2 +clampu2wu1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) (Glsl.uint1 c) + + +clampu3u1u1 : + Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec3 +clampu3u1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampu3u1wu1 : + Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.Uint + -> Int + -> Glsl.Expression Glsl.UVec3 +clampu3u1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.uint1 c) + + +clampu3u3u3 : + Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.UVec3 +clampu3u3u3 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampu3wu1u1 : + Glsl.Expression Glsl.UVec3 + -> Int + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec3 +clampu3wu1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) c + + +clampu3wu1wu1 : Glsl.Expression Glsl.UVec3 -> Int -> Int -> Glsl.Expression Glsl.UVec3 +clampu3wu1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) (Glsl.uint1 c) + + +clampu4u1u1 : + Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec4 +clampu4u1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampu4u1wu1 : + Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.Uint + -> Int + -> Glsl.Expression Glsl.UVec4 +clampu4u1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a b (Glsl.uint1 c) + + +clampu4u4u4 : + Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.UVec4 +clampu4u4u4 a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +clampu4wu1u1 : + Glsl.Expression Glsl.UVec4 + -> Int + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec4 +clampu4wu1u1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) c + + +clampu4wu1wu1 : Glsl.Expression Glsl.UVec4 -> Int -> Int -> Glsl.Expression Glsl.UVec4 +clampu4wu1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] a (Glsl.uint1 b) (Glsl.uint1 c) + + +clampwd1d1d1 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +clampwd1d1d1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.double1 a) b c + + +clampwd1d1wd1 : Float -> Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +clampwd1d1wd1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.double1 a) b (Glsl.double1 c) + + +clampwd1wd1d1 : Float -> Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +clampwd1wd1d1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.double1 a) (Glsl.double1 b) c + + +clampwd1wd1wd1 : Float -> Float -> Float -> Glsl.Expression Glsl.Double +clampwd1wd1wd1 a b c = + Glsl.unsafeCall3 + "clamp" + [] + (Glsl.double1 a) + (Glsl.double1 b) + (Glsl.double1 c) + + +clampwi1i1i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ +clampwi1i1i1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.int1 a) b c + + +clampwi1i1wi1 : Int -> Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Int_ +clampwi1i1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.int1 a) b (Glsl.int1 c) + + +clampwi1wi1i1 : Int -> Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Int_ +clampwi1wi1i1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.int1 a) (Glsl.int1 b) c + + +clampwi1wi1wi1 : Int -> Int -> Int -> Glsl.Expression Glsl.Int_ +clampwi1wi1wi1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.int1 c) + + +clampwu1u1u1 : + Int + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint +clampwu1u1u1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.uint1 a) b c + + +clampwu1u1wu1 : Int -> Glsl.Expression Glsl.Uint -> Int -> Glsl.Expression Glsl.Uint +clampwu1u1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.uint1 a) b (Glsl.uint1 c) + + +clampwu1wu1u1 : Int -> Int -> Glsl.Expression Glsl.Uint -> Glsl.Expression Glsl.Uint +clampwu1wu1u1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.uint1 a) (Glsl.uint1 b) c + + +clampwu1wu1wu1 : Int -> Int -> Int -> Glsl.Expression Glsl.Uint +clampwu1wu1wu1 a b c = + Glsl.unsafeCall3 "clamp" [] (Glsl.uint1 a) (Glsl.uint1 b) (Glsl.uint1 c) + + +cross33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +cross33 a b = + Glsl.unsafeCall2 "cross" [] a b + + +crossd3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +crossd3d3 a b = + Glsl.unsafeCall2 "cross" [] a b + + +distance11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +distance11 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distance1f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +distance1f a b = + Glsl.unsafeCall2 "distance" [] a (Glsl.float1 b) + + +distance22 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ +distance22 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distance33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ +distance33 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distance44 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ +distance44 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distanced1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +distanced1d1 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distanced1wd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +distanced1wd1 a b = + Glsl.unsafeCall2 "distance" [] a (Glsl.double1 b) + + +distanced2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double +distanced2d2 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distanced3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double +distanced3d3 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distanced4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double +distanced4d4 a b = + Glsl.unsafeCall2 "distance" [] a b + + +distancef1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +distancef1 a b = + Glsl.unsafeCall2 "distance" [] (Glsl.float1 a) b + + +distanceff : Float -> Float -> Glsl.Expression Glsl.Float_ +distanceff a b = + Glsl.unsafeCall2 "distance" [] (Glsl.float1 a) (Glsl.float1 b) + + +distancewd1d1 : Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +distancewd1d1 a b = + Glsl.unsafeCall2 "distance" [] (Glsl.double1 a) b + + +distancewd1wd1 : Float -> Float -> Glsl.Expression Glsl.Double +distancewd1wd1 a b = + Glsl.unsafeCall2 "distance" [] (Glsl.double1 a) (Glsl.double1 b) + + +distance : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t Glsl.D1) +distance a b = + Glsl.unsafeCall2 "distance" [] a b + + +dot11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +dot11 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dot1f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +dot1f a b = + Glsl.unsafeCall2 "dot" [] a (Glsl.float1 b) + + +dot22 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ +dot22 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dot33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ +dot33 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dot44 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ +dot44 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dotd1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +dotd1d1 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dotd1wd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +dotd1wd1 a b = + Glsl.unsafeCall2 "dot" [] a (Glsl.double1 b) + + +dotd2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double +dotd2d2 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dotd3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double +dotd3d3 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dotd4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double +dotd4d4 a b = + Glsl.unsafeCall2 "dot" [] a b + + +dotf1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +dotf1 a b = + Glsl.unsafeCall2 "dot" [] (Glsl.float1 a) b + + +dotff : Float -> Float -> Glsl.Expression Glsl.Float_ +dotff a b = + Glsl.unsafeCall2 "dot" [] (Glsl.float1 a) (Glsl.float1 b) + + +dotwd1d1 : Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +dotwd1d1 a b = + Glsl.unsafeCall2 "dot" [] (Glsl.double1 a) b + + +dotwd1wd1 : Float -> Float -> Glsl.Expression Glsl.Double +dotwd1wd1 a b = + Glsl.unsafeCall2 "dot" [] (Glsl.double1 a) (Glsl.double1 b) + + +dot : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t Glsl.D1) +dot a b = + Glsl.unsafeCall2 "dot" [] a b + + +faceforward111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +faceforward111 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforward11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ +faceforward11f a b c = + Glsl.unsafeCall3 "faceforward" [] a b (Glsl.float1 c) + + +faceforward1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +faceforward1f1 a b c = + Glsl.unsafeCall3 "faceforward" [] a (Glsl.float1 b) c + + +faceforward1ff : Glsl.Expression Glsl.Float_ -> Float -> Float -> Glsl.Expression Glsl.Float_ +faceforward1ff a b c = + Glsl.unsafeCall3 "faceforward" [] a (Glsl.float1 b) (Glsl.float1 c) + + +faceforward222 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +faceforward222 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforward333 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +faceforward333 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforward444 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +faceforward444 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforwardd1d1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +faceforwardd1d1d1 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforwardd1d1wd1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double +faceforwardd1d1wd1 a b c = + Glsl.unsafeCall3 "faceforward" [] a b (Glsl.double1 c) + + +faceforwardd1wd1d1 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +faceforwardd1wd1d1 a b c = + Glsl.unsafeCall3 "faceforward" [] a (Glsl.double1 b) c + + +faceforwardd1wd1wd1 : Glsl.Expression Glsl.Double -> Float -> Float -> Glsl.Expression Glsl.Double +faceforwardd1wd1wd1 a b c = + Glsl.unsafeCall3 "faceforward" [] a (Glsl.double1 b) (Glsl.double1 c) + + +faceforwardd2d2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +faceforwardd2d2d2 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforwardd3d3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +faceforwardd3d3d3 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforwardd4d4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +faceforwardd4d4d4 a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +faceforwardf11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +faceforwardf11 a b c = + Glsl.unsafeCall3 "faceforward" [] (Glsl.float1 a) b c + + +faceforwardf1f : Float -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +faceforwardf1f a b c = + Glsl.unsafeCall3 "faceforward" [] (Glsl.float1 a) b (Glsl.float1 c) + + +faceforwardff1 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +faceforwardff1 a b c = + Glsl.unsafeCall3 "faceforward" [] (Glsl.float1 a) (Glsl.float1 b) c + + +faceforwardfff : Float -> Float -> Float -> Glsl.Expression Glsl.Float_ +faceforwardfff a b c = + Glsl.unsafeCall3 + "faceforward" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + + +faceforwardwd1d1d1 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +faceforwardwd1d1d1 a b c = + Glsl.unsafeCall3 "faceforward" [] (Glsl.double1 a) b c + + +faceforwardwd1d1wd1 : Float -> Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +faceforwardwd1d1wd1 a b c = + Glsl.unsafeCall3 "faceforward" [] (Glsl.double1 a) b (Glsl.double1 c) + + +faceforwardwd1wd1d1 : Float -> Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +faceforwardwd1wd1d1 a b c = + Glsl.unsafeCall3 "faceforward" [] (Glsl.double1 a) (Glsl.double1 b) c + + +faceforwardwd1wd1wd1 : Float -> Float -> Float -> Glsl.Expression Glsl.Double +faceforwardwd1wd1wd1 a b c = + Glsl.unsafeCall3 + "faceforward" + [] + (Glsl.double1 a) + (Glsl.double1 b) + (Glsl.double1 c) + + +faceforward : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +faceforward a b c = + Glsl.unsafeCall3 "faceforward" [] a b c + + +floatBitsToInt1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Int_ +floatBitsToInt1 a = + Glsl.unsafeCall1 "floatBitsToInt" [] a + + +floatBitsToInt2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.IVec2 +floatBitsToInt2 a = + Glsl.unsafeCall1 "floatBitsToInt" [] a + + +floatBitsToInt3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.IVec3 +floatBitsToInt3 a = + Glsl.unsafeCall1 "floatBitsToInt" [] a + + +floatBitsToInt4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.IVec4 +floatBitsToInt4 a = + Glsl.unsafeCall1 "floatBitsToInt" [] a + + +floatBitsToIntf : Float -> Glsl.Expression Glsl.Int_ +floatBitsToIntf a = + Glsl.unsafeCall1 "floatBitsToInt" [] (Glsl.float1 a) + + +floatBitsToUint1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Uint +floatBitsToUint1 a = + Glsl.unsafeCall1 "floatBitsToUint" [] a + + +floatBitsToUint2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.UVec2 +floatBitsToUint2 a = + Glsl.unsafeCall1 "floatBitsToUint" [] a + + +floatBitsToUint3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.UVec3 +floatBitsToUint3 a = + Glsl.unsafeCall1 "floatBitsToUint" [] a + + +floatBitsToUint4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.UVec4 +floatBitsToUint4 a = + Glsl.unsafeCall1 "floatBitsToUint" [] a + + +floatBitsToUintf : Float -> Glsl.Expression Glsl.Uint +floatBitsToUintf a = + Glsl.unsafeCall1 "floatBitsToUint" [] (Glsl.float1 a) + + +floati1 : Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Float_ +floati1 a = + Glsl.unsafeCall1 "float" [] a + + +floatwi1 : Int -> Glsl.Expression Glsl.Float_ +floatwi1 a = + Glsl.unsafeCall1 "float" [] (Glsl.int1 a) + + +floor1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +floor1 a = + Glsl.unsafeCall1 "floor" [] a + + +floor2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +floor2 a = + Glsl.unsafeCall1 "floor" [] a + + +floor3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +floor3 a = + Glsl.unsafeCall1 "floor" [] a + + +floor4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +floor4 a = + Glsl.unsafeCall1 "floor" [] a + + +floord1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +floord1 a = + Glsl.unsafeCall1 "floor" [] a + + +floord2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +floord2 a = + Glsl.unsafeCall1 "floor" [] a + + +floord3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +floord3 a = + Glsl.unsafeCall1 "floor" [] a + + +floord4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +floord4 a = + Glsl.unsafeCall1 "floor" [] a + + +floorf : Float -> Glsl.Expression Glsl.Float_ +floorf a = + Glsl.unsafeCall1 "floor" [] (Glsl.float1 a) + + +floorwd1 : Float -> Glsl.Expression Glsl.Double +floorwd1 a = + Glsl.unsafeCall1 "floor" [] (Glsl.double1 a) + + +fma111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +fma111 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fma11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ +fma11f a b c = + Glsl.unsafeCall3 "fma" [] a b (Glsl.float1 c) + + +fma1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +fma1f1 a b c = + Glsl.unsafeCall3 "fma" [] a (Glsl.float1 b) c + + +fma1ff : Glsl.Expression Glsl.Float_ -> Float -> Float -> Glsl.Expression Glsl.Float_ +fma1ff a b c = + Glsl.unsafeCall3 "fma" [] a (Glsl.float1 b) (Glsl.float1 c) + + +fma222 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +fma222 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fma333 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +fma333 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fma444 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +fma444 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fmad1d1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +fmad1d1d1 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fmad1d1wd1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double +fmad1d1wd1 a b c = + Glsl.unsafeCall3 "fma" [] a b (Glsl.double1 c) + + +fmad1wd1d1 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +fmad1wd1d1 a b c = + Glsl.unsafeCall3 "fma" [] a (Glsl.double1 b) c + + +fmad1wd1wd1 : Glsl.Expression Glsl.Double -> Float -> Float -> Glsl.Expression Glsl.Double +fmad1wd1wd1 a b c = + Glsl.unsafeCall3 "fma" [] a (Glsl.double1 b) (Glsl.double1 c) + + +fmad2d2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +fmad2d2d2 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fmad3d3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +fmad3d3d3 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fmad4d4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +fmad4d4d4 a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fmaf11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +fmaf11 a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.float1 a) b c + + +fmaf1f : Float -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +fmaf1f a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.float1 a) b (Glsl.float1 c) + + +fmaff1 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +fmaff1 a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.float1 a) (Glsl.float1 b) c + + +fmafff : Float -> Float -> Float -> Glsl.Expression Glsl.Float_ +fmafff a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.float1 c) + + +fmawd1d1d1 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +fmawd1d1d1 a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.double1 a) b c + + +fmawd1d1wd1 : Float -> Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +fmawd1d1wd1 a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.double1 a) b (Glsl.double1 c) + + +fmawd1wd1d1 : Float -> Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +fmawd1wd1d1 a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.double1 a) (Glsl.double1 b) c + + +fmawd1wd1wd1 : Float -> Float -> Float -> Glsl.Expression Glsl.Double +fmawd1wd1wd1 a b c = + Glsl.unsafeCall3 "fma" [] (Glsl.double1 a) (Glsl.double1 b) (Glsl.double1 c) + + +fma : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +fma a b c = + Glsl.unsafeCall3 "fma" [] a b c + + +fract1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +fract1 a = + Glsl.unsafeCall1 "fract" [] a + + +fract2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +fract2 a = + Glsl.unsafeCall1 "fract" [] a + + +fract3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +fract3 a = + Glsl.unsafeCall1 "fract" [] a + + +fract4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +fract4 a = + Glsl.unsafeCall1 "fract" [] a + + +fractd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +fractd1 a = + Glsl.unsafeCall1 "fract" [] a + + +fractd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +fractd2 a = + Glsl.unsafeCall1 "fract" [] a + + +fractd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +fractd3 a = + Glsl.unsafeCall1 "fract" [] a + + +fractd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +fractd4 a = + Glsl.unsafeCall1 "fract" [] a + + +fractf : Float -> Glsl.Expression Glsl.Float_ +fractf a = + Glsl.unsafeCall1 "fract" [] (Glsl.float1 a) + + +fractwd1 : Float -> Glsl.Expression Glsl.Double +fractwd1 a = + Glsl.unsafeCall1 "fract" [] (Glsl.double1 a) + + +fract : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +fract a = + Glsl.unsafeCall1 "fract" [] a + + +frexp1oi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression (Glsl.Out Glsl.Int_) + -> Glsl.Expression Glsl.Float_ +frexp1oi1 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexp1owi1 : Glsl.Expression Glsl.Float_ -> Int -> Glsl.Expression Glsl.Float_ +frexp1owi1 a b = + Glsl.unsafeCall2 "frexp" [] a (Glsl.int1 b) + + +frexp2oi2 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression (Glsl.Out Glsl.IVec2) + -> Glsl.Expression Glsl.Vec2 +frexp2oi2 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexp3oi3 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression (Glsl.Out Glsl.IVec3) + -> Glsl.Expression Glsl.Vec3 +frexp3oi3 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexp4oi4 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression (Glsl.Out Glsl.IVec4) + -> Glsl.Expression Glsl.Vec4 +frexp4oi4 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexpd1oi1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression (Glsl.Out Glsl.Int_) + -> Glsl.Expression Glsl.Double +frexpd1oi1 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexpd1owi1 : Glsl.Expression Glsl.Double -> Int -> Glsl.Expression Glsl.Double +frexpd1owi1 a b = + Glsl.unsafeCall2 "frexp" [] a (Glsl.int1 b) + + +frexpd2oi2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression (Glsl.Out Glsl.IVec2) + -> Glsl.Expression Glsl.DVec2 +frexpd2oi2 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexpd3oi3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression (Glsl.Out Glsl.IVec3) + -> Glsl.Expression Glsl.DVec3 +frexpd3oi3 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexpd4oi4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression (Glsl.Out Glsl.IVec4) + -> Glsl.Expression Glsl.DVec4 +frexpd4oi4 a b = + Glsl.unsafeCall2 "frexp" [] a b + + +frexpfoi1 : Float -> Glsl.Expression (Glsl.Out Glsl.Int_) -> Glsl.Expression Glsl.Float_ +frexpfoi1 a b = + Glsl.unsafeCall2 "frexp" [] (Glsl.float1 a) b + + +frexpfowi1 : Float -> Int -> Glsl.Expression Glsl.Float_ +frexpfowi1 a b = + Glsl.unsafeCall2 "frexp" [] (Glsl.float1 a) (Glsl.int1 b) + + +frexpwd1oi1 : Float -> Glsl.Expression (Glsl.Out Glsl.Int_) -> Glsl.Expression Glsl.Double +frexpwd1oi1 a b = + Glsl.unsafeCall2 "frexp" [] (Glsl.double1 a) b + + +frexpwd1owi1 : Float -> Int -> Glsl.Expression Glsl.Double +frexpwd1owi1 a b = + Glsl.unsafeCall2 "frexp" [] (Glsl.double1 a) (Glsl.int1 b) + + +int1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Int_ +int1 a = + Glsl.unsafeCall1 "int" [] a + + +intf : Float -> Glsl.Expression Glsl.Int_ +intf a = + Glsl.unsafeCall1 "int" [] (Glsl.float1 a) + + +intBitsToFloati1 : Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Float_ +intBitsToFloati1 a = + Glsl.unsafeCall1 "intBitsToFloat" [] a + + +intBitsToFloati2 : Glsl.Expression Glsl.IVec2 -> Glsl.Expression Glsl.Vec2 +intBitsToFloati2 a = + Glsl.unsafeCall1 "intBitsToFloat" [] a + + +intBitsToFloati3 : Glsl.Expression Glsl.IVec3 -> Glsl.Expression Glsl.Vec3 +intBitsToFloati3 a = + Glsl.unsafeCall1 "intBitsToFloat" [] a + + +intBitsToFloati4 : Glsl.Expression Glsl.IVec4 -> Glsl.Expression Glsl.Vec4 +intBitsToFloati4 a = + Glsl.unsafeCall1 "intBitsToFloat" [] a + + +intBitsToFloatwi1 : Int -> Glsl.Expression Glsl.Float_ +intBitsToFloatwi1 a = + Glsl.unsafeCall1 "intBitsToFloat" [] (Glsl.int1 a) + + +inversesqrt1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +inversesqrt1 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrt2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +inversesqrt2 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrt3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +inversesqrt3 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrt4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +inversesqrt4 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrtd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +inversesqrtd1 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrtd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +inversesqrtd2 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrtd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +inversesqrtd3 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrtd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +inversesqrtd4 a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +inversesqrtf : Float -> Glsl.Expression Glsl.Float_ +inversesqrtf a = + Glsl.unsafeCall1 "inversesqrt" [] (Glsl.float1 a) + + +inversesqrtwd1 : Float -> Glsl.Expression Glsl.Double +inversesqrtwd1 a = + Glsl.unsafeCall1 "inversesqrt" [] (Glsl.double1 a) + + +inversesqrt : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +inversesqrt a = + Glsl.unsafeCall1 "inversesqrt" [] a + + +isinf1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Bool_ +isinf1 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinf2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.BVec2 +isinf2 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinf3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.BVec3 +isinf3 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinf4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.BVec4 +isinf4 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinfd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Bool_ +isinfd1 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinfd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.BVec2 +isinfd2 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinfd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.BVec3 +isinfd3 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinfd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.BVec4 +isinfd4 a = + Glsl.unsafeCall1 "isinf" [] a + + +isinff : Float -> Glsl.Expression Glsl.Bool_ +isinff a = + Glsl.unsafeCall1 "isinf" [] (Glsl.float1 a) + + +isinfwd1 : Float -> Glsl.Expression Glsl.Bool_ +isinfwd1 a = + Glsl.unsafeCall1 "isinf" [] (Glsl.double1 a) + + +isnan1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Bool_ +isnan1 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnan2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.BVec2 +isnan2 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnan3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.BVec3 +isnan3 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnan4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.BVec4 +isnan4 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnand1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Bool_ +isnand1 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnand2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.BVec2 +isnand2 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnand3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.BVec3 +isnand3 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnand4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.BVec4 +isnand4 a = + Glsl.unsafeCall1 "isnan" [] a + + +isnanf : Float -> Glsl.Expression Glsl.Bool_ +isnanf a = + Glsl.unsafeCall1 "isnan" [] (Glsl.float1 a) + + +isnanwd1 : Float -> Glsl.Expression Glsl.Bool_ +isnanwd1 a = + Glsl.unsafeCall1 "isnan" [] (Glsl.double1 a) + + +ivec2i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec2 +ivec2i1i1 a b = + Glsl.unsafeCall2 "ivec2" [] a b + + +ivec2i1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Vec2 +ivec2i1wi1 a b = + Glsl.unsafeCall2 "ivec2" [] a (Glsl.int1 b) + + +ivec2wi1i1 : Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec2 +ivec2wi1i1 a b = + Glsl.unsafeCall2 "ivec2" [] (Glsl.int1 a) b + + +ivec2wi1wi1 : Int -> Int -> Glsl.Expression Glsl.Vec2 +ivec2wi1wi1 a b = + Glsl.unsafeCall2 "ivec2" [] (Glsl.int1 a) (Glsl.int1 b) + + +ivec3i1i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +ivec3i1i1i1 a b c = + Glsl.unsafeCall3 "ivec3" [] a b c + + +ivec3i1i1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec3 +ivec3i1i1wi1 a b c = + Glsl.unsafeCall3 "ivec3" [] a b (Glsl.int1 c) + + +ivec3i1wi1i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +ivec3i1wi1i1 a b c = + Glsl.unsafeCall3 "ivec3" [] a (Glsl.int1 b) c + + +ivec3i1wi1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Int -> Glsl.Expression Glsl.Vec3 +ivec3i1wi1wi1 a b c = + Glsl.unsafeCall3 "ivec3" [] a (Glsl.int1 b) (Glsl.int1 c) + + +ivec3wi1i1i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +ivec3wi1i1i1 a b c = + Glsl.unsafeCall3 "ivec3" [] (Glsl.int1 a) b c + + +ivec3wi1i1wi1 : Int -> Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Vec3 +ivec3wi1i1wi1 a b c = + Glsl.unsafeCall3 "ivec3" [] (Glsl.int1 a) b (Glsl.int1 c) + + +ivec3wi1wi1i1 : Int -> Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec3 +ivec3wi1wi1i1 a b c = + Glsl.unsafeCall3 "ivec3" [] (Glsl.int1 a) (Glsl.int1 b) c + + +ivec3wi1wi1wi1 : Int -> Int -> Int -> Glsl.Expression Glsl.Vec3 +ivec3wi1wi1wi1 a b c = + Glsl.unsafeCall3 "ivec3" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.int1 c) + + +ivec4i1i1i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +ivec4i1i1i1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a b c d + + +ivec4i1i1i1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +ivec4i1i1i1wi1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a b c (Glsl.int1 d) + + +ivec4i1i1wi1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +ivec4i1i1wi1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a b (Glsl.int1 c) d + + +ivec4i1i1wi1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +ivec4i1i1wi1wi1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a b (Glsl.int1 c) (Glsl.int1 d) + + +ivec4i1wi1i1i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +ivec4i1wi1i1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a (Glsl.int1 b) c d + + +ivec4i1wi1i1wi1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +ivec4i1wi1i1wi1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a (Glsl.int1 b) c (Glsl.int1 d) + + +ivec4i1wi1wi1i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +ivec4i1wi1wi1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a (Glsl.int1 b) (Glsl.int1 c) d + + +ivec4i1wi1wi1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Int -> Int -> Glsl.Expression Glsl.Vec4 +ivec4i1wi1wi1wi1 a b c d = + Glsl.unsafeCall4 "ivec4" [] a (Glsl.int1 b) (Glsl.int1 c) (Glsl.int1 d) + + +ivec4wi1i1i1i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +ivec4wi1i1i1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] (Glsl.int1 a) b c d + + +ivec4wi1i1i1wi1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +ivec4wi1i1i1wi1 a b c d = + Glsl.unsafeCall4 "ivec4" [] (Glsl.int1 a) b c (Glsl.int1 d) + + +ivec4wi1i1wi1i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +ivec4wi1i1wi1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] (Glsl.int1 a) b (Glsl.int1 c) d + + +ivec4wi1i1wi1wi1 : Int -> Glsl.Expression Glsl.Int_ -> Int -> Int -> Glsl.Expression Glsl.Vec4 +ivec4wi1i1wi1wi1 a b c d = + Glsl.unsafeCall4 "ivec4" [] (Glsl.int1 a) b (Glsl.int1 c) (Glsl.int1 d) + + +ivec4wi1wi1i1i1 : + Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +ivec4wi1wi1i1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] (Glsl.int1 a) (Glsl.int1 b) c d + + +ivec4wi1wi1i1wi1 : Int -> Int -> Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Vec4 +ivec4wi1wi1i1wi1 a b c d = + Glsl.unsafeCall4 "ivec4" [] (Glsl.int1 a) (Glsl.int1 b) c (Glsl.int1 d) + + +ivec4wi1wi1wi1i1 : Int -> Int -> Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec4 +ivec4wi1wi1wi1i1 a b c d = + Glsl.unsafeCall4 "ivec4" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.int1 c) d + + +ivec4wi1wi1wi1wi1 : Int -> Int -> Int -> Int -> Glsl.Expression Glsl.Vec4 +ivec4wi1wi1wi1wi1 a b c d = + Glsl.unsafeCall4 + "ivec4" + [] + (Glsl.int1 a) + (Glsl.int1 b) + (Glsl.int1 c) + (Glsl.int1 d) + + +ldexp1i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ +ldexp1i1 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexp1wi1 : Glsl.Expression Glsl.Float_ -> Int -> Glsl.Expression Glsl.Float_ +ldexp1wi1 a b = + Glsl.unsafeCall2 "ldexp" [] a (Glsl.int1 b) + + +ldexp2i2 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.Vec2 +ldexp2i2 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexp3i3 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.Vec3 +ldexp3i3 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexp4i4 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.Vec4 +ldexp4i4 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexpd1i1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Double +ldexpd1i1 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexpd1wi1 : Glsl.Expression Glsl.Double -> Int -> Glsl.Expression Glsl.Double +ldexpd1wi1 a b = + Glsl.unsafeCall2 "ldexp" [] a (Glsl.int1 b) + + +ldexpd2i2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.DVec2 +ldexpd2i2 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexpd3i3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.DVec3 +ldexpd3i3 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexpd4i4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.DVec4 +ldexpd4i4 a b = + Glsl.unsafeCall2 "ldexp" [] a b + + +ldexpfi1 : Float -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Float_ +ldexpfi1 a b = + Glsl.unsafeCall2 "ldexp" [] (Glsl.float1 a) b + + +ldexpfwi1 : Float -> Int -> Glsl.Expression Glsl.Float_ +ldexpfwi1 a b = + Glsl.unsafeCall2 "ldexp" [] (Glsl.float1 a) (Glsl.int1 b) + + +ldexpwd1i1 : Float -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Double +ldexpwd1i1 a b = + Glsl.unsafeCall2 "ldexp" [] (Glsl.double1 a) b + + +ldexpwd1wi1 : Float -> Int -> Glsl.Expression Glsl.Double +ldexpwd1wi1 a b = + Glsl.unsafeCall2 "ldexp" [] (Glsl.double1 a) (Glsl.int1 b) + + +length1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +length1 a = + Glsl.unsafeCall1 "length" [] a + + +length2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Float_ +length2 a = + Glsl.unsafeCall1 "length" [] a + + +length3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Float_ +length3 a = + Glsl.unsafeCall1 "length" [] a + + +length4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Float_ +length4 a = + Glsl.unsafeCall1 "length" [] a + + +lengthd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +lengthd1 a = + Glsl.unsafeCall1 "length" [] a + + +lengthd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.Double +lengthd2 a = + Glsl.unsafeCall1 "length" [] a + + +lengthd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.Double +lengthd3 a = + Glsl.unsafeCall1 "length" [] a + + +lengthd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.Double +lengthd4 a = + Glsl.unsafeCall1 "length" [] a + + +lengthf : Float -> Glsl.Expression Glsl.Float_ +lengthf a = + Glsl.unsafeCall1 "length" [] (Glsl.float1 a) + + +lengthwd1 : Float -> Glsl.Expression Glsl.Double +lengthwd1 a = + Glsl.unsafeCall1 "length" [] (Glsl.double1 a) + + +length : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t Glsl.D1) +length a = + Glsl.unsafeCall1 "length" [] a + + +mat21111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat21111 a b c d = + Glsl.unsafeCall4 "mat2" [] a b c d + + +mat2111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat2 +mat2111f a b c d = + Glsl.unsafeCall4 "mat2" [] a b c (Glsl.float1 d) + + +mat211f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat211f1 a b c d = + Glsl.unsafeCall4 "mat2" [] a b (Glsl.float1 c) d + + +mat211ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat2 +mat211ff a b c d = + Glsl.unsafeCall4 "mat2" [] a b (Glsl.float1 c) (Glsl.float1 d) + + +mat21f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat21f11 a b c d = + Glsl.unsafeCall4 "mat2" [] a (Glsl.float1 b) c d + + +mat21f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat2 +mat21f1f a b c d = + Glsl.unsafeCall4 "mat2" [] a (Glsl.float1 b) c (Glsl.float1 d) + + +mat21ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat21ff1 a b c d = + Glsl.unsafeCall4 "mat2" [] a (Glsl.float1 b) (Glsl.float1 c) d + + +mat21fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat2 +mat21fff a b c d = + Glsl.unsafeCall4 "mat2" [] a (Glsl.float1 b) (Glsl.float1 c) (Glsl.float1 d) + + +mat222 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Mat2 +mat222 a b = + Glsl.unsafeCall2 "mat2" [] a b + + +mat2f111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat2f111 a b c d = + Glsl.unsafeCall4 "mat2" [] (Glsl.float1 a) b c d + + +mat2f11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat2 +mat2f11f a b c d = + Glsl.unsafeCall4 "mat2" [] (Glsl.float1 a) b c (Glsl.float1 d) + + +mat2f1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat2f1f1 a b c d = + Glsl.unsafeCall4 "mat2" [] (Glsl.float1 a) b (Glsl.float1 c) d + + +mat2f1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat2 +mat2f1ff a b c d = + Glsl.unsafeCall4 "mat2" [] (Glsl.float1 a) b (Glsl.float1 c) (Glsl.float1 d) + + +mat2ff11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat2ff11 a b c d = + Glsl.unsafeCall4 "mat2" [] (Glsl.float1 a) (Glsl.float1 b) c d + + +mat2ff1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat2 +mat2ff1f a b c d = + Glsl.unsafeCall4 "mat2" [] (Glsl.float1 a) (Glsl.float1 b) c (Glsl.float1 d) + + +mat2fff1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat2 +mat2fff1 a b c d = + Glsl.unsafeCall4 "mat2" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.float1 c) d + + +mat2ffff : Float -> Float -> Float -> Float -> Glsl.Expression Glsl.Mat2 +mat2ffff a b c d = + Glsl.unsafeCall4 + "mat2" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + + +mat3111111111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111111111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e f g h i + + +mat311111111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311111111f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e f g h (Glsl.float1 i) + + +mat31111111f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111111f1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e f g (Glsl.float1 h) i + + +mat31111111ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111111ff a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e f g (Glsl.float1 h) (Glsl.float1 i) + + +mat3111111f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111111f11 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e f (Glsl.float1 g) h i + + +mat3111111f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111111f1f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e f (Glsl.float1 g) h (Glsl.float1 i) + + +mat3111111ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111111ff1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e f (Glsl.float1 g) (Glsl.float1 h) i + + +mat3111111fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311111f111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311111f111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e (Glsl.float1 f) g h i + + +mat311111f11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311111f11f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e (Glsl.float1 f) g h (Glsl.float1 i) + + +mat311111f1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311111f1f1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e (Glsl.float1 f) g (Glsl.float1 h) i + + +mat311111f1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311111f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311111ff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311111ff11 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d e (Glsl.float1 f) (Glsl.float1 g) h i + + +mat311111ff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311111ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311111fff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311111fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311111ffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311111ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31111f1111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111f1111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d (Glsl.float1 e) f g h i + + +mat31111f111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111f111f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d (Glsl.float1 e) f g h (Glsl.float1 i) + + +mat31111f11f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111f11f1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d (Glsl.float1 e) f g (Glsl.float1 h) i + + +mat31111f11ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31111f1f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111f1f11 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d (Glsl.float1 e) f (Glsl.float1 g) h i + + +mat31111f1f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31111f1ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31111f1fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31111ff111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111ff111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c d (Glsl.float1 e) (Glsl.float1 f) g h i + + +mat31111ff11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31111ff1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31111ff1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31111fff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31111fff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31111ffff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31111ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31111fffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31111fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111f11111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f11111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c (Glsl.float1 d) e f g h i + + +mat3111f1111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f1111f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c (Glsl.float1 d) e f g h (Glsl.float1 i) + + +mat3111f111f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f111f1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c (Glsl.float1 d) e f g (Glsl.float1 h) i + + +mat3111f111ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111f11f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f11f11 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c (Glsl.float1 d) e f (Glsl.float1 g) h i + + +mat3111f11f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3111f11ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3111f11fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111f1f111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f1f111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c (Glsl.float1 d) e (Glsl.float1 f) g h i + + +mat3111f1f11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3111f1f1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3111f1f1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111f1ff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3111f1ff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3111f1fff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111f1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3111f1ffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111f1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111ff1111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111ff1111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b c (Glsl.float1 d) (Glsl.float1 e) f g h i + + +mat3111ff111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111ff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3111ff11f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111ff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3111ff11ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111ff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111ff1f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111ff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3111ff1f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111ff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3111ff1ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111ff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3111ff1fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111ff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111fff111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111fff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3111fff11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111fff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3111fff1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111fff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3111fff1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111fff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3111ffff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111ffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3111ffff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111ffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3111fffff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3111fffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3111ffffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3111ffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f111111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f111111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b (Glsl.float1 c) d e f g h i + + +mat311f11111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f11111f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b (Glsl.float1 c) d e f g h (Glsl.float1 i) + + +mat311f1111f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1111f1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b (Glsl.float1 c) d e f g (Glsl.float1 h) i + + +mat311f1111ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f111f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f111f11 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b (Glsl.float1 c) d e f (Glsl.float1 g) h i + + +mat311f111f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f111f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311f111ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f111ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311f111fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f11f111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f11f111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b (Glsl.float1 c) d e (Glsl.float1 f) g h i + + +mat311f11f11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f11f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat311f11f1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f11f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat311f11f1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f11f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f11ff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f11ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat311f11ff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f11ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311f11fff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f11fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311f11ffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f11ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f1f1111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1f1111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b (Glsl.float1 c) d (Glsl.float1 e) f g h i + + +mat311f1f111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1f111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat311f1f11f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1f11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat311f1f11ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f1f1f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1f1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat311f1f1f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311f1f1ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311f1f1fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f1ff111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1ff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat311f1ff11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat311f1ff1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat311f1ff1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311f1fff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat311f1fff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311f1ffff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311f1ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311f1fffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311f1fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311ff11111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff11111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a b (Glsl.float1 c) (Glsl.float1 d) e f g h i + + +mat311ff1111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff1111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + h + (Glsl.float1 i) + + +mat311ff111f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + i + + +mat311ff111ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311ff11f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff11f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + i + + +mat311ff11f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311ff11ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311ff11fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311ff1f111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff1f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + i + + +mat311ff1f11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat311ff1f1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat311ff1f1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311ff1ff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat311ff1ff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311ff1fff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ff1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311ff1ffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ff1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311fff1111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311fff1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + i + + +mat311fff111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311fff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat311fff11f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311fff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat311fff11ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311fff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311fff1f11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311fff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat311fff1f1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311fff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311fff1ff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311fff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311fff1fff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311fff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311ffff111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ffff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat311ffff11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ffff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat311ffff1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ffff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat311ffff1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311ffff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat311fffff11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311fffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat311fffff1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311fffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat311ffffff1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat311ffffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat311fffffff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat311fffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1111111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1111111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) c d e f g h i + + +mat31f111111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f111111f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) c d e f g h (Glsl.float1 i) + + +mat31f11111f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11111f1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) c d e f g (Glsl.float1 h) i + + +mat31f11111ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1111f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1111f11 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) c d e f (Glsl.float1 g) h i + + +mat31f1111f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1111f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f1111ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1111ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f1111fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f111f111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f111f111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) c d e (Glsl.float1 f) g h i + + +mat31f111f11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f111f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31f111f1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f111f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31f111f1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f111f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f111ff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f111ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31f111ff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f111ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f111fff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f111fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f111ffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f111ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f11f1111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11f1111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) c d (Glsl.float1 e) f g h i + + +mat31f11f111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11f111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat31f11f11f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11f11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat31f11f11ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f11f1f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11f1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat31f11f1f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f11f1ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f11f1fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f11ff111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11ff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat31f11ff11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31f11ff1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31f11ff1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f11fff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31f11fff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f11ffff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f11ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f11fffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f11fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1f11111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f11111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) c (Glsl.float1 d) e f g h i + + +mat31f1f1111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f1111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + g + h + (Glsl.float1 i) + + +mat31f1f111f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + i + + +mat31f1f111ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1f11f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f11f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + i + + +mat31f1f11f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f1f11ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f1f11fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1f1f111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f1f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + i + + +mat31f1f1f11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31f1f1f1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31f1f1f1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1f1ff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31f1f1ff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f1f1fff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1f1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f1f1ffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1f1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1ff1111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1ff1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + i + + +mat31f1ff111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1ff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat31f1ff11f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1ff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat31f1ff11ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1ff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1ff1f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1ff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat31f1ff1f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1ff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f1ff1ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1ff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f1ff1fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1ff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1fff111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1fff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat31f1fff11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1fff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31f1fff1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1fff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31f1fff1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1fff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31f1ffff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1ffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31f1ffff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1ffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31f1fffff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31f1fffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31f1ffffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31f1ffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff111111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff111111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] a (Glsl.float1 b) (Glsl.float1 c) d e f g h i + + +mat31ff11111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff11111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + g + h + (Glsl.float1 i) + + +mat31ff1111f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + g + (Glsl.float1 h) + i + + +mat31ff1111ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff111f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff111f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + h + i + + +mat31ff111f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff111f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31ff111ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff111ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31ff111fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff11f111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff11f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + h + i + + +mat31ff11f11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff11f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31ff11f1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff11f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31ff11f1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff11f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff11ff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff11ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31ff11ff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff11ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31ff11fff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff11fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31ff11ffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff11ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff1f1111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1f1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + h + i + + +mat31ff1f111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1f111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat31ff1f11f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1f11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat31ff1f11ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff1f1f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1f1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat31ff1f1f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31ff1f1ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31ff1f1fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff1ff111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1ff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat31ff1ff11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31ff1ff1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31ff1ff1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ff1fff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31ff1fff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31ff1ffff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ff1ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31ff1fffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ff1fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31fff11111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff11111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + h + i + + +mat31fff1111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff1111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + h + (Glsl.float1 i) + + +mat31fff111f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + i + + +mat31fff111ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31fff11f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff11f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + i + + +mat31fff11f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31fff11ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31fff11fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31fff1f111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff1f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + i + + +mat31fff1f11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31fff1f1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31fff1f1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31fff1ff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31fff1ff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31fff1fff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fff1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31fff1ffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fff1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ffff1111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ffff1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + i + + +mat31ffff111f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ffff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat31ffff11f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ffff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat31ffff11ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ffff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ffff1f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ffff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat31ffff1f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ffff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31ffff1ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ffff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31ffff1fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ffff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31fffff111 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fffff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat31fffff11f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fffff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat31fffff1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fffff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat31fffff1ff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31fffff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat31ffffff11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31ffffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat31ffffff1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ffffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat31fffffff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat31fffffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat31ffffffff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat31ffffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + a + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3333 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Mat3 +mat3333 a b c = + Glsl.unsafeCall3 "mat3" [] a b c + + +mat3f11111111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11111111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b c d e f g h i + + +mat3f1111111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1111111f a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b c d e f g h (Glsl.float1 i) + + +mat3f111111f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111111f1 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b c d e f g (Glsl.float1 h) i + + +mat3f111111ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11111f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11111f11 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b c d e f (Glsl.float1 g) h i + + +mat3f11111f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11111f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f11111ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11111ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f11111fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1111f111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1111f111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b c d e (Glsl.float1 f) g h i + + +mat3f1111f11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1111f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f1111f1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1111f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f1111f1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1111f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1111ff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1111ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f1111ff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1111ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1111fff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1111fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1111ffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1111ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f111f1111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111f1111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b c d (Glsl.float1 e) f g h i + + +mat3f111f111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111f111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3f111f11f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111f11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3f111f11ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f111f1f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111f1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3f111f1f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f111f1ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f111f1fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f111ff111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111ff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3f111ff11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f111ff1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f111ff1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f111fff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f111fff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f111ffff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f111ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f111fffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f111fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11f11111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f11111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b c (Glsl.float1 d) e f g h i + + +mat3f11f1111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f1111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + f + g + h + (Glsl.float1 i) + + +mat3f11f111f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + i + + +mat3f11f111ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11f11f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f11f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + i + + +mat3f11f11f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f11f11ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f11f11fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11f1f111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f1f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + i + + +mat3f11f1f11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f11f1f1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f11f1f1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11f1ff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f11f1ff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f11f1fff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11f1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f11f1ffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11f1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11ff1111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11ff1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + i + + +mat3f11ff111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11ff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3f11ff11f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11ff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3f11ff11ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11ff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11ff1f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11ff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3f11ff1f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11ff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f11ff1ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11ff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f11ff1fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11ff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11fff111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11fff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3f11fff11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11fff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f11fff1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11fff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f11fff1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11fff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f11ffff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11ffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f11ffff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11ffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f11fffff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f11fffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f11ffffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f11ffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f111111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f111111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) b (Glsl.float1 c) d e f g h i + + +mat3f1f11111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f11111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + f + g + h + (Glsl.float1 i) + + +mat3f1f1111f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + f + g + (Glsl.float1 h) + i + + +mat3f1f1111ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f111f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f111f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + h + i + + +mat3f1f111f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f111f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1f111ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f111ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1f111fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f11f111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f11f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + h + i + + +mat3f1f11f11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f11f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f1f11f1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f11f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f1f11f1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f11f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f11ff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f11ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f1f11ff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f11ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1f11fff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f11fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1f11ffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f11ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f1f1111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + h + i + + +mat3f1f1f111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3f1f1f11f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3f1f1f11ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f1f1f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3f1f1f1f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1f1f1ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1f1f1fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f1ff111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1ff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3f1f1ff11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f1f1ff1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f1f1ff1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1f1fff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f1f1fff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1f1ffff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1f1ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1f1fffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1f1fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1ff11111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff11111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + h + i + + +mat3f1ff1111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + h + (Glsl.float1 i) + + +mat3f1ff111f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + i + + +mat3f1ff111ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1ff11f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff11f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + i + + +mat3f1ff11f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1ff11ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1ff11fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1ff1f111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + i + + +mat3f1ff1f11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f1ff1f1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f1ff1f1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1ff1ff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f1ff1ff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1ff1fff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1ff1ffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ff1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1fff1111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1fff1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + i + + +mat3f1fff111f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1fff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3f1fff11f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1fff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3f1fff11ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1fff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1fff1f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1fff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3f1fff1f1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1fff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1fff1ff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1fff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1fff1fff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1fff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1ffff111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ffff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3f1ffff11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ffff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3f1ffff1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ffff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3f1ffff1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1ffff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3f1fffff11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1fffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3f1fffff1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1fffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3f1ffffff1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3f1ffffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3f1fffffff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3f1fffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + b + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1111111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1111111 a b c d e f g h i = + Glsl.unsafeCall9 "mat3" [] (Glsl.float1 a) (Glsl.float1 b) c d e f g h i + + +mat3ff111111f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff111111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + f + g + h + (Glsl.float1 i) + + +mat3ff11111f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + f + g + (Glsl.float1 h) + i + + +mat3ff11111ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1111f11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1111f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + f + (Glsl.float1 g) + h + i + + +mat3ff1111f1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1111f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff1111ff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1111ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff1111fff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff111f111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff111f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + g + h + i + + +mat3ff111f11f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff111f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3ff111f1f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff111f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3ff111f1ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff111f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff111ff11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff111ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3ff111ff1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff111ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff111fff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff111fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff111ffff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff111ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff11f1111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11f1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + g + h + i + + +mat3ff11f111f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11f111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3ff11f11f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11f11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3ff11f11ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff11f1f11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11f1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3ff11f1f1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff11f1ff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff11f1fff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff11ff111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11ff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3ff11ff11f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3ff11ff1f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3ff11ff1ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff11fff11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3ff11fff1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff11ffff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff11ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff11fffff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff11fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1f11111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f11111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + g + h + i + + +mat3ff1f1111f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + g + h + (Glsl.float1 i) + + +mat3ff1f111f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + i + + +mat3ff1f111ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1f11f11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f11f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + i + + +mat3ff1f11f1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff1f11ff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff1f11fff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1f1f111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + i + + +mat3ff1f1f11f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3ff1f1f1f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3ff1f1f1ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1f1ff11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3ff1f1ff1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff1f1fff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff1f1ffff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1f1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1ff1111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + i + + +mat3ff1ff111f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3ff1ff11f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3ff1ff11ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1ff1f11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3ff1ff1f1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff1ff1ff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff1ff1fff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1ff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1fff111 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1fff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3ff1fff11f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1fff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3ff1fff1f1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1fff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3ff1fff1ff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1fff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ff1ffff11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1ffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3ff1ffff1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1ffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ff1fffff1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ff1fffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ff1ffffff : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ff1ffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + c + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff111111 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff111111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + g + h + i + + +mat3fff11111f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff11111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + g + h + (Glsl.float1 i) + + +mat3fff1111f1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + g + (Glsl.float1 h) + i + + +mat3fff1111ff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff111f11 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff111f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + h + i + + +mat3fff111f1f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff111f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3fff111ff1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff111ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3fff111fff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff111fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff11f111 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff11f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + h + i + + +mat3fff11f11f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff11f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3fff11f1f1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff11f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3fff11f1ff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff11f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff11ff11 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff11ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3fff11ff1f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff11ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3fff11fff1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff11fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3fff11ffff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff11ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff1f1111 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1f1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + h + i + + +mat3fff1f111f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1f111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3fff1f11f1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1f11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3fff1f11ff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1f11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff1f1f11 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1f1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3fff1f1f1f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1f1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3fff1f1ff1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1f1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3fff1f1fff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1f1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff1ff111 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1ff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3fff1ff11f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1ff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3fff1ff1f1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1ff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3fff1ff1ff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1ff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fff1fff11 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1fff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3fff1fff1f : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1fff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3fff1ffff1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fff1ffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3fff1fffff : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fff1fffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + d + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ffff11111 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff11111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + h + i + + +mat3ffff1111f : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff1111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + h + (Glsl.float1 i) + + +mat3ffff111f1 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff111f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + i + + +mat3ffff111ff : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff111ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ffff11f11 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff11f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + i + + +mat3ffff11f1f : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff11f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ffff11ff1 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff11ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ffff11fff : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff11fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ffff1f111 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff1f111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + i + + +mat3ffff1f11f : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff1f11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3ffff1f1f1 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff1f1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3ffff1f1ff : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff1f1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ffff1ff11 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff1ff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3ffff1ff1f : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff1ff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ffff1fff1 : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffff1fff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3ffff1ffff : + Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffff1ffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + e + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fffff1111 : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fffff1111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + i + + +mat3fffff111f : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fffff111f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + h + (Glsl.float1 i) + + +mat3fffff11f1 : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fffff11f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + i + + +mat3fffff11ff : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fffff11ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fffff1f11 : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fffff1f11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + i + + +mat3fffff1f1f : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fffff1f1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3fffff1ff1 : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fffff1ff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3fffff1fff : + Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fffff1fff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + f + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3ffffff111 : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffffff111 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + i + + +mat3ffffff11f : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffffff11f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + h + (Glsl.float1 i) + + +mat3ffffff1f1 : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffffff1f1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + i + + +mat3ffffff1ff : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3ffffff1ff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + g + (Glsl.float1 h) + (Glsl.float1 i) + + +mat3fffffff11 : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3fffffff11 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + i + + +mat3fffffff1f : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fffffff1f a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + h + (Glsl.float1 i) + + +mat3ffffffff1 : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Mat3 +mat3ffffffff1 a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + i + + +mat3fffffffff : + Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Mat3 +mat3fffffffff a b c d e f g h i = + Glsl.unsafeCall9 + "mat3" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + (Glsl.float1 e) + (Glsl.float1 f) + (Glsl.float1 g) + (Glsl.float1 h) + (Glsl.float1 i) + + +mat44444 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Mat4 +mat44444 a b c d = + Glsl.unsafeCall4 "mat4" [] a b c d + + +max11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +max11 a b = + Glsl.unsafeCall2 "max" [] a b + + +max1f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +max1f a b = + Glsl.unsafeCall2 "max" [] a (Glsl.float1 b) + + +max21 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +max21 a b = + Glsl.unsafeCall2 "max" [] a b + + +max22 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +max22 a b = + Glsl.unsafeCall2 "max" [] a b + + +max2f : Glsl.Expression Glsl.Vec2 -> Float -> Glsl.Expression Glsl.Vec2 +max2f a b = + Glsl.unsafeCall2 "max" [] a (Glsl.float1 b) + + +max31 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +max31 a b = + Glsl.unsafeCall2 "max" [] a b + + +max33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +max33 a b = + Glsl.unsafeCall2 "max" [] a b + + +max3f : Glsl.Expression Glsl.Vec3 -> Float -> Glsl.Expression Glsl.Vec3 +max3f a b = + Glsl.unsafeCall2 "max" [] a (Glsl.float1 b) + + +max41 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +max41 a b = + Glsl.unsafeCall2 "max" [] a b + + +max44 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +max44 a b = + Glsl.unsafeCall2 "max" [] a b + + +max4f : Glsl.Expression Glsl.Vec4 -> Float -> Glsl.Expression Glsl.Vec4 +max4f a b = + Glsl.unsafeCall2 "max" [] a (Glsl.float1 b) + + +maxd1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +maxd1d1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxd1wd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +maxd1wd1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.double1 b) + + +maxd2d1 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 +maxd2d1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxd2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +maxd2d2 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxd2wd1 : Glsl.Expression Glsl.DVec2 -> Float -> Glsl.Expression Glsl.DVec2 +maxd2wd1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.double1 b) + + +maxd3d1 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 +maxd3d1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxd3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +maxd3d3 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxd3wd1 : Glsl.Expression Glsl.DVec3 -> Float -> Glsl.Expression Glsl.DVec3 +maxd3wd1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.double1 b) + + +maxd4d1 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 +maxd4d1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxd4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +maxd4d4 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxd4wd1 : Glsl.Expression Glsl.DVec4 -> Float -> Glsl.Expression Glsl.DVec4 +maxd4wd1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.double1 b) + + +maxf1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +maxf1 a b = + Glsl.unsafeCall2 "max" [] (Glsl.float1 a) b + + +maxff : Float -> Float -> Glsl.Expression Glsl.Float_ +maxff a b = + Glsl.unsafeCall2 "max" [] (Glsl.float1 a) (Glsl.float1 b) + + +maxi1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ +maxi1i1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxi1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Int_ +maxi1wi1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.int1 b) + + +maxi2i1 : + Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec2 +maxi2i1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxi2i2 : + Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.IVec2 +maxi2i2 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxi2wi1 : Glsl.Expression Glsl.IVec2 -> Int -> Glsl.Expression Glsl.IVec2 +maxi2wi1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.int1 b) + + +maxi3i1 : + Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec3 +maxi3i1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxi3i3 : + Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.IVec3 +maxi3i3 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxi3wi1 : Glsl.Expression Glsl.IVec3 -> Int -> Glsl.Expression Glsl.IVec3 +maxi3wi1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.int1 b) + + +maxi4i1 : + Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec4 +maxi4i1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxi4i4 : + Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.IVec4 +maxi4i4 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxi4wi1 : Glsl.Expression Glsl.IVec4 -> Int -> Glsl.Expression Glsl.IVec4 +maxi4wi1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.int1 b) + + +maxu1u1 : + Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint +maxu1u1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxu1wu1 : Glsl.Expression Glsl.Uint -> Int -> Glsl.Expression Glsl.Uint +maxu1wu1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.uint1 b) + + +maxu2u1 : + Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec2 +maxu2u1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxu2u2 : + Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.UVec2 +maxu2u2 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxu2wu1 : Glsl.Expression Glsl.UVec2 -> Int -> Glsl.Expression Glsl.UVec2 +maxu2wu1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.uint1 b) + + +maxu3u1 : + Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec3 +maxu3u1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxu3u3 : + Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.UVec3 +maxu3u3 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxu3wu1 : Glsl.Expression Glsl.UVec3 -> Int -> Glsl.Expression Glsl.UVec3 +maxu3wu1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.uint1 b) + + +maxu4u1 : + Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec4 +maxu4u1 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxu4u4 : + Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.UVec4 +maxu4u4 a b = + Glsl.unsafeCall2 "max" [] a b + + +maxu4wu1 : Glsl.Expression Glsl.UVec4 -> Int -> Glsl.Expression Glsl.UVec4 +maxu4wu1 a b = + Glsl.unsafeCall2 "max" [] a (Glsl.uint1 b) + + +maxwd1d1 : Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +maxwd1d1 a b = + Glsl.unsafeCall2 "max" [] (Glsl.double1 a) b + + +maxwd1wd1 : Float -> Float -> Glsl.Expression Glsl.Double +maxwd1wd1 a b = + Glsl.unsafeCall2 "max" [] (Glsl.double1 a) (Glsl.double1 b) + + +maxwi1i1 : Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Int_ +maxwi1i1 a b = + Glsl.unsafeCall2 "max" [] (Glsl.int1 a) b + + +maxwi1wi1 : Int -> Int -> Glsl.Expression Glsl.Int_ +maxwi1wi1 a b = + Glsl.unsafeCall2 "max" [] (Glsl.int1 a) (Glsl.int1 b) + + +maxwu1u1 : Int -> Glsl.Expression Glsl.Uint -> Glsl.Expression Glsl.Uint +maxwu1u1 a b = + Glsl.unsafeCall2 "max" [] (Glsl.uint1 a) b + + +maxwu1wu1 : Int -> Int -> Glsl.Expression Glsl.Uint +maxwu1wu1 a b = + Glsl.unsafeCall2 "max" [] (Glsl.uint1 a) (Glsl.uint1 b) + + +min11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +min11 a b = + Glsl.unsafeCall2 "min" [] a b + + +min1f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +min1f a b = + Glsl.unsafeCall2 "min" [] a (Glsl.float1 b) + + +min21 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +min21 a b = + Glsl.unsafeCall2 "min" [] a b + + +min22 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +min22 a b = + Glsl.unsafeCall2 "min" [] a b + + +min2f : Glsl.Expression Glsl.Vec2 -> Float -> Glsl.Expression Glsl.Vec2 +min2f a b = + Glsl.unsafeCall2 "min" [] a (Glsl.float1 b) + + +min31 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +min31 a b = + Glsl.unsafeCall2 "min" [] a b + + +min33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +min33 a b = + Glsl.unsafeCall2 "min" [] a b + + +min3f : Glsl.Expression Glsl.Vec3 -> Float -> Glsl.Expression Glsl.Vec3 +min3f a b = + Glsl.unsafeCall2 "min" [] a (Glsl.float1 b) + + +min41 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +min41 a b = + Glsl.unsafeCall2 "min" [] a b + + +min44 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +min44 a b = + Glsl.unsafeCall2 "min" [] a b + + +min4f : Glsl.Expression Glsl.Vec4 -> Float -> Glsl.Expression Glsl.Vec4 +min4f a b = + Glsl.unsafeCall2 "min" [] a (Glsl.float1 b) + + +mind1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +mind1d1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mind1wd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +mind1wd1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.double1 b) + + +mind2d1 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 +mind2d1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mind2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +mind2d2 a b = + Glsl.unsafeCall2 "min" [] a b + + +mind2wd1 : Glsl.Expression Glsl.DVec2 -> Float -> Glsl.Expression Glsl.DVec2 +mind2wd1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.double1 b) + + +mind3d1 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 +mind3d1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mind3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +mind3d3 a b = + Glsl.unsafeCall2 "min" [] a b + + +mind3wd1 : Glsl.Expression Glsl.DVec3 -> Float -> Glsl.Expression Glsl.DVec3 +mind3wd1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.double1 b) + + +mind4d1 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 +mind4d1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mind4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +mind4d4 a b = + Glsl.unsafeCall2 "min" [] a b + + +mind4wd1 : Glsl.Expression Glsl.DVec4 -> Float -> Glsl.Expression Glsl.DVec4 +mind4wd1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.double1 b) + + +minf1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +minf1 a b = + Glsl.unsafeCall2 "min" [] (Glsl.float1 a) b + + +minff : Float -> Float -> Glsl.Expression Glsl.Float_ +minff a b = + Glsl.unsafeCall2 "min" [] (Glsl.float1 a) (Glsl.float1 b) + + +mini1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ +mini1i1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mini1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Int_ +mini1wi1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.int1 b) + + +mini2i1 : + Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec2 +mini2i1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mini2i2 : + Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.IVec2 + -> Glsl.Expression Glsl.IVec2 +mini2i2 a b = + Glsl.unsafeCall2 "min" [] a b + + +mini2wi1 : Glsl.Expression Glsl.IVec2 -> Int -> Glsl.Expression Glsl.IVec2 +mini2wi1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.int1 b) + + +mini3i1 : + Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec3 +mini3i1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mini3i3 : + Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.IVec3 + -> Glsl.Expression Glsl.IVec3 +mini3i3 a b = + Glsl.unsafeCall2 "min" [] a b + + +mini3wi1 : Glsl.Expression Glsl.IVec3 -> Int -> Glsl.Expression Glsl.IVec3 +mini3wi1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.int1 b) + + +mini4i1 : + Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.IVec4 +mini4i1 a b = + Glsl.unsafeCall2 "min" [] a b + + +mini4i4 : + Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.IVec4 + -> Glsl.Expression Glsl.IVec4 +mini4i4 a b = + Glsl.unsafeCall2 "min" [] a b + + +mini4wi1 : Glsl.Expression Glsl.IVec4 -> Int -> Glsl.Expression Glsl.IVec4 +mini4wi1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.int1 b) + + +minu1u1 : + Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.Uint +minu1u1 a b = + Glsl.unsafeCall2 "min" [] a b + + +minu1wu1 : Glsl.Expression Glsl.Uint -> Int -> Glsl.Expression Glsl.Uint +minu1wu1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.uint1 b) + + +minu2u1 : + Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec2 +minu2u1 a b = + Glsl.unsafeCall2 "min" [] a b + + +minu2u2 : + Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.UVec2 + -> Glsl.Expression Glsl.UVec2 +minu2u2 a b = + Glsl.unsafeCall2 "min" [] a b + + +minu2wu1 : Glsl.Expression Glsl.UVec2 -> Int -> Glsl.Expression Glsl.UVec2 +minu2wu1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.uint1 b) + + +minu3u1 : + Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec3 +minu3u1 a b = + Glsl.unsafeCall2 "min" [] a b + + +minu3u3 : + Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.UVec3 + -> Glsl.Expression Glsl.UVec3 +minu3u3 a b = + Glsl.unsafeCall2 "min" [] a b + + +minu3wu1 : Glsl.Expression Glsl.UVec3 -> Int -> Glsl.Expression Glsl.UVec3 +minu3wu1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.uint1 b) + + +minu4u1 : + Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.Uint + -> Glsl.Expression Glsl.UVec4 +minu4u1 a b = + Glsl.unsafeCall2 "min" [] a b + + +minu4u4 : + Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.UVec4 + -> Glsl.Expression Glsl.UVec4 +minu4u4 a b = + Glsl.unsafeCall2 "min" [] a b + + +minu4wu1 : Glsl.Expression Glsl.UVec4 -> Int -> Glsl.Expression Glsl.UVec4 +minu4wu1 a b = + Glsl.unsafeCall2 "min" [] a (Glsl.uint1 b) + + +minwd1d1 : Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +minwd1d1 a b = + Glsl.unsafeCall2 "min" [] (Glsl.double1 a) b + + +minwd1wd1 : Float -> Float -> Glsl.Expression Glsl.Double +minwd1wd1 a b = + Glsl.unsafeCall2 "min" [] (Glsl.double1 a) (Glsl.double1 b) + + +minwi1i1 : Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Int_ +minwi1i1 a b = + Glsl.unsafeCall2 "min" [] (Glsl.int1 a) b + + +minwi1wi1 : Int -> Int -> Glsl.Expression Glsl.Int_ +minwi1wi1 a b = + Glsl.unsafeCall2 "min" [] (Glsl.int1 a) (Glsl.int1 b) + + +minwu1u1 : Int -> Glsl.Expression Glsl.Uint -> Glsl.Expression Glsl.Uint +minwu1u1 a b = + Glsl.unsafeCall2 "min" [] (Glsl.uint1 a) b + + +minwu1wu1 : Int -> Int -> Glsl.Expression Glsl.Uint +minwu1wu1 a b = + Glsl.unsafeCall2 "min" [] (Glsl.uint1 a) (Glsl.uint1 b) + + +mix111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +mix111 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mix11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ +mix11f a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.float1 c) + + +mix1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +mix1f1 a b c = + Glsl.unsafeCall3 "mix" [] a (Glsl.float1 b) c + + +mix1ff : Glsl.Expression Glsl.Float_ -> Float -> Float -> Glsl.Expression Glsl.Float_ +mix1ff a b c = + Glsl.unsafeCall3 "mix" [] a (Glsl.float1 b) (Glsl.float1 c) + + +mix221 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +mix221 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mix222 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +mix222 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mix22f : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Float + -> Glsl.Expression Glsl.Vec2 +mix22f a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.float1 c) + + +mix331 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +mix331 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mix333 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +mix333 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mix33f : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Float + -> Glsl.Expression Glsl.Vec3 +mix33f a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.float1 c) + + +mix441 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +mix441 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mix444 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +mix444 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mix44f : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Float + -> Glsl.Expression Glsl.Vec4 +mix44f a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.float1 c) + + +mixd1d1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +mixd1d1d1 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mixd1d1wd1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double +mixd1d1wd1 a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.double1 c) + + +mixd1wd1d1 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +mixd1wd1d1 a b c = + Glsl.unsafeCall3 "mix" [] a (Glsl.double1 b) c + + +mixd1wd1wd1 : Glsl.Expression Glsl.Double -> Float -> Float -> Glsl.Expression Glsl.Double +mixd1wd1wd1 a b c = + Glsl.unsafeCall3 "mix" [] a (Glsl.double1 b) (Glsl.double1 c) + + +mixd2d2d1 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 +mixd2d2d1 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mixd2d2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +mixd2d2d2 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mixd2d2wd1 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Float + -> Glsl.Expression Glsl.DVec2 +mixd2d2wd1 a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.double1 c) + + +mixd3d3d1 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 +mixd3d3d1 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mixd3d3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +mixd3d3d3 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mixd3d3wd1 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Float + -> Glsl.Expression Glsl.DVec3 +mixd3d3wd1 a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.double1 c) + + +mixd4d4d1 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 +mixd4d4d1 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mixd4d4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +mixd4d4d4 a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mixd4d4wd1 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Float + -> Glsl.Expression Glsl.DVec4 +mixd4d4wd1 a b c = + Glsl.unsafeCall3 "mix" [] a b (Glsl.double1 c) + + +mixf11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +mixf11 a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.float1 a) b c + + +mixf1f : Float -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +mixf1f a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.float1 a) b (Glsl.float1 c) + + +mixff1 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +mixff1 a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.float1 a) (Glsl.float1 b) c + + +mixfff : Float -> Float -> Float -> Glsl.Expression Glsl.Float_ +mixfff a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.float1 c) + + +mixwd1d1d1 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +mixwd1d1d1 a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.double1 a) b c + + +mixwd1d1wd1 : Float -> Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +mixwd1d1wd1 a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.double1 a) b (Glsl.double1 c) + + +mixwd1wd1d1 : Float -> Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +mixwd1wd1d1 a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.double1 a) (Glsl.double1 b) c + + +mixwd1wd1wd1 : Float -> Float -> Float -> Glsl.Expression Glsl.Double +mixwd1wd1wd1 a b c = + Glsl.unsafeCall3 "mix" [] (Glsl.double1 a) (Glsl.double1 b) (Glsl.double1 c) + + +mix : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +mix a b c = + Glsl.unsafeCall3 "mix" [] a b c + + +mod11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +mod11 a b = + Glsl.unsafeCall2 "mod" [] a b + + +mod1f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +mod1f a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.float1 b) + + +mod21 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +mod21 a b = + Glsl.unsafeCall2 "mod" [] a b + + +mod22 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +mod22 a b = + Glsl.unsafeCall2 "mod" [] a b + + +mod2f : Glsl.Expression Glsl.Vec2 -> Float -> Glsl.Expression Glsl.Vec2 +mod2f a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.float1 b) + + +mod31 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +mod31 a b = + Glsl.unsafeCall2 "mod" [] a b + + +mod33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +mod33 a b = + Glsl.unsafeCall2 "mod" [] a b + + +mod3f : Glsl.Expression Glsl.Vec3 -> Float -> Glsl.Expression Glsl.Vec3 +mod3f a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.float1 b) + + +mod41 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +mod41 a b = + Glsl.unsafeCall2 "mod" [] a b + + +mod44 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +mod44 a b = + Glsl.unsafeCall2 "mod" [] a b + + +mod4f : Glsl.Expression Glsl.Vec4 -> Float -> Glsl.Expression Glsl.Vec4 +mod4f a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.float1 b) + + +modd1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +modd1d1 a b = + Glsl.unsafeCall2 "mod" [] a b + + +modd1wd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +modd1wd1 a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.double1 b) + + +modd2d1 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 +modd2d1 a b = + Glsl.unsafeCall2 "mod" [] a b + + +modd2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +modd2d2 a b = + Glsl.unsafeCall2 "mod" [] a b + + +modd2wd1 : Glsl.Expression Glsl.DVec2 -> Float -> Glsl.Expression Glsl.DVec2 +modd2wd1 a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.double1 b) + + +modd3d1 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 +modd3d1 a b = + Glsl.unsafeCall2 "mod" [] a b + + +modd3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +modd3d3 a b = + Glsl.unsafeCall2 "mod" [] a b + + +modd3wd1 : Glsl.Expression Glsl.DVec3 -> Float -> Glsl.Expression Glsl.DVec3 +modd3wd1 a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.double1 b) + + +modd4d1 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 +modd4d1 a b = + Glsl.unsafeCall2 "mod" [] a b + + +modd4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +modd4d4 a b = + Glsl.unsafeCall2 "mod" [] a b + + +modd4wd1 : Glsl.Expression Glsl.DVec4 -> Float -> Glsl.Expression Glsl.DVec4 +modd4wd1 a b = + Glsl.unsafeCall2 "mod" [] a (Glsl.double1 b) + + +modf1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +modf1 a b = + Glsl.unsafeCall2 "mod" [] (Glsl.float1 a) b + + +modff : Float -> Float -> Glsl.Expression Glsl.Float_ +modff a b = + Glsl.unsafeCall2 "mod" [] (Glsl.float1 a) (Glsl.float1 b) + + +modwd1d1 : Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +modwd1d1 a b = + Glsl.unsafeCall2 "mod" [] (Glsl.double1 a) b + + +modwd1wd1 : Float -> Float -> Glsl.Expression Glsl.Double +modwd1wd1 a b = + Glsl.unsafeCall2 "mod" [] (Glsl.double1 a) (Glsl.double1 b) + + +mod : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +mod a b = + Glsl.unsafeCall2 "mod" [] a b + + +modf1o1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression (Glsl.Out Glsl.Float_) + -> Glsl.Expression Glsl.Float_ +modf1o1 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modf1of : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +modf1of a b = + Glsl.unsafeCall2 "modf" [] a (Glsl.float1 b) + + +modf2o2 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression (Glsl.Out Glsl.Vec2) + -> Glsl.Expression Glsl.Vec2 +modf2o2 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modf3o3 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression (Glsl.Out Glsl.Vec3) + -> Glsl.Expression Glsl.Vec3 +modf3o3 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modf4o4 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression (Glsl.Out Glsl.Vec4) + -> Glsl.Expression Glsl.Vec4 +modf4o4 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modfd1od1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression (Glsl.Out Glsl.Double) + -> Glsl.Expression Glsl.Double +modfd1od1 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modfd1owd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +modfd1owd1 a b = + Glsl.unsafeCall2 "modf" [] a (Glsl.double1 b) + + +modfd2od2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression (Glsl.Out Glsl.DVec2) + -> Glsl.Expression Glsl.DVec2 +modfd2od2 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modfd3od3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression (Glsl.Out Glsl.DVec3) + -> Glsl.Expression Glsl.DVec3 +modfd3od3 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modfd4od4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression (Glsl.Out Glsl.DVec4) + -> Glsl.Expression Glsl.DVec4 +modfd4od4 a b = + Glsl.unsafeCall2 "modf" [] a b + + +modffo1 : + Float + -> Glsl.Expression (Glsl.Out Glsl.Float_) + -> Glsl.Expression Glsl.Float_ +modffo1 a b = + Glsl.unsafeCall2 "modf" [] (Glsl.float1 a) b + + +modffof : Float -> Float -> Glsl.Expression Glsl.Float_ +modffof a b = + Glsl.unsafeCall2 "modf" [] (Glsl.float1 a) (Glsl.float1 b) + + +modfwd1od1 : + Float + -> Glsl.Expression (Glsl.Out Glsl.Double) + -> Glsl.Expression Glsl.Double +modfwd1od1 a b = + Glsl.unsafeCall2 "modf" [] (Glsl.double1 a) b + + +modfwd1owd1 : Float -> Float -> Glsl.Expression Glsl.Double +modfwd1owd1 a b = + Glsl.unsafeCall2 "modf" [] (Glsl.double1 a) (Glsl.double1 b) + + +modf : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Out (Glsl.Vec t a)) + -> Glsl.Expression (Glsl.Vec t a) +modf a b = + Glsl.unsafeCall2 "modf" [] a b + + +normalize1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +normalize1 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalize2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +normalize2 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalize3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +normalize3 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalize4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +normalize4 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalized1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +normalized1 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalized2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +normalized2 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalized3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +normalized3 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalized4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +normalized4 a = + Glsl.unsafeCall1 "normalize" [] a + + +normalizef : Float -> Glsl.Expression Glsl.Float_ +normalizef a = + Glsl.unsafeCall1 "normalize" [] (Glsl.float1 a) + + +normalizewd1 : Float -> Glsl.Expression Glsl.Double +normalizewd1 a = + Glsl.unsafeCall1 "normalize" [] (Glsl.double1 a) + + +normalize : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +normalize a = + Glsl.unsafeCall1 "normalize" [] a + + +reflect11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +reflect11 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflect1f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +reflect1f a b = + Glsl.unsafeCall2 "reflect" [] a (Glsl.float1 b) + + +reflect22 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +reflect22 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflect33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +reflect33 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflect44 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +reflect44 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflectd1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +reflectd1d1 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflectd1wd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +reflectd1wd1 a b = + Glsl.unsafeCall2 "reflect" [] a (Glsl.double1 b) + + +reflectd2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +reflectd2d2 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflectd3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +reflectd3d3 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflectd4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +reflectd4d4 a b = + Glsl.unsafeCall2 "reflect" [] a b + + +reflectf1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +reflectf1 a b = + Glsl.unsafeCall2 "reflect" [] (Glsl.float1 a) b + + +reflectff : Float -> Float -> Glsl.Expression Glsl.Float_ +reflectff a b = + Glsl.unsafeCall2 "reflect" [] (Glsl.float1 a) (Glsl.float1 b) + + +reflectwd1d1 : Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +reflectwd1d1 a b = + Glsl.unsafeCall2 "reflect" [] (Glsl.double1 a) b + + +reflectwd1wd1 : Float -> Float -> Glsl.Expression Glsl.Double +reflectwd1wd1 a b = + Glsl.unsafeCall2 "reflect" [] (Glsl.double1 a) (Glsl.double1 b) + + +reflect : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +reflect a b = + Glsl.unsafeCall2 "reflect" [] a b + + +refract111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +refract111 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refract11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ +refract11f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refract1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +refract1f1 a b c = + Glsl.unsafeCall3 "refract" [] a (Glsl.float1 b) c + + +refract1ff : Glsl.Expression Glsl.Float_ -> Float -> Float -> Glsl.Expression Glsl.Float_ +refract1ff a b c = + Glsl.unsafeCall3 "refract" [] a (Glsl.float1 b) (Glsl.float1 c) + + +refract221 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +refract221 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refract22f : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Float + -> Glsl.Expression Glsl.Vec2 +refract22f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refract331 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +refract331 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refract33f : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Float + -> Glsl.Expression Glsl.Vec3 +refract33f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refract441 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +refract441 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refract44f : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Float + -> Glsl.Expression Glsl.Vec4 +refract44f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refractd1d11 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Double +refractd1d11 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refractd1d1f : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double +refractd1d1f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refractd1wd11 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Double +refractd1wd11 a b c = + Glsl.unsafeCall3 "refract" [] a (Glsl.double1 b) c + + +refractd1wd1f : Glsl.Expression Glsl.Double -> Float -> Float -> Glsl.Expression Glsl.Double +refractd1wd1f a b c = + Glsl.unsafeCall3 "refract" [] a (Glsl.double1 b) (Glsl.float1 c) + + +refractd2d21 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.DVec2 +refractd2d21 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refractd2d2f : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Float + -> Glsl.Expression Glsl.DVec2 +refractd2d2f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refractd3d31 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.DVec3 +refractd3d31 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refractd3d3f : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Float + -> Glsl.Expression Glsl.DVec3 +refractd3d3f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refractd4d41 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.DVec4 +refractd4d41 a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +refractd4d4f : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Float + -> Glsl.Expression Glsl.DVec4 +refractd4d4f a b c = + Glsl.unsafeCall3 "refract" [] a b (Glsl.float1 c) + + +refractf11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +refractf11 a b c = + Glsl.unsafeCall3 "refract" [] (Glsl.float1 a) b c + + +refractf1f : Float -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +refractf1f a b c = + Glsl.unsafeCall3 "refract" [] (Glsl.float1 a) b (Glsl.float1 c) + + +refractff1 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +refractff1 a b c = + Glsl.unsafeCall3 "refract" [] (Glsl.float1 a) (Glsl.float1 b) c + + +refractfff : Float -> Float -> Float -> Glsl.Expression Glsl.Float_ +refractfff a b c = + Glsl.unsafeCall3 + "refract" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + + +refractwd1d11 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Double +refractwd1d11 a b c = + Glsl.unsafeCall3 "refract" [] (Glsl.double1 a) b c + + +refractwd1d1f : Float -> Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +refractwd1d1f a b c = + Glsl.unsafeCall3 "refract" [] (Glsl.double1 a) b (Glsl.float1 c) + + +refractwd1wd11 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Double +refractwd1wd11 a b c = + Glsl.unsafeCall3 "refract" [] (Glsl.double1 a) (Glsl.double1 b) c + + +refractwd1wd1f : Float -> Float -> Float -> Glsl.Expression Glsl.Double +refractwd1wd1f a b c = + Glsl.unsafeCall3 + "refract" + [] + (Glsl.double1 a) + (Glsl.double1 b) + (Glsl.float1 c) + + +refract : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec Float Glsl.D1) + -> Glsl.Expression (Glsl.Vec t a) +refract a b c = + Glsl.unsafeCall3 "refract" [] a b c + + +round1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +round1 a = + Glsl.unsafeCall1 "round" [] a + + +round2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +round2 a = + Glsl.unsafeCall1 "round" [] a + + +round3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +round3 a = + Glsl.unsafeCall1 "round" [] a + + +round4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +round4 a = + Glsl.unsafeCall1 "round" [] a + + +roundd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +roundd1 a = + Glsl.unsafeCall1 "round" [] a + + +roundd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +roundd2 a = + Glsl.unsafeCall1 "round" [] a + + +roundd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +roundd3 a = + Glsl.unsafeCall1 "round" [] a + + +roundd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +roundd4 a = + Glsl.unsafeCall1 "round" [] a + + +roundf : Float -> Glsl.Expression Glsl.Float_ +roundf a = + Glsl.unsafeCall1 "round" [] (Glsl.float1 a) + + +roundwd1 : Float -> Glsl.Expression Glsl.Double +roundwd1 a = + Glsl.unsafeCall1 "round" [] (Glsl.double1 a) + + +roundEven1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +roundEven1 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEven2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +roundEven2 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEven3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +roundEven3 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEven4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +roundEven4 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEvend1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +roundEvend1 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEvend2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +roundEvend2 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEvend3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +roundEvend3 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEvend4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +roundEvend4 a = + Glsl.unsafeCall1 "roundEven" [] a + + +roundEvenf : Float -> Glsl.Expression Glsl.Float_ +roundEvenf a = + Glsl.unsafeCall1 "roundEven" [] (Glsl.float1 a) + + +roundEvenwd1 : Float -> Glsl.Expression Glsl.Double +roundEvenwd1 a = + Glsl.unsafeCall1 "roundEven" [] (Glsl.double1 a) + + +roundEven : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +roundEven a = + Glsl.unsafeCall1 "roundEven" [] a + + +sign1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +sign1 a = + Glsl.unsafeCall1 "sign" [] a + + +sign2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +sign2 a = + Glsl.unsafeCall1 "sign" [] a + + +sign3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +sign3 a = + Glsl.unsafeCall1 "sign" [] a + + +sign4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +sign4 a = + Glsl.unsafeCall1 "sign" [] a + + +signd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +signd1 a = + Glsl.unsafeCall1 "sign" [] a + + +signd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +signd2 a = + Glsl.unsafeCall1 "sign" [] a + + +signd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +signd3 a = + Glsl.unsafeCall1 "sign" [] a + + +signd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +signd4 a = + Glsl.unsafeCall1 "sign" [] a + + +signf : Float -> Glsl.Expression Glsl.Float_ +signf a = + Glsl.unsafeCall1 "sign" [] (Glsl.float1 a) + + +signi1 : Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Int_ +signi1 a = + Glsl.unsafeCall1 "sign" [] a + + +signi2 : Glsl.Expression Glsl.IVec2 -> Glsl.Expression Glsl.IVec2 +signi2 a = + Glsl.unsafeCall1 "sign" [] a + + +signi3 : Glsl.Expression Glsl.IVec3 -> Glsl.Expression Glsl.IVec3 +signi3 a = + Glsl.unsafeCall1 "sign" [] a + + +signi4 : Glsl.Expression Glsl.IVec4 -> Glsl.Expression Glsl.IVec4 +signi4 a = + Glsl.unsafeCall1 "sign" [] a + + +signwd1 : Float -> Glsl.Expression Glsl.Double +signwd1 a = + Glsl.unsafeCall1 "sign" [] (Glsl.double1 a) + + +signwi1 : Int -> Glsl.Expression Glsl.Int_ +signwi1 a = + Glsl.unsafeCall1 "sign" [] (Glsl.int1 a) + + +sign : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +sign a = + Glsl.unsafeCall1 "sign" [] a + + +smoothstep111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +smoothstep111 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstep112 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +smoothstep112 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstep113 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +smoothstep113 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstep114 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +smoothstep114 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstep11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ +smoothstep11f a b c = + Glsl.unsafeCall3 "smoothstep" [] a b (Glsl.float1 c) + + +smoothstep1f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +smoothstep1f1 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.float1 b) c + + +smoothstep1f2 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +smoothstep1f2 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.float1 b) c + + +smoothstep1f3 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +smoothstep1f3 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.float1 b) c + + +smoothstep1f4 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +smoothstep1f4 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.float1 b) c + + +smoothstep1ff : Glsl.Expression Glsl.Float_ -> Float -> Float -> Glsl.Expression Glsl.Float_ +smoothstep1ff a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.float1 b) (Glsl.float1 c) + + +smoothstep222 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +smoothstep222 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstep333 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +smoothstep333 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstep444 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +smoothstep444 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepd1d1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +smoothstepd1d1d1 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepd1d1d2 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +smoothstepd1d1d2 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepd1d1d3 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +smoothstepd1d1d3 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepd1d1d4 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +smoothstepd1d1d4 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepd1d1wd1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double +smoothstepd1d1wd1 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b (Glsl.double1 c) + + +smoothstepd1wd1d1 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +smoothstepd1wd1d1 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.double1 b) c + + +smoothstepd1wd1d2 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +smoothstepd1wd1d2 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.double1 b) c + + +smoothstepd1wd1d3 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +smoothstepd1wd1d3 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.double1 b) c + + +smoothstepd1wd1d4 : + Glsl.Expression Glsl.Double + -> Float + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +smoothstepd1wd1d4 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.double1 b) c + + +smoothstepd1wd1wd1 : Glsl.Expression Glsl.Double -> Float -> Float -> Glsl.Expression Glsl.Double +smoothstepd1wd1wd1 a b c = + Glsl.unsafeCall3 "smoothstep" [] a (Glsl.double1 b) (Glsl.double1 c) + + +smoothstepd2d2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +smoothstepd2d2d2 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepd3d3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +smoothstepd3d3d3 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepd4d4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +smoothstepd4d4d4 a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +smoothstepf11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +smoothstepf11 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) b c + + +smoothstepf12 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +smoothstepf12 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) b c + + +smoothstepf13 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +smoothstepf13 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) b c + + +smoothstepf14 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +smoothstepf14 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) b c + + +smoothstepf1f : Float -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +smoothstepf1f a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) b (Glsl.float1 c) + + +smoothstepff1 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +smoothstepff1 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) (Glsl.float1 b) c + + +smoothstepff2 : Float -> Float -> Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +smoothstepff2 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) (Glsl.float1 b) c + + +smoothstepff3 : Float -> Float -> Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +smoothstepff3 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) (Glsl.float1 b) c + + +smoothstepff4 : Float -> Float -> Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +smoothstepff4 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.float1 a) (Glsl.float1 b) c + + +smoothstepfff : Float -> Float -> Float -> Glsl.Expression Glsl.Float_ +smoothstepfff a b c = + Glsl.unsafeCall3 + "smoothstep" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + + +smoothstepwd1d1d1 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +smoothstepwd1d1d1 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) b c + + +smoothstepwd1d1d2 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +smoothstepwd1d1d2 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) b c + + +smoothstepwd1d1d3 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +smoothstepwd1d1d3 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) b c + + +smoothstepwd1d1d4 : + Float + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +smoothstepwd1d1d4 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) b c + + +smoothstepwd1d1wd1 : Float -> Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +smoothstepwd1d1wd1 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) b (Glsl.double1 c) + + +smoothstepwd1wd1d1 : Float -> Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +smoothstepwd1wd1d1 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) (Glsl.double1 b) c + + +smoothstepwd1wd1d2 : Float -> Float -> Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +smoothstepwd1wd1d2 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) (Glsl.double1 b) c + + +smoothstepwd1wd1d3 : Float -> Float -> Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +smoothstepwd1wd1d3 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) (Glsl.double1 b) c + + +smoothstepwd1wd1d4 : Float -> Float -> Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +smoothstepwd1wd1d4 a b c = + Glsl.unsafeCall3 "smoothstep" [] (Glsl.double1 a) (Glsl.double1 b) c + + +smoothstepwd1wd1wd1 : Float -> Float -> Float -> Glsl.Expression Glsl.Double +smoothstepwd1wd1wd1 a b c = + Glsl.unsafeCall3 + "smoothstep" + [] + (Glsl.double1 a) + (Glsl.double1 b) + (Glsl.double1 c) + + +smoothstep : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +smoothstep a b c = + Glsl.unsafeCall3 "smoothstep" [] a b c + + +sqrt1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +sqrt1 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrt2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +sqrt2 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrt3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +sqrt3 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrt4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +sqrt4 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrtd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +sqrtd1 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrtd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +sqrtd2 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrtd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +sqrtd3 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrtd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +sqrtd4 a = + Glsl.unsafeCall1 "sqrt" [] a + + +sqrtf : Float -> Glsl.Expression Glsl.Float_ +sqrtf a = + Glsl.unsafeCall1 "sqrt" [] (Glsl.float1 a) + + +sqrtwd1 : Float -> Glsl.Expression Glsl.Double +sqrtwd1 a = + Glsl.unsafeCall1 "sqrt" [] (Glsl.double1 a) + + +step11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ +step11 a b = + Glsl.unsafeCall2 "step" [] a b + + +step12 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +step12 a b = + Glsl.unsafeCall2 "step" [] a b + + +step13 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +step13 a b = + Glsl.unsafeCall2 "step" [] a b + + +step14 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +step14 a b = + Glsl.unsafeCall2 "step" [] a b + + +step1f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Float_ +step1f a b = + Glsl.unsafeCall2 "step" [] a (Glsl.float1 b) + + +step22 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 +step22 a b = + Glsl.unsafeCall2 "step" [] a b + + +step33 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec3 +step33 a b = + Glsl.unsafeCall2 "step" [] a b + + +step44 : + Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 + -> Glsl.Expression Glsl.Vec4 +step44 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepd1d1 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.Double +stepd1d1 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepd1d2 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +stepd1d2 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepd1d3 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +stepd1d3 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepd1d4 : + Glsl.Expression Glsl.Double + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +stepd1d4 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepd1wd1 : Glsl.Expression Glsl.Double -> Float -> Glsl.Expression Glsl.Double +stepd1wd1 a b = + Glsl.unsafeCall2 "step" [] a (Glsl.double1 b) + + +stepd2d2 : + Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 + -> Glsl.Expression Glsl.DVec2 +stepd2d2 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepd3d3 : + Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 + -> Glsl.Expression Glsl.DVec3 +stepd3d3 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepd4d4 : + Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 + -> Glsl.Expression Glsl.DVec4 +stepd4d4 a b = + Glsl.unsafeCall2 "step" [] a b + + +stepf1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +stepf1 a b = + Glsl.unsafeCall2 "step" [] (Glsl.float1 a) b + + +stepf2 : Float -> Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +stepf2 a b = + Glsl.unsafeCall2 "step" [] (Glsl.float1 a) b + + +stepf3 : Float -> Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +stepf3 a b = + Glsl.unsafeCall2 "step" [] (Glsl.float1 a) b + + +stepf4 : Float -> Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +stepf4 a b = + Glsl.unsafeCall2 "step" [] (Glsl.float1 a) b + + +stepff : Float -> Float -> Glsl.Expression Glsl.Float_ +stepff a b = + Glsl.unsafeCall2 "step" [] (Glsl.float1 a) (Glsl.float1 b) + + +stepwd1d1 : Float -> Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +stepwd1d1 a b = + Glsl.unsafeCall2 "step" [] (Glsl.double1 a) b + + +stepwd1d2 : Float -> Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +stepwd1d2 a b = + Glsl.unsafeCall2 "step" [] (Glsl.double1 a) b + + +stepwd1d3 : Float -> Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +stepwd1d3 a b = + Glsl.unsafeCall2 "step" [] (Glsl.double1 a) b + + +stepwd1d4 : Float -> Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +stepwd1d4 a b = + Glsl.unsafeCall2 "step" [] (Glsl.double1 a) b + + +stepwd1wd1 : Float -> Float -> Glsl.Expression Glsl.Double +stepwd1wd1 a b = + Glsl.unsafeCall2 "step" [] (Glsl.double1 a) (Glsl.double1 b) + + +step : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +step a b = + Glsl.unsafeCall2 "step" [] a b + + +trunc1 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Float_ +trunc1 a = + Glsl.unsafeCall1 "trunc" [] a + + +trunc2 : Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec2 +trunc2 a = + Glsl.unsafeCall1 "trunc" [] a + + +trunc3 : Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec3 +trunc3 a = + Glsl.unsafeCall1 "trunc" [] a + + +trunc4 : Glsl.Expression Glsl.Vec4 -> Glsl.Expression Glsl.Vec4 +trunc4 a = + Glsl.unsafeCall1 "trunc" [] a + + +truncd1 : Glsl.Expression Glsl.Double -> Glsl.Expression Glsl.Double +truncd1 a = + Glsl.unsafeCall1 "trunc" [] a + + +truncd2 : Glsl.Expression Glsl.DVec2 -> Glsl.Expression Glsl.DVec2 +truncd2 a = + Glsl.unsafeCall1 "trunc" [] a + + +truncd3 : Glsl.Expression Glsl.DVec3 -> Glsl.Expression Glsl.DVec3 +truncd3 a = + Glsl.unsafeCall1 "trunc" [] a + + +truncd4 : Glsl.Expression Glsl.DVec4 -> Glsl.Expression Glsl.DVec4 +truncd4 a = + Glsl.unsafeCall1 "trunc" [] a + + +truncf : Float -> Glsl.Expression Glsl.Float_ +truncf a = + Glsl.unsafeCall1 "trunc" [] (Glsl.float1 a) + + +truncwd1 : Float -> Glsl.Expression Glsl.Double +truncwd1 a = + Glsl.unsafeCall1 "trunc" [] (Glsl.double1 a) + + +trunc : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +trunc a = + Glsl.unsafeCall1 "trunc" [] a + + +uintBitsToFloatu1 : Glsl.Expression Glsl.Uint -> Glsl.Expression Glsl.Float_ +uintBitsToFloatu1 a = + Glsl.unsafeCall1 "uintBitsToFloat" [] a + + +uintBitsToFloatu2 : Glsl.Expression Glsl.UVec2 -> Glsl.Expression Glsl.Vec2 +uintBitsToFloatu2 a = + Glsl.unsafeCall1 "uintBitsToFloat" [] a + + +uintBitsToFloatu3 : Glsl.Expression Glsl.UVec3 -> Glsl.Expression Glsl.Vec3 +uintBitsToFloatu3 a = + Glsl.unsafeCall1 "uintBitsToFloat" [] a + + +uintBitsToFloatu4 : Glsl.Expression Glsl.UVec4 -> Glsl.Expression Glsl.Vec4 +uintBitsToFloatu4 a = + Glsl.unsafeCall1 "uintBitsToFloat" [] a + + +uintBitsToFloatwu1 : Int -> Glsl.Expression Glsl.Float_ +uintBitsToFloatwu1 a = + Glsl.unsafeCall1 "uintBitsToFloat" [] (Glsl.uint1 a) + + +vec21 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec2 +vec21 a = + Glsl.unsafeCall1 "vec2" [] a + + +vec211 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +vec211 a b = + Glsl.unsafeCall2 "vec2" [] a b + + +vec21f : Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Vec2 +vec21f a b = + Glsl.unsafeCall2 "vec2" [] a (Glsl.float1 b) + + +vec21i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec2 +vec21i1 a b = + Glsl.unsafeCall2 "vec2" [] a b + + +vec21wi1 : Glsl.Expression Glsl.Float_ -> Int -> Glsl.Expression Glsl.Vec2 +vec21wi1 a b = + Glsl.unsafeCall2 "vec2" [] a (Glsl.int1 b) + + +vec2f : Float -> Glsl.Expression Glsl.Vec2 +vec2f a = + Glsl.unsafeCall1 "vec2" [] (Glsl.float1 a) + + +vec2f1 : Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec2 +vec2f1 a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.float1 a) b + + +vec2ff : Float -> Float -> Glsl.Expression Glsl.Vec2 +vec2ff a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.float1 a) (Glsl.float1 b) + + +vec2fi1 : Float -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec2 +vec2fi1 a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.float1 a) b + + +vec2fwi1 : Float -> Int -> Glsl.Expression Glsl.Vec2 +vec2fwi1 a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.float1 a) (Glsl.int1 b) + + +vec2i1 : Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec2 +vec2i1 a = + Glsl.unsafeCall1 "vec2" [] a + + +vec2i11 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 +vec2i11 a b = + Glsl.unsafeCall2 "vec2" [] a b + + +vec2i1f : Glsl.Expression Glsl.Int_ -> Float -> Glsl.Expression Glsl.Vec2 +vec2i1f a b = + Glsl.unsafeCall2 "vec2" [] a (Glsl.float1 b) + + +vec2i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec2 +vec2i1i1 a b = + Glsl.unsafeCall2 "vec2" [] a b + + +vec2i1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Vec2 +vec2i1wi1 a b = + Glsl.unsafeCall2 "vec2" [] a (Glsl.int1 b) + + +vec2wi1 : Int -> Glsl.Expression Glsl.Vec2 +vec2wi1 a = + Glsl.unsafeCall1 "vec2" [] (Glsl.int1 a) + + +vec2wi11 : Int -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec2 +vec2wi11 a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.int1 a) b + + +vec2wi1f : Int -> Float -> Glsl.Expression Glsl.Vec2 +vec2wi1f a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.int1 a) (Glsl.float1 b) + + +vec2wi1i1 : Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec2 +vec2wi1i1 a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.int1 a) b + + +vec2wi1wi1 : Int -> Int -> Glsl.Expression Glsl.Vec2 +vec2wi1wi1 a b = + Glsl.unsafeCall2 "vec2" [] (Glsl.int1 a) (Glsl.int1 b) + + +vec31 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec3 +vec31 a = + Glsl.unsafeCall1 "vec3" [] a + + +vec3111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3111 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec311f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec3 +vec311f a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.float1 c) + + +vec311i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec311i1 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec311wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec3 +vec311wi1 a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.int1 c) + + +vec312 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec3 +vec312 a b = + Glsl.unsafeCall2 "vec3" [] a b + + +vec31f1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec31f1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) c + + +vec31ff : Glsl.Expression Glsl.Float_ -> Float -> Float -> Glsl.Expression Glsl.Vec3 +vec31ff a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) (Glsl.float1 c) + + +vec31fi1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec31fi1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) c + + +vec31fwi1 : Glsl.Expression Glsl.Float_ -> Float -> Int -> Glsl.Expression Glsl.Vec3 +vec31fwi1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) (Glsl.int1 c) + + +vec31i11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec31i11 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec31i1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec3 +vec31i1f a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.float1 c) + + +vec31i1i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec31i1i1 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec31i1wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec3 +vec31i1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.int1 c) + + +vec31wi11 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec31wi11 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) c + + +vec31wi1f : Glsl.Expression Glsl.Float_ -> Int -> Float -> Glsl.Expression Glsl.Vec3 +vec31wi1f a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) (Glsl.float1 c) + + +vec31wi1i1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec31wi1i1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) c + + +vec31wi1wi1 : Glsl.Expression Glsl.Float_ -> Int -> Int -> Glsl.Expression Glsl.Vec3 +vec31wi1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) (Glsl.int1 c) + + +vec321 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec321 a b = + Glsl.unsafeCall2 "vec3" [] a b + + +vec32f : Glsl.Expression Glsl.Vec2 -> Float -> Glsl.Expression Glsl.Vec3 +vec32f a b = + Glsl.unsafeCall2 "vec3" [] a (Glsl.float1 b) + + +vec3f : Float -> Glsl.Expression Glsl.Vec3 +vec3f a = + Glsl.unsafeCall1 "vec3" [] (Glsl.float1 a) + + +vec3f11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3f11 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b c + + +vec3f1f : Float -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Vec3 +vec3f1f a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b (Glsl.float1 c) + + +vec3f1i1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3f1i1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b c + + +vec3f1wi1 : Float -> Glsl.Expression Glsl.Float_ -> Int -> Glsl.Expression Glsl.Vec3 +vec3f1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b (Glsl.int1 c) + + +vec3f2 : Float -> Glsl.Expression Glsl.Vec2 -> Glsl.Expression Glsl.Vec3 +vec3f2 a b = + Glsl.unsafeCall2 "vec3" [] (Glsl.float1 a) b + + +vec3ff1 : Float -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec3 +vec3ff1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.float1 b) c + + +vec3fff : Float -> Float -> Float -> Glsl.Expression Glsl.Vec3 +vec3fff a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.float1 c) + + +vec3ffi1 : Float -> Float -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec3 +vec3ffi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.float1 b) c + + +vec3ffwi1 : Float -> Float -> Int -> Glsl.Expression Glsl.Vec3 +vec3ffwi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.int1 c) + + +vec3fi11 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3fi11 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b c + + +vec3fi1f : Float -> Glsl.Expression Glsl.Int_ -> Float -> Glsl.Expression Glsl.Vec3 +vec3fi1f a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b (Glsl.float1 c) + + +vec3fi1i1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3fi1i1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b c + + +vec3fi1wi1 : Float -> Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Vec3 +vec3fi1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) b (Glsl.int1 c) + + +vec3fwi11 : Float -> Int -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec3 +vec3fwi11 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.int1 b) c + + +vec3fwi1f : Float -> Int -> Float -> Glsl.Expression Glsl.Vec3 +vec3fwi1f a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.int1 b) (Glsl.float1 c) + + +vec3fwi1i1 : Float -> Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec3 +vec3fwi1i1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.int1 b) c + + +vec3fwi1wi1 : Float -> Int -> Int -> Glsl.Expression Glsl.Vec3 +vec3fwi1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.float1 a) (Glsl.int1 b) (Glsl.int1 c) + + +vec3i1 : Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec3 +vec3i1 a = + Glsl.unsafeCall1 "vec3" [] a + + +vec3i111 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3i111 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec3i11f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec3 +vec3i11f a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.float1 c) + + +vec3i11i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3i11i1 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec3i11wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec3 +vec3i11wi1 a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.int1 c) + + +vec3i1f1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3i1f1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) c + + +vec3i1ff : Glsl.Expression Glsl.Int_ -> Float -> Float -> Glsl.Expression Glsl.Vec3 +vec3i1ff a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) (Glsl.float1 c) + + +vec3i1fi1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3i1fi1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) c + + +vec3i1fwi1 : Glsl.Expression Glsl.Int_ -> Float -> Int -> Glsl.Expression Glsl.Vec3 +vec3i1fwi1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.float1 b) (Glsl.int1 c) + + +vec3i1i11 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3i1i11 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec3i1i1f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec3 +vec3i1i1f a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.float1 c) + + +vec3i1i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3i1i1i1 a b c = + Glsl.unsafeCall3 "vec3" [] a b c + + +vec3i1i1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec3 +vec3i1i1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] a b (Glsl.int1 c) + + +vec3i1wi11 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3i1wi11 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) c + + +vec3i1wi1f : Glsl.Expression Glsl.Int_ -> Int -> Float -> Glsl.Expression Glsl.Vec3 +vec3i1wi1f a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) (Glsl.float1 c) + + +vec3i1wi1i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3i1wi1i1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) c + + +vec3i1wi1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Int -> Glsl.Expression Glsl.Vec3 +vec3i1wi1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] a (Glsl.int1 b) (Glsl.int1 c) + + +vec3wi1 : Int -> Glsl.Expression Glsl.Vec3 +vec3wi1 a = + Glsl.unsafeCall1 "vec3" [] (Glsl.int1 a) + + +vec3wi111 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3wi111 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b c + + +vec3wi11f : Int -> Glsl.Expression Glsl.Float_ -> Float -> Glsl.Expression Glsl.Vec3 +vec3wi11f a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b (Glsl.float1 c) + + +vec3wi11i1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3wi11i1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b c + + +vec3wi11wi1 : Int -> Glsl.Expression Glsl.Float_ -> Int -> Glsl.Expression Glsl.Vec3 +vec3wi11wi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b (Glsl.int1 c) + + +vec3wi1f1 : Int -> Float -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec3 +vec3wi1f1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.float1 b) c + + +vec3wi1ff : Int -> Float -> Float -> Glsl.Expression Glsl.Vec3 +vec3wi1ff a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.float1 b) (Glsl.float1 c) + + +vec3wi1fi1 : Int -> Float -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec3 +vec3wi1fi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.float1 b) c + + +vec3wi1fwi1 : Int -> Float -> Int -> Glsl.Expression Glsl.Vec3 +vec3wi1fwi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.float1 b) (Glsl.int1 c) + + +vec3wi1i11 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 +vec3wi1i11 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b c + + +vec3wi1i1f : Int -> Glsl.Expression Glsl.Int_ -> Float -> Glsl.Expression Glsl.Vec3 +vec3wi1i1f a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b (Glsl.float1 c) + + +vec3wi1i1i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec3 +vec3wi1i1i1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b c + + +vec3wi1i1wi1 : Int -> Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Vec3 +vec3wi1i1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) b (Glsl.int1 c) + + +vec3wi1wi11 : Int -> Int -> Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec3 +vec3wi1wi11 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.int1 b) c + + +vec3wi1wi1f : Int -> Int -> Float -> Glsl.Expression Glsl.Vec3 +vec3wi1wi1f a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.float1 c) + + +vec3wi1wi1i1 : Int -> Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec3 +vec3wi1wi1i1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.int1 b) c + + +vec3wi1wi1wi1 : Int -> Int -> Int -> Glsl.Expression Glsl.Vec3 +vec3wi1wi1wi1 a b c = + Glsl.unsafeCall3 "vec3" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.int1 c) + + +vec41 : Glsl.Expression Glsl.Float_ -> Glsl.Expression Glsl.Vec4 +vec41 a = + Glsl.unsafeCall1 "vec4" [] a + + +vec41111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41111 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4111f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4111f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec4111i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4111i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4111wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4111wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec411f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec411f1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec411ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec411ff a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.float1 d) + + +vec411fi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec411fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec411fwi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec411fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.int1 d) + + +vec411i11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec411i11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec411i1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec411i1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec411i1i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec411i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec411i1wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec411i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec411wi11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec411wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec411wi1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec411wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.float1 d) + + +vec411wi1i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec411wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec411wi1wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec411wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.int1 d) + + +vec413 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Vec4 +vec413 a b = + Glsl.unsafeCall2 "vec4" [] a b + + +vec41f11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41f11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec41f1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41f1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.float1 d) + + +vec41f1i1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41f1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec41f1wi1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41f1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.int1 d) + + +vec41ff1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41ff1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) d + + +vec41fff : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41fff a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) (Glsl.float1 d) + + +vec41ffi1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41ffi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) d + + +vec41ffwi1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41ffwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) (Glsl.int1 d) + + +vec41fi11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41fi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec41fi1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41fi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.float1 d) + + +vec41fi1i1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41fi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec41fi1wi1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41fi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.int1 d) + + +vec41fwi11 : + Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41fwi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) d + + +vec41fwi1f : + Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41fwi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) (Glsl.float1 d) + + +vec41fwi1i1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41fwi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) d + + +vec41fwi1wi1 : + Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41fwi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) (Glsl.int1 d) + + +vec41i111 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41i111 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec41i11f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41i11f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec41i11i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41i11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec41i11wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41i11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec41i1f1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41i1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec41i1ff : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41i1ff a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.float1 d) + + +vec41i1fi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41i1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec41i1fwi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41i1fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.int1 d) + + +vec41i1i11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41i1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec41i1i1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41i1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec41i1i1i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41i1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec41i1i1wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41i1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec41i1wi11 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41i1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec41i1wi1f : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41i1wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.float1 d) + + +vec41i1wi1i1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41i1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec41i1wi1wi1 : + Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41i1wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.int1 d) + + +vec41wi111 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41wi111 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec41wi11f : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41wi11f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.float1 d) + + +vec41wi11i1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41wi11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec41wi11wi1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41wi11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.int1 d) + + +vec41wi1f1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41wi1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) d + + +vec41wi1ff : + Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41wi1ff a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) (Glsl.float1 d) + + +vec41wi1fi1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41wi1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) d + + +vec41wi1fwi1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41wi1fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) (Glsl.int1 d) + + +vec41wi1i11 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41wi1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec41wi1i1f : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41wi1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.float1 d) + + +vec41wi1i1i1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41wi1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec41wi1i1wi1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41wi1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.int1 d) + + +vec41wi1wi11 : + Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec41wi1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) d + + +vec41wi1wi1f : + Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec41wi1wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) (Glsl.float1 d) + + +vec41wi1wi1i1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec41wi1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) d + + +vec41wi1wi1wi1 : + Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec41wi1wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) (Glsl.int1 d) + + +vec422 : + Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec2 + -> Glsl.Expression Glsl.Vec4 +vec422 a b = + Glsl.unsafeCall2 "vec4" [] a b + + +vec431 : + Glsl.Expression Glsl.Vec3 + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec431 a b = + Glsl.unsafeCall2 "vec4" [] a b + + +vec43f : Glsl.Expression Glsl.Vec3 -> Float -> Glsl.Expression Glsl.Vec4 +vec43f a b = + Glsl.unsafeCall2 "vec4" [] a (Glsl.float1 b) + + +vec4f : Float -> Glsl.Expression Glsl.Vec4 +vec4f a = + Glsl.unsafeCall1 "vec4" [] (Glsl.float1 a) + + +vec4f111 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4f111 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4f11f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4f11f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.float1 d) + + +vec4f11i1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4f11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4f11wi1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4f11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.int1 d) + + +vec4f1f1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4f1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) d + + +vec4f1ff : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4f1ff a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) (Glsl.float1 d) + + +vec4f1fi1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4f1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) d + + +vec4f1fwi1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4f1fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) (Glsl.int1 d) + + +vec4f1i11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4f1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4f1i1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4f1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.float1 d) + + +vec4f1i1i1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4f1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4f1i1wi1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4f1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.int1 d) + + +vec4f1wi11 : + Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4f1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) d + + +vec4f1wi1f : + Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4f1wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) (Glsl.float1 d) + + +vec4f1wi1i1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4f1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) d + + +vec4f1wi1wi1 : + Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4f1wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) (Glsl.int1 d) + + +vec4f3 : Float -> Glsl.Expression Glsl.Vec3 -> Glsl.Expression Glsl.Vec4 +vec4f3 a b = + Glsl.unsafeCall2 "vec4" [] (Glsl.float1 a) b + + +vec4ff11 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4ff11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c d + + +vec4ff1f : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4ff1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c (Glsl.float1 d) + + +vec4ff1i1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4ff1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c d + + +vec4ff1wi1 : + Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4ff1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c (Glsl.int1 d) + + +vec4fff1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fff1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.float1 c) d + + +vec4ffff : Float -> Float -> Float -> Float -> Glsl.Expression Glsl.Vec4 +vec4ffff a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + + +vec4fffi1 : + Float + -> Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fffi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.float1 c) d + + +vec4fffwi1 : Float -> Float -> Float -> Int -> Glsl.Expression Glsl.Vec4 +vec4fffwi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.int1 d) + + +vec4ffi11 : + Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4ffi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c d + + +vec4ffi1f : + Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4ffi1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c (Glsl.float1 d) + + +vec4ffi1i1 : + Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4ffi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c d + + +vec4ffi1wi1 : + Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4ffi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) c (Glsl.int1 d) + + +vec4ffwi11 : + Float + -> Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4ffwi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.int1 c) d + + +vec4ffwi1f : Float -> Float -> Int -> Float -> Glsl.Expression Glsl.Vec4 +vec4ffwi1f a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.int1 c) + (Glsl.float1 d) + + +vec4ffwi1i1 : + Float + -> Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4ffwi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.float1 b) (Glsl.int1 c) d + + +vec4ffwi1wi1 : Float -> Float -> Int -> Int -> Glsl.Expression Glsl.Vec4 +vec4ffwi1wi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.float1 b) + (Glsl.int1 c) + (Glsl.int1 d) + + +vec4fi111 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fi111 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4fi11f : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4fi11f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.float1 d) + + +vec4fi11i1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fi11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4fi11wi1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4fi11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.int1 d) + + +vec4fi1f1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fi1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) d + + +vec4fi1ff : + Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4fi1ff a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) (Glsl.float1 d) + + +vec4fi1fi1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fi1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) d + + +vec4fi1fwi1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4fi1fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.float1 c) (Glsl.int1 d) + + +vec4fi1i11 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fi1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4fi1i1f : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4fi1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.float1 d) + + +vec4fi1i1i1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fi1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c d + + +vec4fi1i1wi1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4fi1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b c (Glsl.int1 d) + + +vec4fi1wi11 : + Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fi1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) d + + +vec4fi1wi1f : + Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4fi1wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) (Glsl.float1 d) + + +vec4fi1wi1i1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fi1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) d + + +vec4fi1wi1wi1 : + Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4fi1wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) b (Glsl.int1 c) (Glsl.int1 d) + + +vec4fwi111 : + Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi111 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c d + + +vec4fwi11f : + Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4fwi11f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c (Glsl.float1 d) + + +vec4fwi11i1 : + Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c d + + +vec4fwi11wi1 : + Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4fwi11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c (Glsl.int1 d) + + +vec4fwi1f1 : + Float + -> Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) (Glsl.float1 c) d + + +vec4fwi1ff : Float -> Int -> Float -> Float -> Glsl.Expression Glsl.Vec4 +vec4fwi1ff a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.int1 b) + (Glsl.float1 c) + (Glsl.float1 d) + + +vec4fwi1fi1 : + Float + -> Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) (Glsl.float1 c) d + + +vec4fwi1fwi1 : Float -> Int -> Float -> Int -> Glsl.Expression Glsl.Vec4 +vec4fwi1fwi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.int1 b) + (Glsl.float1 c) + (Glsl.int1 d) + + +vec4fwi1i11 : + Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c d + + +vec4fwi1i1f : + Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4fwi1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c (Glsl.float1 d) + + +vec4fwi1i1i1 : + Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c d + + +vec4fwi1i1wi1 : + Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4fwi1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) c (Glsl.int1 d) + + +vec4fwi1wi11 : + Float + -> Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) (Glsl.int1 c) d + + +vec4fwi1wi1f : Float -> Int -> Int -> Float -> Glsl.Expression Glsl.Vec4 +vec4fwi1wi1f a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.int1 b) + (Glsl.int1 c) + (Glsl.float1 d) + + +vec4fwi1wi1i1 : + Float + -> Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4fwi1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.float1 a) (Glsl.int1 b) (Glsl.int1 c) d + + +vec4fwi1wi1wi1 : Float -> Int -> Int -> Int -> Glsl.Expression Glsl.Vec4 +vec4fwi1wi1wi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.float1 a) + (Glsl.int1 b) + (Glsl.int1 c) + (Glsl.int1 d) + + +vec4i1 : Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec4 +vec4i1 a = + Glsl.unsafeCall1 "vec4" [] a + + +vec4i1111 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1111 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i111f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i111f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec4i111i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i111i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i111wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i111wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec4i11f1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i11f1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec4i11ff : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i11ff a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.float1 d) + + +vec4i11fi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i11fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec4i11fwi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i11fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.int1 d) + + +vec4i11i11 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i11i11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i11i1f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i11i1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec4i11i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i11i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i11i1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i11i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec4i11wi11 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i11wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec4i11wi1f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i11wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.float1 d) + + +vec4i11wi1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i11wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec4i11wi1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i11wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.int1 d) + + +vec4i1f11 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1f11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec4i1f1f : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1f1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.float1 d) + + +vec4i1f1i1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1f1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec4i1f1wi1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1f1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.int1 d) + + +vec4i1ff1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1ff1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) d + + +vec4i1fff : + Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1fff a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) (Glsl.float1 d) + + +vec4i1ffi1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1ffi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) d + + +vec4i1ffwi1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1ffwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.float1 c) (Glsl.int1 d) + + +vec4i1fi11 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1fi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec4i1fi1f : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1fi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.float1 d) + + +vec4i1fi1i1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1fi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c d + + +vec4i1fi1wi1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1fi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) c (Glsl.int1 d) + + +vec4i1fwi11 : + Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1fwi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) d + + +vec4i1fwi1f : + Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1fwi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) (Glsl.float1 d) + + +vec4i1fwi1i1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1fwi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) d + + +vec4i1fwi1wi1 : + Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1fwi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.float1 b) (Glsl.int1 c) (Glsl.int1 d) + + +vec4i1i111 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i111 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i1i11f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1i11f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec4i1i11i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i1i11wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1i11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec4i1i1f1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec4i1i1ff : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1i1ff a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.float1 d) + + +vec4i1i1fi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) d + + +vec4i1i1fwi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1i1fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.float1 c) (Glsl.int1 d) + + +vec4i1i1i11 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i1i1i1f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1i1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.float1 d) + + +vec4i1i1i1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c d + + +vec4i1i1i1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1i1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b c (Glsl.int1 d) + + +vec4i1i1wi11 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec4i1i1wi1f : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1i1wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.float1 d) + + +vec4i1i1wi1i1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1i1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) d + + +vec4i1i1wi1wi1 : + Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1i1wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a b (Glsl.int1 c) (Glsl.int1 d) + + +vec4i1wi111 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi111 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec4i1wi11f : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1wi11f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.float1 d) + + +vec4i1wi11i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec4i1wi11wi1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1wi11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.int1 d) + + +vec4i1wi1f1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) d + + +vec4i1wi1ff : + Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1ff a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) (Glsl.float1 d) + + +vec4i1wi1fi1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) d + + +vec4i1wi1fwi1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.float1 c) (Glsl.int1 d) + + +vec4i1wi1i11 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec4i1wi1i1f : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.float1 d) + + +vec4i1wi1i1i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c d + + +vec4i1wi1i1wi1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) c (Glsl.int1 d) + + +vec4i1wi1wi11 : + Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) d + + +vec4i1wi1wi1f : + Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) (Glsl.float1 d) + + +vec4i1wi1wi1i1 : + Glsl.Expression Glsl.Int_ + -> Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4i1wi1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) d + + +vec4i1wi1wi1wi1 : Glsl.Expression Glsl.Int_ -> Int -> Int -> Int -> Glsl.Expression Glsl.Vec4 +vec4i1wi1wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] a (Glsl.int1 b) (Glsl.int1 c) (Glsl.int1 d) + + +vec4wi1 : Int -> Glsl.Expression Glsl.Vec4 +vec4wi1 a = + Glsl.unsafeCall1 "vec4" [] (Glsl.int1 a) + + +vec4wi1111 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1111 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi111f : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi111f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.float1 d) + + +vec4wi111i1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi111i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi111wi1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi111wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.int1 d) + + +vec4wi11f1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi11f1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) d + + +vec4wi11ff : + Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi11ff a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) (Glsl.float1 d) + + +vec4wi11fi1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi11fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) d + + +vec4wi11fwi1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi11fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) (Glsl.int1 d) + + +vec4wi11i11 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi11i11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi11i1f : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi11i1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.float1 d) + + +vec4wi11i1i1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi11i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi11i1wi1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi11i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.int1 d) + + +vec4wi11wi11 : + Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi11wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) d + + +vec4wi11wi1f : + Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi11wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) (Glsl.float1 d) + + +vec4wi11wi1i1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi11wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) d + + +vec4wi11wi1wi1 : + Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi11wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) (Glsl.int1 d) + + +vec4wi1f11 : + Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1f11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c d + + +vec4wi1f1f : + Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1f1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c (Glsl.float1 d) + + +vec4wi1f1i1 : + Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1f1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c d + + +vec4wi1f1wi1 : + Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi1f1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c (Glsl.int1 d) + + +vec4wi1ff1 : + Int + -> Float + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1ff1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) (Glsl.float1 c) d + + +vec4wi1fff : Int -> Float -> Float -> Float -> Glsl.Expression Glsl.Vec4 +vec4wi1fff a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.float1 d) + + +vec4wi1ffi1 : + Int + -> Float + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1ffi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) (Glsl.float1 c) d + + +vec4wi1ffwi1 : Int -> Float -> Float -> Int -> Glsl.Expression Glsl.Vec4 +vec4wi1ffwi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.float1 b) + (Glsl.float1 c) + (Glsl.int1 d) + + +vec4wi1fi11 : + Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1fi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c d + + +vec4wi1fi1f : + Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1fi1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c (Glsl.float1 d) + + +vec4wi1fi1i1 : + Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1fi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c d + + +vec4wi1fi1wi1 : + Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi1fi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) c (Glsl.int1 d) + + +vec4wi1fwi11 : + Int + -> Float + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1fwi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) (Glsl.int1 c) d + + +vec4wi1fwi1f : Int -> Float -> Int -> Float -> Glsl.Expression Glsl.Vec4 +vec4wi1fwi1f a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.float1 b) + (Glsl.int1 c) + (Glsl.float1 d) + + +vec4wi1fwi1i1 : + Int + -> Float + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1fwi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.float1 b) (Glsl.int1 c) d + + +vec4wi1fwi1wi1 : Int -> Float -> Int -> Int -> Glsl.Expression Glsl.Vec4 +vec4wi1fwi1wi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.float1 b) + (Glsl.int1 c) + (Glsl.int1 d) + + +vec4wi1i111 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i111 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi1i11f : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1i11f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.float1 d) + + +vec4wi1i11i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi1i11wi1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi1i11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.int1 d) + + +vec4wi1i1f1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) d + + +vec4wi1i1ff : + Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1ff a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) (Glsl.float1 d) + + +vec4wi1i1fi1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) d + + +vec4wi1i1fwi1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1fwi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.float1 c) (Glsl.int1 d) + + +vec4wi1i1i11 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi1i1i1f : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.float1 d) + + +vec4wi1i1i1i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c d + + +vec4wi1i1i1wi1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b c (Glsl.int1 d) + + +vec4wi1i1wi11 : + Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) d + + +vec4wi1i1wi1f : + Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1wi1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) (Glsl.float1 d) + + +vec4wi1i1wi1i1 : + Int + -> Glsl.Expression Glsl.Int_ + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1i1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) d + + +vec4wi1i1wi1wi1 : Int -> Glsl.Expression Glsl.Int_ -> Int -> Int -> Glsl.Expression Glsl.Vec4 +vec4wi1i1wi1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) b (Glsl.int1 c) (Glsl.int1 d) + + +vec4wi1wi111 : + Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi111 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c d + + +vec4wi1wi11f : + Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi11f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c (Glsl.float1 d) + + +vec4wi1wi11i1 : + Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi11i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c d + + +vec4wi1wi11wi1 : + Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Int + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi11wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c (Glsl.int1 d) + + +vec4wi1wi1f1 : + Int + -> Int + -> Float + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1f1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.float1 c) d + + +vec4wi1wi1ff : Int -> Int -> Float -> Float -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1ff a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.int1 b) + (Glsl.float1 c) + (Glsl.float1 d) + + +vec4wi1wi1fi1 : + Int + -> Int + -> Float + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1fi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.float1 c) d + + +vec4wi1wi1fwi1 : Int -> Int -> Float -> Int -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1fwi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.int1 b) + (Glsl.float1 c) + (Glsl.int1 d) + + +vec4wi1wi1i11 : + Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1i11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c d + + +vec4wi1wi1i1f : + Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Float + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1i1f a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c (Glsl.float1 d) + + +vec4wi1wi1i1i1 : + Int + -> Int + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Int_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1i1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c d + + +vec4wi1wi1i1wi1 : Int -> Int -> Glsl.Expression Glsl.Int_ -> Int -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1i1wi1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) c (Glsl.int1 d) + + +vec4wi1wi1wi11 : + Int + -> Int + -> Int + -> Glsl.Expression Glsl.Float_ + -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1wi11 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.int1 c) d + + +vec4wi1wi1wi1f : Int -> Int -> Int -> Float -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1wi1f a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.int1 b) + (Glsl.int1 c) + (Glsl.float1 d) + + +vec4wi1wi1wi1i1 : Int -> Int -> Int -> Glsl.Expression Glsl.Int_ -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1wi1i1 a b c d = + Glsl.unsafeCall4 "vec4" [] (Glsl.int1 a) (Glsl.int1 b) (Glsl.int1 c) d + + +vec4wi1wi1wi1wi1 : Int -> Int -> Int -> Int -> Glsl.Expression Glsl.Vec4 +vec4wi1wi1wi1wi1 a b c d = + Glsl.unsafeCall4 + "vec4" + [] + (Glsl.int1 a) + (Glsl.int1 b) + (Glsl.int1 c) + (Glsl.int1 d) + + +radians_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +radians_ a = + Glsl.unsafeCall1 "radians" [] a + + +degrees_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +degrees_ a = + Glsl.unsafeCall1 "degrees" [] a + + +sin_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +sin_ a = + Glsl.unsafeCall1 "sin" [] a + + +cos_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +cos_ a = + Glsl.unsafeCall1 "cos" [] a + + +tan_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +tan_ a = + Glsl.unsafeCall1 "tan" [] a + + +asin_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +asin_ a = + Glsl.unsafeCall1 "asin" [] a + + +acos_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +acos_ a = + Glsl.unsafeCall1 "acos" [] a + + +atan_ : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +atan_ a = + Glsl.unsafeCall1 "atan" [] a + + +atan2_ : + Glsl.Expression (Glsl.Vec Float a) + -> Glsl.Expression (Glsl.Vec Float a) + -> Glsl.Expression (Glsl.Vec Float a) +atan2_ a b = + Glsl.unsafeCall2 "atan" [] a b + + +sinh : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +sinh a = + Glsl.unsafeCall1 "sinh" [] a + + +cosh : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +cosh a = + Glsl.unsafeCall1 "cosh" [] a + + +tanh : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +tanh a = + Glsl.unsafeCall1 "tanh" [] a + + +asinh : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +asinh a = + Glsl.unsafeCall1 "asinh" [] a + + +acosh : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +acosh a = + Glsl.unsafeCall1 "acosh" [] a + + +atanh : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +atanh a = + Glsl.unsafeCall1 "atanh" [] a + + +pow : + Glsl.Expression (Glsl.Vec Float a) + -> Glsl.Expression (Glsl.Vec Float a) + -> Glsl.Expression (Glsl.Vec Float a) +pow a b = + Glsl.unsafeCall2 "pow" [] a b + + +exp : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +exp a = + Glsl.unsafeCall1 "exp" [] a + + +log : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +log a = + Glsl.unsafeCall1 "log" [] a + + +exp2 : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +exp2 a = + Glsl.unsafeCall1 "exp2" [] a + + +log2 : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +log2 a = + Glsl.unsafeCall1 "log2" [] a + + +sqrt_ : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +sqrt_ a = + Glsl.unsafeCall1 "sqrt" [] a + + +abs_ : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +abs_ a = + Glsl.unsafeCall1 "abs" [] a + + +floor_ : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +floor_ a = + Glsl.unsafeCall1 "floor" [] a + + +round_ : Glsl.Expression (Glsl.Vec t a) -> Glsl.Expression (Glsl.Vec t a) +round_ a = + Glsl.unsafeCall1 "round" [] a + + +min_ : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +min_ a b = + Glsl.unsafeCall2 "min" [] a b + + +max_ : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +max_ a b = + Glsl.unsafeCall2 "max" [] a b + + +clamp_ : + Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) + -> Glsl.Expression (Glsl.Vec t a) +clamp_ a b c = + Glsl.unsafeCall3 "clamp" [] a b c + + +dFdx : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +dFdx a = + Glsl.unsafeCall1 "dFdx" [] a + + +dFdy : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +dFdy a = + Glsl.unsafeCall1 "dFdy" [] a + + +dFdxFine : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +dFdxFine a = + Glsl.unsafeCall1 "dFdxFine" [] a + + +dFdyFine : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +dFdyFine a = + Glsl.unsafeCall1 "dFdyFine" [] a + + +dFdxCoarse : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +dFdxCoarse a = + Glsl.unsafeCall1 "dFdxCoarse" [] a + + +dFdyCoarse : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +dFdyCoarse a = + Glsl.unsafeCall1 "dFdyCoarse" [] a + + +fwidth : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +fwidth a = + Glsl.unsafeCall1 "fwidth" [] a + + +fwidthFine : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +fwidthFine a = + Glsl.unsafeCall1 "fwidthFine" [] a + + +fwidthCoarse : Glsl.Expression (Glsl.Vec Float a) -> Glsl.Expression (Glsl.Vec Float a) +fwidthCoarse a = + Glsl.unsafeCall1 "fwidthCoarse" [] a diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Helpers.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Helpers.elm new file mode 100644 index 00000000..0d2770fe --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Helpers.elm @@ -0,0 +1,706 @@ +module Glsl.Helpers exposing + ( File, FunDecl + , boolT, bvec2T, bvec3T, bvec4T + , floatT, vec2T, vec3T, vec4T, mat2T, mat3T, mat4T + , doubleT, dvec2T, dvec3T, dvec4T, dmat2T, dmat3T, dmat4T + , intT + , voidT + , in_, out + , const, const_ + , decl, def, def1 + , fun0, fun1, fun2, fun3, fun4, fun5 + , fun1_, fun2_, fun3_, fun4_, fun5_ + , float, vec2, vec3, vec4, mat2, mat3, mat4 + , if_, ifElse, for, forDown, forLeq + , break, continue, return, nop + , assign, assignAdd, assignBy, assignOut + , expr + , expressionToGlsl, statementToGlsl, funDeclToGlsl, fileToGlsl + , main_ + ) + +{-| + +@docs File, FunDecl + +@docs boolT, bvec2T, bvec3T, bvec4T +@docs floatT, vec2T, vec3T, vec4T, mat2T, mat3T, mat4T +@docs doubleT, dvec2T, dvec3T, dvec4T, dmat2T, dmat3T, dmat4T +@docs intT +@docs voidT + +@docs in_, out + +@docs const, const_ + +@docs decl, def, def1 +@docs fun0, fun1, fun2, fun3, fun4, fun5 +@docs fun1_, fun2_, fun3_, fun4_, fun5_ + +@docs float, vec2, vec3, vec4, mat2, mat3, mat4 + +@docs if_, ifElse, for, forDown, forLeq +@docs break, continue, return, nop +@docs assign, assignAdd, assignBy, assignOut +@docs expr + +@docs expressionToGlsl, statementToGlsl, funDeclToGlsl, fileToGlsl + +@docs main_ + +-} + +import Glsl exposing (BVec2, BVec3, BVec4, BinaryOperation(..), Bool_, DMat2, DMat3, DMat4, DVec2, DVec3, DVec4, Declaration(..), Double, Expr(..), Expression(..), Float_, Int_, Mat2, Mat3, Mat4, Out, RelationOperation(..), Stat(..), Statement(..), Type(..), TypedName(..), TypingFunction, UnaryOperation(..), Vec2, Vec3, Vec4, build, buildStatement, unsafeCall0, unsafeCall1, unsafeCall2, unsafeCall3, unsafeCall4, unsafeCall5, unsafeMap2, unsafeVar, withContinuation, withExpression, withStatement) +import Glsl.PrettyPrinter +import Set +import SortedSet + + +type alias File = + List FunDecl + + +type FunDecl + = FunDecl { name : String, type_ : String, body : String } + + + +-- UTILS + + +fileToGlsl : File -> String +fileToGlsl decls = + decls + |> List.foldl + (\(FunDecl { name, type_, body }) ( found, output ) -> + if Set.member ( name, type_ ) found then + ( found, output ) + + else + ( Set.insert ( name, type_ ) found, body :: output ) + ) + ( Set.empty, [] ) + |> Tuple.second + |> List.reverse + |> String.join "\n\n" + + +funDeclToGlsl : FunDecl -> String +funDeclToGlsl (FunDecl { body }) = + body + + +statementToGlsl : Statement s -> String +statementToGlsl (Statement r) = + r.stat + |> Glsl.PrettyPrinter.stat 1 + + +expressionToGlsl : Expression t -> String +expressionToGlsl (Expression tree) = + Glsl.PrettyPrinter.expr tree.expr + + + +-- STATEMENTS + + +functionToGlsl : TypedName t -> List ( Type, String ) -> Statement t -> String +functionToGlsl (TypedName rt name) args (Statement body) = + Glsl.PrettyPrinter.declaration + (FunctionDeclaration + { args = args + , returnType = rt + , name = name + , stat = body.stat + } + ) + + +funX : + (String + -> List String + -> a + ) + -> TypingFunction t + -> String + -> Statement t + -> List ( Type, String ) + -> { declaration : Declaration, call : a } +funX call typeF name body args = + let + ((TypedName returnType _) as typed) = + typeF name + + (Statement s) = + body + + funGlsl : String + funGlsl = + functionToGlsl typed args body + in + { declaration = + FunctionDeclaration + { returnType = returnType + , name = name + , args = args + , stat = s.stat + } + , call = + call name + (s.deps + |> SortedSet.insert funGlsl + |> SortedSet.toList + ) + } + + +const : + (String -> TypedName t) + -> String + -> Expression t + -> Expression t +const typeF name value = + (const_ typeF name value).value + + +const_ : + (String -> TypedName t) + -> String + -> Expression t + -> + { declaration : Declaration + , value : Expression t + } +const_ typeF name value = + let + (TypedName constType _) = + typeF name + + (Expression e) = + value + + constGlsl : String + constGlsl = + "const " + ++ Glsl.PrettyPrinter.type_ constType + ++ " " + ++ name + ++ " = " + ++ Glsl.PrettyPrinter.expr e.expr + ++ ";" + in + { declaration = + ConstDeclaration + { tipe = constType + , name = name + , value = e.expr + } + , value = + Expression + { deps = + e.deps + |> SortedSet.insert constGlsl + , expr = Variable name + } + } + + +main_ : + (Statement () -> Statement ()) + -> + { declaration : Declaration + , call : Expression () + } +main_ stat = + fun0 voidT "main" <| \_ -> stat nop + + +fun0 : + TypingFunction t + -> String + -> (() -> Statement t) + -> { declaration : Declaration, call : Expression t } +fun0 typeF name body = + funX unsafeCall0 + typeF + name + (body ()) + [] + + +fun1 : + TypingFunction t + -> String + -> TypedName a + -> (Expression a -> Statement t) + -> Expression a + -> Expression t +fun1 typeF name arg0 body = + (fun1_ typeF name arg0 body).call + + +fun1_ : + TypingFunction t + -> String + -> TypedName a + -> (Expression a -> Statement t) + -> + { declaration : Declaration + , call : Expression a -> Expression t + } +fun1_ typeF name (TypedName t0 arg0) body = + funX unsafeCall1 + typeF + name + (body (unsafeVar arg0)) + [ ( t0, arg0 ) ] + + +fun2 : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> (Expression a -> Expression b -> Statement t) + -> Expression a + -> Expression b + -> Expression t +fun2 typeF name arg0 arg1 body = + (fun2_ typeF name arg0 arg1 body).call + + +fun2_ : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> (Expression a -> Expression b -> Statement t) + -> + { declaration : Declaration + , call : Expression a -> Expression b -> Expression t + } +fun2_ typeF name (TypedName t0 arg0) (TypedName t1 arg1) body = + funX unsafeCall2 + typeF + name + (body (unsafeVar arg0) (unsafeVar arg1)) + [ ( t0, arg0 ), ( t1, arg1 ) ] + + +fun3 : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> TypedName c + -> (Expression a -> Expression b -> Expression c -> Statement t) + -> Expression a + -> Expression b + -> Expression c + -> Expression t +fun3 typeF name arg0 arg1 arg2 body = + (fun3_ typeF name arg0 arg1 arg2 body).call + + +fun3_ : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> TypedName c + -> (Expression a -> Expression b -> Expression c -> Statement t) + -> + { declaration : Declaration + , call : Expression a -> Expression b -> Expression c -> Expression t + } +fun3_ typeF name (TypedName t0 arg0) (TypedName t1 arg1) (TypedName t2 arg2) body = + funX unsafeCall3 + typeF + name + (body (unsafeVar arg0) (unsafeVar arg1) (unsafeVar arg2)) + [ ( t0, arg0 ), ( t1, arg1 ), ( t2, arg2 ) ] + + +fun4 : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> TypedName c + -> TypedName d + -> (Expression a -> Expression b -> Expression c -> Expression d -> Statement t) + -> Expression a + -> Expression b + -> Expression c + -> Expression d + -> Expression t +fun4 typeF name arg0 arg1 arg2 arg3 body = + (fun4_ typeF name arg0 arg1 arg2 arg3 body).call + + +fun4_ : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> TypedName c + -> TypedName d + -> (Expression a -> Expression b -> Expression c -> Expression d -> Statement t) + -> + { declaration : Declaration + , call : Expression a -> Expression b -> Expression c -> Expression d -> Expression t + } +fun4_ typeF name (TypedName t0 arg0) (TypedName t1 arg1) (TypedName t2 arg2) (TypedName t3 arg3) body = + funX unsafeCall4 + typeF + name + (body (unsafeVar arg0) (unsafeVar arg1) (unsafeVar arg2) (unsafeVar arg3)) + [ ( t0, arg0 ), ( t1, arg1 ), ( t2, arg2 ), ( t3, arg3 ) ] + + +fun5 : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> TypedName c + -> TypedName d + -> TypedName e + -> (Expression a -> Expression b -> Expression c -> Expression d -> Expression e -> Statement t) + -> Expression a + -> Expression b + -> Expression c + -> Expression d + -> Expression e + -> Expression t +fun5 typeF name arg0 arg1 arg2 arg3 arg4 body = + (fun5_ typeF name arg0 arg1 arg2 arg3 arg4 body).call + + +fun5_ : + TypingFunction t + -> String + -> TypedName a + -> TypedName b + -> TypedName c + -> TypedName d + -> TypedName e + -> (Expression a -> Expression b -> Expression c -> Expression d -> Expression e -> Statement t) + -> + { declaration : Declaration + , call : Expression a -> Expression b -> Expression c -> Expression d -> Expression e -> Expression t + } +fun5_ typeF name (TypedName t0 arg0) (TypedName t1 arg1) (TypedName t2 arg2) (TypedName t3 arg3) (TypedName t4 arg4) body = + funX unsafeCall5 + typeF + name + (body (unsafeVar arg0) (unsafeVar arg1) (unsafeVar arg2) (unsafeVar arg3) (unsafeVar arg4)) + [ ( t0, arg0 ), ( t1, arg1 ), ( t2, arg2 ), ( t3, arg3 ), ( t4, arg4 ) ] + + +if_ : Expression Bool_ -> Statement r -> (() -> Statement r) -> Statement r +if_ cond ifTrue next = + build If + |> withExpression cond + |> withStatement ifTrue + |> withContinuation next + + +ifElse : Expression Bool_ -> Statement s -> Statement s -> (() -> Statement s) -> Statement s +ifElse cond ifTrue ifFalse next = + build IfElse + |> withExpression cond + |> withStatement ifTrue + |> withStatement ifFalse + |> withContinuation next + + +for : + ( String, Expression Int, Expression Int ) + -> (Expression Int -> Statement () -> Statement ()) + -> (() -> Statement r) + -> Statement r +for ( name, from, to ) loop next = + build (\f t -> For (Just <| Decl TInt name (Just f)) (BinaryOperation (Variable name) (RelationOperation LessThan) t) (UnaryOperation PostfixIncrement (Variable name))) + |> withExpression from + |> withExpression to + |> withStatement (loop (unsafeVar name) nop) + |> withContinuation next + + +forLeq : + ( String, Expression Int, Expression Int ) + -> (Expression Int -> Statement () -> Statement ()) + -> (() -> Statement r) + -> Statement r +forLeq ( name, from, to ) loop next = + build (\f t -> For (Just <| Decl TInt name (Just f)) (BinaryOperation (Variable name) (RelationOperation LessThanOrEquals) t) (UnaryOperation PostfixIncrement (Variable name))) + |> withExpression from + |> withExpression to + |> withStatement (loop (unsafeVar name) nop) + |> withContinuation next + + +forDown : + ( String, Expression Int, Expression Int ) + -> (Expression Int -> Statement () -> Statement ()) + -> (() -> Statement r) + -> Statement r +forDown ( name, from, to ) loop next = + build (\f t -> For (Just <| Decl TInt name (Just f)) (BinaryOperation (Variable name) (RelationOperation GreaterThan) t) (UnaryOperation PostfixDecrement (Variable name))) + |> withExpression from + |> withExpression to + |> withStatement (loop (unsafeVar name) nop) + |> withContinuation next + + +return : Expression r -> Statement r +return e = + build Return + |> withExpression e + |> buildStatement + + +break : Statement a +break = + build Break + |> buildStatement + + +continue : Statement a +continue = + build Continue + |> buildStatement + + +decl : TypingFunction t -> String -> (Expression t -> Statement r) -> Statement r +decl typeF name k = + let + (TypedName t n) = + typeF name + in + build (Decl t n Nothing) + |> withContinuation (\_ -> k (unsafeVar n)) + + +def : TypingFunction t -> String -> Expression t -> (Expression t -> Statement r) -> Statement r +def typeF name val k = + let + (TypedName t0 n0) = + typeF name + in + build + (\v0 k0 -> + Glsl.block [ Decl t0 n0 (Just v0), k0 ] + ) + |> withExpression val + |> withStatement (k (unsafeVar n0)) + |> buildStatement + + +float : String -> Expression Float_ -> (Expression Float_ -> Statement r) -> Statement r +float = + def floatT + + +vec2 : String -> Expression Vec2 -> (Expression Vec2 -> Statement r) -> Statement r +vec2 = + def vec2T + + +vec3 : String -> Expression Vec3 -> (Expression Vec3 -> Statement r) -> Statement r +vec3 = + def vec3T + + +vec4 : String -> Expression Vec4 -> (Expression Vec4 -> Statement r) -> Statement r +vec4 = + def vec4T + + +mat2 : String -> Expression Mat2 -> (Expression Mat2 -> Statement r) -> Statement r +mat2 = + def mat2T + + +mat3 : String -> Expression Mat3 -> (Expression Mat3 -> Statement r) -> Statement r +mat3 = + def mat3T + + +mat4 : String -> Expression Mat4 -> (Expression Mat4 -> Statement r) -> Statement r +mat4 = + def mat4T + + +def1 : + ( TypedName a, Expression a ) + -> (Expression a -> Statement r) + -> Statement r +def1 ( tn0, val0 ) k = + let + (TypedName t0 n0) = + tn0 + in + build + (\v0 k0 -> + Glsl.block [ Decl t0 n0 (Just v0), k0 ] + ) + |> withExpression val0 + |> withStatement (k (unsafeVar n0)) + |> buildStatement + + +assign : Expression t -> Expression t -> Expression t +assign name e = + unsafeMap2 (\l r -> BinaryOperation l Assign r) name e + + +assignOut : Expression (Out t) -> Expression t -> Expression t +assignOut name e = + unsafeMap2 (\l r -> BinaryOperation l Assign r) name e + + +expr : Expression t -> (() -> Statement r) -> Statement r +expr e s = + build ExpressionStatement + |> withExpression e + |> withContinuation s + + +nop : Statement () +nop = + Statement { stat = Nop, deps = SortedSet.empty } + + +assignAdd : Expression t -> Expression t -> (() -> Statement q) -> Statement q +assignAdd name val = + expr <| unsafeMap2 (\l r -> BinaryOperation l ComboAdd r) name val + + +assignBy : Expression t -> Expression t -> (() -> Statement q) -> Statement q +assignBy name val = + expr <| unsafeMap2 (\l r -> BinaryOperation l ComboBy r) name val + + + +-- TYPES + + +voidT : TypingFunction () +voidT n = + TypedName TVoid n + + +boolT : TypingFunction Bool_ +boolT n = + TypedName TBool n + + +intT : TypingFunction Int_ +intT n = + TypedName TInt n + + +floatT : TypingFunction Float_ +floatT n = + TypedName TFloat n + + +doubleT : TypingFunction Double +doubleT n = + TypedName TDouble n + + +vec2T : TypingFunction Vec2 +vec2T n = + TypedName TVec2 n + + +bvec2T : TypingFunction BVec2 +bvec2T n = + TypedName TBVec2 n + + +dvec2T : TypingFunction DVec2 +dvec2T n = + TypedName TDVec2 n + + +vec3T : TypingFunction Vec3 +vec3T n = + TypedName TVec3 n + + +bvec3T : TypingFunction BVec3 +bvec3T n = + TypedName TBVec3 n + + +dvec3T : TypingFunction DVec3 +dvec3T n = + TypedName TDVec3 n + + +vec4T : TypingFunction Vec4 +vec4T n = + TypedName TVec4 n + + +bvec4T : TypingFunction BVec4 +bvec4T n = + TypedName TBVec4 n + + +dvec4T : TypingFunction DVec4 +dvec4T n = + TypedName TDVec4 n + + +mat2T : TypingFunction Mat2 +mat2T n = + TypedName TMat2 n + + +dmat2T : TypingFunction DMat2 +dmat2T n = + TypedName TDMat2 n + + +mat3T : TypingFunction Mat3 +mat3T n = + TypedName TMat3 n + + +dmat3T : TypingFunction DMat3 +dmat3T n = + TypedName TDMat3 n + + +mat4T : TypingFunction Mat4 +mat4T n = + TypedName TMat4 n + + +dmat4T : TypingFunction DMat4 +dmat4T n = + TypedName TDMat4 n + + +out : TypingFunction t -> TypingFunction t +out inner n = + let + (TypedName t name) = + inner n + in + TypedName (TOut t) name + + +in_ : TypingFunction t -> TypingFunction t +in_ inner n = + let + (TypedName t name) = + inner n + in + TypedName (TIn t) name diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Operations.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Operations.elm new file mode 100644 index 00000000..982bdb1a --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Operations.elm @@ -0,0 +1,320 @@ +module Glsl.Operations exposing + ( add, adds, adds2, adds3, adds4 + , add1f, addf1 + , subtract, subtract1f, subtractf1 + , negate_ + , by, bymv + , by1v, byv1, byfv, byvf + , div, divv1, divvf + , arraymi + , lt, leq, eq, geq, gt + , ternary + , and, or, ands, ors + ) + +{-| + + +# Addition + +@docs add, adds, adds2, adds3, adds4 +@docs add1f, addf1 + + +# Subtraction + +@docs subtract, subtract1f, subtractf1 + + +# Negate + +@docs negate_ + + +# Multiplication + +@docs by, bymv +@docs by1v, byv1, byfv, byvf + + +# Division + +@docs div, divv1, divvf + + +# Array access + +@docs arraymi + + +# Comparison + +@docs lt, leq, eq, geq, gt + + +# Logic + +@docs ternary +@docs and, or, ands, ors + +-} + +import Glsl exposing (BinaryOperation(..), Bool_, D2, Expr(..), Expression, Float_, Mat, RelationOperation(..), UnaryOperation(..), Vec, Vec2, Vec3, Vec4, false, float1, int1, true, unsafeMap, unsafeMap2, unsafeMap3) +import Glsl.Functions exposing (vec2i1, vec3i1, vec4i1) + + + +-- Addition + + +{-| -} +add : Expression (Vec Float d) -> Expression (Vec Float d) -> Expression (Vec Float d) +add = + unsafeBinary Add + + +{-| -} +adds : Expression (Vec Float d) -> List (Expression (Vec Float d)) -> Expression (Vec Float d) +adds vecZero es = + case es of + [] -> + vecZero + + h :: t -> + List.foldl (\e a -> add a e) h t + + +{-| -} +vec2Zero : Expression Vec2 +vec2Zero = + vec2i1 (int1 0) + + +{-| -} +vec3Zero : Expression Vec3 +vec3Zero = + vec3i1 (int1 0) + + +{-| -} +vec4Zero : Expression Vec4 +vec4Zero = + vec4i1 (int1 0) + + +{-| -} +adds2 : List (Expression Vec2) -> Expression Vec2 +adds2 = + adds vec2Zero + + +{-| -} +adds3 : List (Expression Vec3) -> Expression Vec3 +adds3 = + adds vec3Zero + + +{-| -} +adds4 : List (Expression Vec4) -> Expression Vec4 +adds4 = + adds vec4Zero + + +{-| -} +add1f : Expression Float_ -> Float -> Expression Float_ +add1f l r = + add l (float1 r) + + +{-| -} +addf1 : Float -> Expression Float_ -> Expression Float_ +addf1 l r = + add (float1 l) r + + + +-- Subtraction + + +{-| -} +subtract : Expression (Vec Float d) -> Expression (Vec Float d) -> Expression (Vec Float d) +subtract = + unsafeBinary Subtract + + +{-| -} +subtract1f : Expression Float_ -> Float -> Expression Float_ +subtract1f l r = + subtract l (float1 r) + + +{-| -} +subtractf1 : Float -> Expression Float_ -> Expression Float_ +subtractf1 l r = + subtract (float1 l) r + + +{-| -} +negate_ : Expression (Vec Float d) -> Expression (Vec Float d) +negate_ l = + unsafeMap (UnaryOperation Negate) l + + +{-| -} +unsafeBinary : BinaryOperation -> Expression a -> Expression b -> Expression c +unsafeBinary op = + unsafeMap2 (\l r -> BinaryOperation l op r) + + + +-- Multiplication + + +{-| -} +by1v : Expression Float_ -> Expression (Vec Float d) -> Expression (Vec Float d) +by1v = + unsafeBinary By + + +{-| -} +byfv : Float -> Expression (Vec Float d) -> Expression (Vec Float d) +byfv f = + by1v (float1 f) + + +{-| -} +byv1 : Expression (Vec Float d) -> Expression Float_ -> Expression (Vec Float d) +byv1 = + unsafeBinary By + + +{-| -} +byvf : Expression (Vec Float d) -> Float -> Expression (Vec Float d) +byvf v f = + byv1 v (float1 f) + + +{-| -} +bymv : Expression (Mat Float D2 d) -> Expression (Vec Float d) -> Expression (Vec Float d) +bymv = + unsafeBinary By + + +{-| -} +by : Expression (Vec Float d) -> Expression (Vec Float d) -> Expression (Vec Float d) +by = + unsafeBinary By + + + +-- Division + + +{-| -} +divv1 : Expression (Vec Float d) -> Expression Float_ -> Expression (Vec Float d) +divv1 = + unsafeBinary Div + + +{-| -} +divvf : Expression (Vec Float d) -> Float -> Expression (Vec Float d) +divvf l r = + divv1 l (float1 r) + + +{-| -} +div : Expression (Vec Float d) -> Expression (Vec Float d) -> Expression (Vec Float d) +div = + unsafeBinary Div + + + +-- Array access + + +{-| -} +arraymi : Expression (Mat Float d d) -> Expression Int -> Expression (Vec Float d) +arraymi = + unsafeBinary ArraySubscript + + + +-- Comparisons + + +{-| -} +lt : Expression Float_ -> Expression Float_ -> Expression Bool +lt = + unsafeBinary (RelationOperation LessThan) + + +{-| -} +leq : Expression Float_ -> Expression Float_ -> Expression Bool +leq = + unsafeBinary (RelationOperation LessThanOrEquals) + + +{-| -} +gt : Expression Float_ -> Expression Float_ -> Expression Bool +gt = + unsafeBinary (RelationOperation GreaterThan) + + +{-| -} +geq : Expression Float_ -> Expression Float_ -> Expression Bool +geq = + unsafeBinary (RelationOperation GreaterThanOrEquals) + + +{-| -} +eq : Expression t -> Expression t -> Expression Bool +eq = + unsafeBinary (RelationOperation Equals) + + + +--Ternary + + +{-| -} +ternary : Expression Bool_ -> Expression (Vec t d) -> Expression (Vec t d) -> Expression (Vec t d) +ternary = + unsafeMap3 Ternary + + + +-- Logic + + +{-| -} +and : Expression Bool_ -> Expression Bool_ -> Expression Bool_ +and = + unsafeMap2 (\l r -> BinaryOperation l And r) + + +{-| -} +ands : List (Expression Bool_) -> Expression Bool_ +ands es = + case es of + [] -> + true + + h :: t -> + List.foldl (\e a -> and a e) h t + + +{-| -} +or : Expression Bool_ -> Expression Bool_ -> Expression Bool_ +or = + unsafeMap2 (\l r -> BinaryOperation l Or r) + + +{-| -} +ors : List (Expression Bool_) -> Expression Bool_ +ors es = + case es of + [] -> + false + + h :: t -> + List.foldl (\e a -> or a e) h t diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Parser.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Parser.elm new file mode 100644 index 00000000..686db752 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Parser.elm @@ -0,0 +1,678 @@ +module Glsl.Parser exposing (Context(..), DeadEnd, Parser, expression, file, function, preprocess, statement) + +import Glsl exposing (BinaryOperation(..), Declaration(..), Expr(..), RelationOperation(..), Stat(..), Type(..), UnaryOperation(..)) +import Parser exposing (Problem(..)) +import Parser.Advanced exposing ((|.), (|=), Step(..), Trailing(..)) +import ParserWithContext exposing (chompIf, chompWhile, end, float, getChompedString, inContext, int, keyword, loop, many, oneOf, sequence, spaces, succeed, symbol) + + +type Context + = ParsingFile + | ParsingFunction + | ParsingStatement + | ParsingExpression + | ParsingForInitialization + | ParsingForCondition + | ParsingForStep + | ParsingForBody + + +type alias Parser a = + ParserWithContext.Parser Context a + + +type alias DeadEnd = + { row : Int + , col : Int + , problem : Problem + , contextStack : List { row : Int, col : Int, context : Context } + } + + +file : Parser ( Maybe { version : Int }, List Declaration ) +file = + succeed Tuple.pair + |. spaces + |= oneOf + [ succeed (\version -> Just { version = version }) + |. symbol "#version" + |= int + , succeed Nothing + ] + |= many + (oneOf + [ const + , uniform + , function + ] + ) + |. end + |> inContext ParsingFile + + +function : Parser Declaration +function = + succeed + (\returnType name args stat -> + FunctionDeclaration + { returnType = returnType + , name = name + , args = args + , stat = stat + } + ) + |= typeParser + |= identifierParser + |= sequence + { start = "(" + , end = ")" + , separator = "," + , item = argParser + , trailing = Forbidden + } + |= statement + |> inContext ParsingFunction + + +const : Parser Declaration +const = + succeed + (\tipe name value -> + ConstDeclaration + { tipe = tipe + , name = name + , value = value + } + ) + |. keyword "const" + |= typeParser + |= identifierParser + |. symbol "=" + |= expression + |. symbol ";" + + +uniform : Parser Declaration +uniform = + succeed + (\tipe name -> + UniformDeclaration + { tipe = tipe + , name = name + } + ) + |. keyword "uniform" + |= typeParser + |= identifierParser + |. symbol ";" + + +argParser : Parser ( Type, String ) +argParser = + succeed Tuple.pair + |= typeParser + |= identifierParser + + +identifierParser : Parser String +identifierParser = + getChompedString + (succeed () + |. chompIf (\c -> Char.isAlpha c || c == '_') (Expecting "Letter or underscore") + |. chompWhile (\c -> Char.isAlphaNum c || c == '_') + ) + |. spaces + + +typeParser : Parser Type +typeParser = + let + baseParser : Parser Type + baseParser = + [ ( "void", TVoid ) + , ( "float", TFloat ) + , ( "int", TInt ) + , ( "bool", TBool ) + , ( "vec2", TVec2 ) + , ( "vec3", TVec3 ) + , ( "vec4", TVec4 ) + , ( "ivec2", TIVec2 ) + , ( "ivec3", TIVec3 ) + , ( "ivec4", TIVec4 ) + , ( "mat2", TMat2 ) + , ( "mat3", TMat3 ) + , ( "mat4", TMat4 ) + ] + |> List.map (\( s, t ) -> succeed t |. keyword s) + |> oneOf + in + succeed identity + |. oneOf + [ keyword "const" + , succeed () + ] + |= oneOf + [ succeed TOut + |. keyword "out" + |= baseParser + , succeed TIn + |. keyword "in" + |= baseParser + , baseParser + ] + + +statement : Parser Stat +statement = + (ParserWithContext.lazy <| + \_ -> + oneOf + [ blockParser + , returnParser + , breakContinueParser + , ifParser + , forParser + , defParser + , expressionStatementParser + ] + ) + |> inContext ParsingStatement + + +breakContinueParser : Parser Stat +breakContinueParser = + oneOf + [ succeed Break + |. keyword "break" + , succeed Continue + |. keyword "continue" + ] + |. symbol ";" + + +expressionStatementParser : Parser Stat +expressionStatementParser = + succeed ExpressionStatement + |= expression + |. symbol ";" + + +ifParser : Parser Stat +ifParser = + succeed (\e s k -> k e s) + |. keyword "if" + |. symbol "(" + |= expression + |. symbol ")" + |= statement + |= oneOf + [ succeed (\b e s -> IfElse e s b) + |. keyword "else" + |= statement + , succeed If + ] + + +forParser : Parser Stat +forParser = + succeed For + |. keyword "for" + |. symbol "(" + |= (oneOf + [ succeed Just |= statement + , succeed Nothing + |. symbol ";" + ] + |> inContext ParsingForInitialization + ) + |= (expression |> inContext ParsingForCondition) + |. symbol ";" + |= (expression |> inContext ParsingForStep) + |. symbol ")" + |= (statement |> inContext ParsingForBody) + + +returnParser : Parser Stat +returnParser = + succeed Return + |. keyword "return" + |= expression + |. symbol ";" + + +blockParser : Parser Stat +blockParser = + sequence + { start = "{" + , item = statement + , separator = "" + , end = "}" + , trailing = Optional + } + |> ParserWithContext.map Glsl.block + + +defParser : Parser Stat +defParser = + succeed + (\type_ var val -> + Decl type_ var val + ) + |= typeParser + |= identifierParser + |= oneOf + [ succeed Just + |. symbol "=" + |= expression + , succeed Nothing + ] + |. symbol ";" + + +expression : Parser Expr +expression = + prec17Parser + |> inContext ParsingExpression + + +prec17Parser : Parser Expr +prec17Parser = + multiSequenceAssocLeft + { separators = [ ( \l r -> BinaryOperation l Comma r, symbol "," ) ] + , item = prec16Parser + } + + +prec16Parser : Parser Expr +prec16Parser = + succeed (\a f -> f a) + |= prec15Parser + |= oneOf + [ succeed (\r l -> BinaryOperation l Assign r) + |. singleSymbol "=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboAdd r) + |. symbol "+=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboSubtract r) + |. symbol "-=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboBy r) + |. symbol "*=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboDiv r) + |. symbol "/=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboMod r) + |. symbol "%=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboLeftShift r) + |. symbol "<<=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboRightShift r) + |. symbol ">>=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboBitwiseAnd r) + |. symbol "&=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboBitwiseOr r) + |. symbol "|=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed (\r l -> BinaryOperation l ComboBitwiseXor r) + |. symbol "^=" + |= ParserWithContext.lazy (\_ -> prec16Parser) + , succeed identity + ] + + +prec15Parser : Parser Expr +prec15Parser = + succeed (\k f -> f k) + |= prec14Parser + |= oneOf + [ succeed (\t f c -> Ternary c t f) + -- c is passed in last in the lambda because it's passed + -- from above + |. symbol "?" + |= prec14Parser + |. symbol ":" + |= ParserWithContext.lazy (\_ -> prec15Parser) + , succeed identity + ] + + +prec14Parser : Parser Expr +prec14Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l Or r, symbol "||" ) + ] + , item = prec13Parser + } + + +prec13Parser : Parser Expr +prec13Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l Xor r, symbol "^^" ) + ] + , item = prec12Parser + } + + +prec12Parser : Parser Expr +prec12Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l And r, symbol "&&" ) + ] + , item = prec11Parser + } + + +prec11Parser : Parser Expr +prec11Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l BitwiseOr r, singleSymbol "|" ) + ] + , item = prec10Parser + } + + +prec10Parser : Parser Expr +prec10Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l BitwiseXor r, singleSymbol "^" ) + ] + , item = prec9Parser + } + + +prec9Parser : Parser Expr +prec9Parser = + multiSequenceAssocLeft + { separators = [ ( \l r -> BinaryOperation l BitwiseAnd r, singleSymbol "&" ) ] + , item = prec8Parser + } + + +singleSymbol : String -> Parser () +singleSymbol s = + symbolNotFollowedBy s [ s ] + + +symbolNotFollowedBy : String -> List String -> Parser () +symbolNotFollowedBy s nots = + succeed () + |. ParserWithContext.backtrackable (symbol s) + |. oneOf + [ succeed () + |. oneOf (List.map symbol nots) + |. ParserWithContext.problem ("Expecting " ++ s ++ " not follwed by any of " ++ String.join ", " nots) + |> ParserWithContext.backtrackable + , succeed () + ] + + +prec8Parser : Parser Expr +prec8Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l (RelationOperation Equals) r, symbol "==" ) + , ( \l r -> BinaryOperation l (RelationOperation NotEquals) r, symbol "!=" ) + ] + , item = prec7Parser + } + + +prec7Parser : Parser Expr +prec7Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l (RelationOperation LessThanOrEquals) r, symbol "<=" ) + , ( \l r -> BinaryOperation l (RelationOperation GreaterThanOrEquals) r, symbol ">=" ) + , ( \l r -> BinaryOperation l (RelationOperation LessThan) r, symbolNotFollowedBy "<" [ "<=" ] ) + , ( \l r -> BinaryOperation l (RelationOperation GreaterThan) r, symbolNotFollowedBy ">" [ ">=" ] ) + ] + , item = prec6Parser + } + + +prec6Parser : Parser Expr +prec6Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l ShiftLeft r, symbolNotFollowedBy "<<" [ "=" ] ) + , ( \l r -> BinaryOperation l ShiftRight r, symbolNotFollowedBy ">>" [ "=" ] ) + ] + , item = prec5Parser + } + + +prec5Parser : Parser Expr +prec5Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l Add r, symbolNotFollowedBy "+" [ "=" ] ) + , ( \l r -> BinaryOperation l Subtract r, symbolNotFollowedBy "-" [ "=" ] ) + ] + , item = prec4Parser + } + + +prec4Parser : Parser Expr +prec4Parser = + multiSequenceAssocLeft + { separators = + [ ( \l r -> BinaryOperation l By r, symbolNotFollowedBy "*" [ "=" ] ) + , ( \l r -> BinaryOperation l Div r, symbolNotFollowedBy "/" [ "=" ] ) + , ( \l r -> BinaryOperation l Mod r, symbolNotFollowedBy "%" [ "=" ] ) + ] + , item = prec3Parser + } + + +prec3Parser : Parser Expr +prec3Parser = + oneOf + [ succeed (UnaryOperation PrefixIncrement) + |. symbol "++" + |= ParserWithContext.lazy (\_ -> prec3Parser) + , succeed (UnaryOperation Plus) + |. singleSymbol "+" + |= ParserWithContext.lazy (\_ -> prec3Parser) + , succeed (UnaryOperation PrefixDecrement) + |. symbol "--" + |= ParserWithContext.lazy (\_ -> prec3Parser) + , succeed + (\c -> + case c of + Float f -> + Float -f + + Int i -> + Int -i + + _ -> + UnaryOperation Negate c + ) + |. singleSymbol "-" + |= ParserWithContext.lazy (\_ -> prec3Parser) + , succeed (UnaryOperation Invert) + |. symbol "~" + |= ParserWithContext.lazy (\_ -> prec3Parser) + , succeed (UnaryOperation Not) + |. symbol "!" + |= ParserWithContext.lazy (\_ -> prec3Parser) + , prec2Parser + ] + + +prec2Parser : Parser Expr +prec2Parser = + succeed (\a f -> f a) + |= prec1Parser + |= ParserWithContext.lazy prec2Suffixes + + +prec2Suffixes : () -> Parser (Expr -> Expr) +prec2Suffixes () = + oneOf + [ succeed (\args k v -> k (Call v args)) + |= sequence + { start = "(" + , separator = "," + , item = ParserWithContext.lazy <| \_ -> prec16Parser + , end = ")" + , trailing = Forbidden + } + |= oneOf + [ ParserWithContext.lazy <| \_ -> prec2Suffixes () + , succeed identity + ] + , succeed (\arg k v -> k (BinaryOperation v ArraySubscript arg)) + |. symbol "[" + |= ParserWithContext.lazy (\_ -> prec16Parser) + |. symbol "]" + |= oneOf + [ ParserWithContext.lazy <| \_ -> prec2Suffixes () + , succeed identity + ] + , succeed (\p k v -> k (Dot v p)) + |. symbol "." + |= identifierParser + |= oneOf + [ ParserWithContext.lazy <| \_ -> prec2Suffixes () + , succeed identity + ] + , succeed (\k v -> k (UnaryOperation PostfixIncrement v)) + |. symbol "++" + |= oneOf + [ ParserWithContext.lazy <| \_ -> prec2Suffixes () + , succeed identity + ] + , succeed (\k v -> k (UnaryOperation PostfixDecrement v)) + |. symbol "--" + |= oneOf + [ ParserWithContext.lazy <| \_ -> prec2Suffixes () + , succeed identity + ] + , succeed identity + ] + + +prec1Parser : Parser Expr +prec1Parser = + oneOf + [ succeed identity + |. symbol "(" + |= ParserWithContext.lazy (\_ -> expression) + |. symbol ")" + , succeed (Bool True) + |. keyword "true" + , succeed (Bool False) + |. keyword "false" + , succeed Variable + |= identifierParser + , succeed Float |= float + , succeed Int |= int + ] + + +type alias SequenceData = + { separators : List ( Expr -> Expr -> Expr, Parser () ) + , item : Parser Expr + } + + +multiSequenceAssocLeft : SequenceData -> Parser Expr +multiSequenceAssocLeft data = + succeed identity + |= data.item + |> ParserWithContext.andThen + (\first -> + loop first (\expr -> multiSequenceHelpLeft data expr) + ) + + +multiSequenceHelpLeft : + SequenceData + -> Expr + -> Parser (Step Expr Expr) +multiSequenceHelpLeft { separators, item } acc = + let + separated : Parser (Step Expr a) + separated = + separators + |> List.map + (\( f, parser ) -> + succeed (\e -> Loop <| f acc e) + |. parser + |= item + ) + |> oneOf + in + oneOf + [ separated + , succeed (Done acc) + ] + + +preprocess : String -> String +preprocess input = + input + |> String.split "\n" + |> spliceLines + |> removeComments + |> expandMacros + |> String.join "\n" + + +spliceLines : List String -> List String +spliceLines lines = + lines + |> List.foldl + (\e ( last, acc ) -> + case last of + Nothing -> + ( Just e, acc ) + + Just l -> + if String.endsWith "\\" l && not (String.endsWith "\\\\" l) then + ( Just (String.dropRight 1 l ++ e), acc ) + + else + ( Just e, l :: acc ) + ) + ( Nothing, [] ) + |> (\( last, acc ) -> + case last of + Nothing -> + List.reverse acc + + Just l -> + List.reverse (l :: acc) + ) + + +removeComments : List String -> List String +removeComments lines = + lines + |> List.map + (\line -> + case String.indexes "//" line of + head :: _ -> + String.left head line + + [] -> + line + ) + + +expandMacros : List String -> List String +expandMacros lines = + -- TODO: macros + lines diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/PrettyPrinter.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/PrettyPrinter.elm new file mode 100644 index 00000000..f10e3568 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/PrettyPrinter.elm @@ -0,0 +1,582 @@ +module Glsl.PrettyPrinter exposing (binaryOperation, declaration, expr, float, stat, type_, unaryOperation) + +import Glsl exposing (BinaryOperation(..), Declaration(..), Expr(..), RelationOperation(..), Stat(..), Type(..), UnaryOperation(..)) + + +stat : Int -> Stat -> String +stat i c = + case c of + Nop -> + "{}" + + Block a b children -> + (indent i "{" + :: List.map (stat (i + 1)) (a :: b :: children) + ++ [ indent i "}" ] + ) + |> String.join "\n" + + If cond t -> + indent i ("if (" ++ expr cond ++ ") ") ++ String.trimLeft (stat (i + 1) t) + + IfElse cond t ((If _ _) as f) -> + [ indent i ("if (" ++ expr cond ++ ") {") + , stat (i + 1) t + , indent i <| "} else " ++ String.trimLeft (stat i f) + ] + |> String.join "\n" + + IfElse cond t ((IfElse _ _ _) as f) -> + [ indent i ("if (" ++ expr cond ++ ") {") + , stat (i + 1) t + , indent i "} else {" + , stat (i + 1) f + , indent i "}" + ] + |> String.join "\n" + + IfElse cond t f -> + [ indent i ("if (" ++ expr cond ++ ") {") + , stat (i + 1) t + , indent i "} else {" + , stat (i + 1) f + , indent i "}" + ] + |> String.join "\n" + + For init check step loop -> + [ indent i ("for ( " ++ maybeStat 0 init ++ "; " ++ expr check ++ "; " ++ expr step ++ ") {") + , stat (i + 1) loop + , indent i "}" + ] + |> String.join "\n" + + Return e -> + indent i <| "return " ++ expr e ++ ";" + + Break -> + indent i "break;" + + Continue -> + indent i "continue;" + + ExpressionStatement e -> + indent i (expr e ++ ";") + + Decl t n (Just e) -> + indent i (type_ t ++ " " ++ n ++ " = " ++ expr e ++ ";") + + Decl t n Nothing -> + indent i (type_ t ++ " " ++ n ++ ";") + + +maybeStat : Int -> Maybe Stat -> String +maybeStat i c = + case c of + Nothing -> + "" + + Just s -> + stat i s + + +indent : Int -> String -> String +indent i line = + String.repeat (4 * i) " " ++ line + + +expr : Expr -> String +expr root = + let + showParen : Bool -> String -> String + showParen show e = + if show then + "(" ++ e ++ ")" + + else + e + + infixl_ : Int -> Int -> Expr -> String -> Expr -> String + infixl_ n p l op r = + showParen (p > n) (go n l ++ " " ++ op ++ " " ++ go (n + 1) r) + + infixr_ : Int -> Int -> Expr -> String -> Expr -> String + infixr_ n p l op r = + showParen (p > n) (go (n + 1) l ++ " " ++ op ++ " " ++ go n r) + + go : Int -> Expr -> String + go p tree = + case tree of + Bool b -> + if b then + "true" + + else + "false" + + Float f -> + float f + + Double d -> + double d + + Int i -> + String.fromInt i + + Uint u -> + String.fromInt u + + Variable v -> + v + + BinaryOperation l ArraySubscript r -> + showParen (p > 15) (go 15 l ++ "[" ++ go 16 r ++ "]") + + Call l r -> + showParen (p > 15) (go 15 l ++ "(" ++ String.join ", " (List.map (go 16) r) ++ ")") + + Dot l r -> + showParen (p > 15) (go 15 l ++ "." ++ r) + + UnaryOperation PostfixIncrement r -> + showParen (p > 15) (go 16 r ++ "++") + + UnaryOperation PostfixDecrement r -> + showParen (p > 15) (go 16 r ++ "--") + + UnaryOperation PrefixIncrement r -> + showParen (p > 14) ("++" ++ go 15 r) + + UnaryOperation PrefixDecrement r -> + showParen (p > 14) ("--" ++ go 15 r) + + UnaryOperation Plus r -> + showParen (p > 14) ("+" ++ go 15 r) + + UnaryOperation Negate r -> + showParen (p > 14) ("-" ++ go 15 r) + + UnaryOperation Invert r -> + showParen (p > 14) ("~" ++ go 15 r) + + UnaryOperation Not r -> + showParen (p > 14) ("!" ++ go 15 r) + + BinaryOperation l By r -> + infixl_ 13 p l "*" r + + BinaryOperation l Div r -> + infixl_ 13 p l "/" r + + BinaryOperation l Mod r -> + infixl_ 13 p l "%" r + + BinaryOperation l Add r -> + infixl_ 12 p l "+" r + + BinaryOperation l Subtract r -> + infixl_ 12 p l "-" r + + BinaryOperation l ShiftLeft r -> + infixl_ 11 p l "<<" r + + BinaryOperation l ShiftRight r -> + infixl_ 11 p l ">>" r + + BinaryOperation l (RelationOperation LessThan) r -> + infixl_ 10 p l "<" r + + BinaryOperation l (RelationOperation LessThanOrEquals) r -> + infixl_ 10 p l "<=" r + + BinaryOperation l (RelationOperation GreaterThan) r -> + infixl_ 10 p l ">" r + + BinaryOperation l (RelationOperation GreaterThanOrEquals) r -> + infixl_ 10 p l ">=" r + + BinaryOperation l (RelationOperation Equals) r -> + infixl_ 9 p l "==" r + + BinaryOperation l (RelationOperation NotEquals) r -> + infixl_ 9 p l "!=" r + + BinaryOperation l BitwiseAnd r -> + infixl_ 8 p l "&" r + + BinaryOperation l BitwiseXor r -> + infixl_ 7 p l "^" r + + BinaryOperation l BitwiseOr r -> + infixl_ 6 p l "|" r + + BinaryOperation l And r -> + infixl_ 5 p l "&&" r + + BinaryOperation l Xor r -> + infixl_ 4 p l "^^" r + + BinaryOperation l Or r -> + infixl_ 3 p l "||" r + + Ternary c t f -> + showParen (p > 2) (go 3 c ++ " ? " ++ go 3 t ++ " : " ++ go 2 f) + + BinaryOperation l Assign r -> + infixr_ 1 p l "=" r + + BinaryOperation l ComboAdd r -> + infixr_ 1 p l "+=" r + + BinaryOperation l ComboSubtract r -> + infixr_ 1 p l "-=" r + + BinaryOperation l ComboBy r -> + infixr_ 1 p l "*=" r + + BinaryOperation l ComboDiv r -> + infixr_ 1 p l "/=" r + + BinaryOperation l ComboMod r -> + infixr_ 1 p l "%=" r + + BinaryOperation l ComboLeftShift r -> + infixr_ 1 p l "<<=" r + + BinaryOperation l ComboRightShift r -> + infixr_ 1 p l ">>=" r + + BinaryOperation l ComboBitwiseAnd r -> + infixr_ 1 p l "&=" r + + BinaryOperation l ComboBitwiseXor r -> + infixr_ 1 p l "^=" r + + BinaryOperation l ComboBitwiseOr r -> + infixr_ 1 p l "|=" r + + BinaryOperation l Comma r -> + infixl_ 0 p l "," r + in + go 0 root + + +binaryOperation : BinaryOperation -> String +binaryOperation op = + case op of + By -> + "*" + + Div -> + "/" + + Mod -> + "%" + + Add -> + "+" + + Subtract -> + "-" + + ShiftLeft -> + "<<" + + ShiftRight -> + ">>" + + RelationOperation LessThan -> + "<" + + RelationOperation LessThanOrEquals -> + "<=" + + RelationOperation GreaterThan -> + ">" + + RelationOperation GreaterThanOrEquals -> + ">=" + + RelationOperation Equals -> + "==" + + RelationOperation NotEquals -> + "!=" + + BitwiseAnd -> + "&" + + BitwiseXor -> + "^" + + BitwiseOr -> + "|" + + And -> + "&&" + + Xor -> + "^^" + + Or -> + "||" + + Assign -> + "=" + + ComboAdd -> + "+=" + + ComboSubtract -> + "-=" + + ComboBy -> + "*=" + + ComboDiv -> + "/=" + + ComboMod -> + "%=" + + ComboLeftShift -> + "<<=" + + ComboRightShift -> + ">>=" + + ComboBitwiseAnd -> + "&=" + + ComboBitwiseXor -> + "^=" + + ComboBitwiseOr -> + "|=" + + Comma -> + "," + + ArraySubscript -> + "[]" + + +type_ : Type -> String +type_ t = + case t of + TFloat -> + "float" + + TInt -> + "int" + + TVec2 -> + "vec2" + + TIVec2 -> + "ivec2" + + TVec3 -> + "vec3" + + TIVec3 -> + "ivec3" + + TVec4 -> + "vec4" + + TIVec4 -> + "ivec4" + + TMat3 -> + "mat3" + + TVoid -> + "void" + + TBool -> + "bool" + + TBVec2 -> + "bvec2" + + TBVec3 -> + "bvec3" + + TBVec4 -> + "bvec4" + + TUint -> + "uint" + + TUVec2 -> + "uvec2" + + TUVec3 -> + "uvec3" + + TUVec4 -> + "uvec4" + + TDouble -> + "double" + + TDVec2 -> + "dvec2" + + TDVec3 -> + "dvec3" + + TDVec4 -> + "dvec4" + + TMat2 -> + "mat2" + + TMat4 -> + "mat4" + + TMat23 -> + "mat2x3" + + TMat24 -> + "mat2x4" + + TMat32 -> + "mat3x2" + + TMat34 -> + "mat3x4" + + TMat42 -> + "mat4x2" + + TMat43 -> + "mat4x3" + + TDMat2 -> + "dmat2" + + TDMat3 -> + "dmat3" + + TDMat4 -> + "dmat4" + + TDMat23 -> + "dmat2x3" + + TDMat24 -> + "dmat2x4" + + TDMat32 -> + "dmat3x2" + + TDMat34 -> + "dmat3x4" + + TDMat42 -> + "dmat4x2" + + TDMat43 -> + "dmat4x3" + + TIn tt -> + "in " ++ type_ tt + + TOut tt -> + "out " ++ type_ tt + + +double : Float -> String +double d = + float d + + +float : Float -> String +float f = + if isNaN f then + "(0./0.)" + + else if isInfinite f then + if f > 0 then + "(1./0.)" + + else + "(-1./0.)" + + else + let + s : String + s = + String.fromFloat f + in + if String.contains "." s || String.contains "e" s then + s + + else + s ++ "." + + +unaryOperation : UnaryOperation -> String +unaryOperation op = + case op of + Negate -> + "-" + + PostfixIncrement -> + "++" + + PostfixDecrement -> + "--" + + PrefixIncrement -> + "(++)" + + PrefixDecrement -> + "(--)" + + Plus -> + "+" + + Invert -> + "~" + + Not -> + "!" + + +declaration : Declaration -> String +declaration decl = + case decl of + ConstDeclaration const -> + "const " ++ type_ const.tipe ++ " " ++ const.name ++ " = " ++ expr const.value ++ ";" + + FunctionDeclaration function -> + let + argsString : String + argsString = + function.args + |> List.map (\( atype, aname ) -> type_ atype ++ " " ++ aname) + |> String.join ", " + + head : String + head = + type_ function.returnType ++ " " ++ function.name ++ "(" ++ argsString ++ ") " + in + case function.stat of + Block _ _ _ -> + head ++ stat 0 function.stat + + Nop -> + head ++ "{}" + + _ -> + [ head ++ "{" + , stat 1 function.stat + , "}" + ] + |> String.join "\n" + + UniformDeclaration uniform -> + "uniform " ++ type_ uniform.tipe ++ " " ++ uniform.name ++ ";" diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Simplify.elm b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Simplify.elm new file mode 100644 index 00000000..d3c0d799 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/Glsl/Simplify.elm @@ -0,0 +1,151 @@ +module Glsl.Simplify exposing (expr, stat) + +import Glsl exposing (Expr(..), Stat(..), UnaryOperation(..)) + + +stat : Stat -> Stat +stat root = + case root of + Return e -> + map stat root Return expr e + + ExpressionStatement e -> + map stat root ExpressionStatement expr e + + If e s1 -> + map2 stat root If expr e stat s1 + + IfElse e s1 s2 -> + map3 stat root IfElse expr e stat s1 stat s2 + + Decl tipe name val -> + map stat root (Decl tipe name) (Maybe.map expr) val + + For init check step loop -> + map4 stat root For (Maybe.map stat) init expr check expr step stat loop + + Block a b children -> + map stat root (Block (stat a) (stat b)) (List.map stat) children + + Nop -> + Nop + + Break -> + Break + + Continue -> + Continue + + +expr : Expr -> Expr +expr root = + case root of + Ternary c t f -> + map3 expr root Ternary expr c expr t expr f + + Dot l r -> + map2 expr root Dot expr l identity r + + BinaryOperation l op r -> + map3 expr root BinaryOperation expr l identity op expr r + + UnaryOperation Negate (Int i) -> + Int -i + + UnaryOperation Negate (Float f) -> + Float -f + + UnaryOperation op l -> + map expr root (UnaryOperation op) expr l + + Call l r -> + map2 expr root Call expr l (List.map expr) r + + -- Bool _ -> + -- Int _ -> + -- Float _ -> + -- Uint _ -> + -- Double _ -> + -- Variable _ -> + _ -> + root + + +map : (a -> a) -> a -> (b -> a) -> (b -> b) -> b -> a +map rootKind root ctor kind val = + let + vals : b + vals = + kind val + in + if vals == val then + root + + else + rootKind (ctor vals) + + +map2 : (a -> a) -> a -> (b -> c -> a) -> (b -> b) -> b -> (c -> c) -> c -> a +map2 rootKind root ctor kind1 val1 kind2 val2 = + let + val1s : b + val1s = + kind1 val1 + + val2s : c + val2s = + kind2 val2 + in + if val1s == val1 && val2s == val2 then + root + + else + rootKind (ctor val1s val2s) + + +map3 : (a -> a) -> a -> (b -> c -> d -> a) -> (b -> b) -> b -> (c -> c) -> c -> (d -> d) -> d -> a +map3 rootKind root ctor kind1 val1 kind2 val2 kind3 val3 = + let + val1s : b + val1s = + kind1 val1 + + val2s : c + val2s = + kind2 val2 + + val3s : d + val3s = + kind3 val3 + in + if val1s == val1 && val2s == val2 && val3s == val3 then + root + + else + rootKind (ctor val1s val2s val3s) + + +map4 : (a -> a) -> a -> (b -> c -> d -> e -> a) -> (b -> b) -> b -> (c -> c) -> c -> (d -> d) -> d -> (e -> e) -> e -> a +map4 rootKind root ctor kind1 val1 kind2 val2 kind3 val3 kind4 val4 = + let + val1s : b + val1s = + kind1 val1 + + val2s : c + val2s = + kind2 val2 + + val3s : d + val3s = + kind3 val3 + + val4s : e + val4s = + kind4 val4 + in + if val1s == val1 && val2s == val2 && val3s == val3 && val4s == val4 then + root + + else + rootKind (ctor val1s val2s val3s val4s) diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/ParserWithContext.elm b/vendored/miniBill/elm-glsl/1.0.0/src/ParserWithContext.elm new file mode 100644 index 00000000..b5f8288e --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/ParserWithContext.elm @@ -0,0 +1,241 @@ +module ParserWithContext exposing (Parser, andThen, backtrackable, chompIf, chompWhile, commit, end, float, getChompedString, inContext, int, keyword, lazy, loop, many, map, oneOf, problem, sequence, spaces, succeed, symbol, token) + +import Parser exposing (Problem(..)) +import Parser.Advanced exposing ((|.), (|=), Step, Token(..)) +import Parser.Advanced.Workaround + + +type alias Parser c a = + Parser.Advanced.Parser c Problem a + + +inContext : c -> Parser c a -> Parser c a +inContext ctx parser = + Parser.Advanced.inContext ctx parser + + +succeed : a -> Parser c a +succeed x = + Parser.Advanced.succeed x + + +getChompedString : Parser c a -> Parser c String +getChompedString parser = + Parser.Advanced.getChompedString parser + + +symbol : String -> Parser c () +symbol k = + Parser.Advanced.symbol (token k) + |. spaces + + +keyword : String -> Parser c () +keyword k = + Parser.Advanced.keyword (token k) + |. spaces + + +token : String -> Token Problem +token k = + if String.isEmpty k then + Token k UnexpectedChar + + else + Token k (Expecting k) + + +end : Parser c () +end = + Parser.Advanced.end ExpectingEnd + + +many : Parser c a -> Parser c (List a) +many item = + sequence + { start = "" + , separator = "" + , item = item + , end = "" + , trailing = Parser.Advanced.Optional + } + + +chompWhile : (Char -> Bool) -> Parser c () +chompWhile cond = + Parser.Advanced.chompWhile cond + + +chompIf : (Char -> Bool) -> Problem -> Parser c () +chompIf cond k = + Parser.Advanced.chompIf cond k + + +oneOf : List (Parser c a) -> Parser c a +oneOf options = + Parser.Advanced.oneOf options + + +spaces : Parser c () +spaces = + let + inner : Parser c () + inner = + chompWhile (\c -> c == ' ' || c == '\n' || c == '\u{000D}' || c == '\t') + + comment : Parser c () + comment = + oneOf + [ Parser.Advanced.Workaround.lineCommentAfter (token "//") + , Parser.Advanced.Workaround.multiCommentAfter (token "/*") (token "*/") Parser.Advanced.NotNestable + ] + in + Parser.Advanced.sequence + { start = token "" + , end = token "" + , trailing = Parser.Advanced.Optional + , spaces = inner + , separator = token "" + , item = comment + } + |> Parser.Advanced.map (\_ -> ()) + + +sequence : + { start : String + , end : String + , trailing : Parser.Advanced.Trailing + , separator : String + , item : Parser c a + } + -> Parser c (List a) +sequence config = + Parser.Advanced.sequence + { start = token config.start + , end = token config.end + , trailing = config.trailing + , spaces = spaces + , separator = token config.separator + , item = config.item + } + |. spaces + + +lazy : (() -> Parser c a) -> Parser c a +lazy k = + Parser.Advanced.lazy k + + +map : (a -> b) -> Parser c a -> Parser c b +map f parser = + Parser.Advanced.map f parser + + +loop : a -> (a -> Parser c (Step a b)) -> Parser c b +loop acc step = + Parser.Advanced.loop acc step + + +backtrackable : Parser c x -> Parser c x +backtrackable parser = + Parser.Advanced.backtrackable parser + + +problem : String -> Parser c a +problem msg = + Parser.Advanced.problem (Problem msg) + + +int : Parser c Int +int = + (succeed () + |. chompIf Char.isDigit ExpectingInt + |. chompWhile Char.isDigit + |> getChompedString + |> andThen + (\s -> + case String.toInt s of + Just i -> + succeed i + + Nothing -> + Parser.Advanced.problem ExpectingInt + ) + ) + |. spaces + + +float : Parser c Float +float = + let + mantissaWithDot : Parser c Float + mantissaWithDot = + oneOf + [ succeed () + |. symbol "." + |. int + , succeed () + |. backtrackable int + |. symbol "." + |. commit () + |. oneOf + [ int + , succeed 0 + ] + ] + |> getChompedString + |> andThen + (\s -> + let + withZero : String + withZero = + if String.endsWith "." s then + s ++ "0" + + else + s + in + case String.toFloat (String.trimRight withZero) of + Just f -> + succeed f + + Nothing -> + problem ("Cannot parse \"" ++ s ++ "\" as float") + ) + + exponent : Parser c Int + exponent = + succeed identity + |. oneOf [ symbol "e", symbol "E" ] + |. commit () + |= oneOf + [ succeed identity + |. symbol "+" + |= int + , succeed negate + |. symbol "-" + |= int + , int + ] + in + oneOf + [ succeed (\c e -> c * 10 ^ toFloat e) + |= mantissaWithDot + |= oneOf + [ exponent + , succeed 0 + ] + , succeed (\c e -> toFloat c * 10 ^ toFloat e) + |= backtrackable int + |= exponent + ] + + +andThen : (a -> Parser c b) -> Parser c a -> Parser c b +andThen f parser = + Parser.Advanced.andThen f parser + + +commit : a -> Parser c a +commit x = + Parser.Advanced.commit x diff --git a/vendored/miniBill/elm-glsl/1.0.0/src/SortedSet.elm b/vendored/miniBill/elm-glsl/1.0.0/src/SortedSet.elm new file mode 100644 index 00000000..4e782477 --- /dev/null +++ b/vendored/miniBill/elm-glsl/1.0.0/src/SortedSet.elm @@ -0,0 +1,55 @@ +module SortedSet exposing (SortedSet, empty, fromList, insert, insertAll, singleton, toList) + +import Set exposing (Set) + + +type SortedSet a + = SortedSet + { reverseOrder : List a + , set : Set a + } + + +empty : SortedSet a +empty = + SortedSet + { reverseOrder = [] + , set = Set.empty + } + + +singleton : comparable -> SortedSet comparable +singleton x = + SortedSet + { reverseOrder = [ x ] + , set = Set.singleton x + } + + +fromList : List comparable -> SortedSet comparable +fromList order = + List.foldl insert empty order + + +toList : SortedSet a -> List a +toList (SortedSet { reverseOrder }) = + List.reverse reverseOrder + + +insert : comparable -> SortedSet comparable -> SortedSet comparable +insert elem ((SortedSet { set, reverseOrder }) as s) = + if Set.member elem set then + s + + else + SortedSet + { set = Set.insert elem set + , reverseOrder = elem :: reverseOrder + } + + +{-| Insert all the elements from the first argument into the set given by the second argument. +-} +insertAll : SortedSet comparable -> SortedSet comparable -> SortedSet comparable +insertAll (SortedSet l) ((SortedSet _) as r) = + List.foldr insert r l.reverseOrder diff --git a/yarn.lock b/yarn.lock index 94327ee6..817b52cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,2038 +1,3320 @@ -# This file is generated by running "yarn install" inside your project. -# Manual changes might be lost - proceed with caution! - -__metadata: - version: 8 - cacheKey: 10c0 - -"@isaacs/cliui@npm:^8.0.2": - version: 8.0.2 - resolution: "@isaacs/cliui@npm:8.0.2" - dependencies: - string-width: "npm:^5.1.2" - string-width-cjs: "npm:string-width@^4.2.0" - strip-ansi: "npm:^7.0.1" - strip-ansi-cjs: "npm:strip-ansi@^6.0.1" - wrap-ansi: "npm:^8.1.0" - wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" - checksum: b1bf42535d49f11dc137f18d5e4e63a28c5569de438a221c369483731e9dac9fb797af554e8bf02b6192d1e5eba6e6402cf93900c3d0ac86391d00d04876789e - languageName: node - linkType: hard - -"@npmcli/agent@npm:^2.0.0": - version: 2.2.0 - resolution: "@npmcli/agent@npm:2.2.0" - dependencies: - agent-base: "npm:^7.1.0" - http-proxy-agent: "npm:^7.0.0" - https-proxy-agent: "npm:^7.0.1" - lru-cache: "npm:^10.0.1" - socks-proxy-agent: "npm:^8.0.1" - checksum: 7b89590598476dda88e79c473766b67c682aae6e0ab0213491daa6083dcc0c171f86b3868f5506f22c09aa5ea69ad7dfb78f4bf39a8dca375d89a42f408645b3 - languageName: node - linkType: hard - -"@npmcli/fs@npm:^3.1.0": - version: 3.1.0 - resolution: "@npmcli/fs@npm:3.1.0" - dependencies: - semver: "npm:^7.3.5" - checksum: 162b4a0b8705cd6f5c2470b851d1dc6cd228c86d2170e1769d738c1fbb69a87160901411c3c035331e9e99db72f1f1099a8b734bf1637cc32b9a5be1660e4e1e - languageName: node - linkType: hard - -"@pkgjs/parseargs@npm:^0.11.0": - version: 0.11.0 - resolution: "@pkgjs/parseargs@npm:0.11.0" - checksum: 5bd7576bb1b38a47a7fc7b51ac9f38748e772beebc56200450c4a817d712232b8f1d3ef70532c80840243c657d491cf6a6be1e3a214cff907645819fdc34aadd - languageName: node - linkType: hard - -"@sindresorhus/is@npm:^4.0.0": - version: 4.6.0 - resolution: "@sindresorhus/is@npm:4.6.0" - checksum: 33b6fb1d0834ec8dd7689ddc0e2781c2bfd8b9c4e4bacbcb14111e0ae00621f2c264b8a7d36541799d74888b5dccdf422a891a5cb5a709ace26325eedc81e22e - languageName: node - linkType: hard - -"@szmarczak/http-timer@npm:^4.0.5": - version: 4.0.6 - resolution: "@szmarczak/http-timer@npm:4.0.6" - dependencies: - defer-to-connect: "npm:^2.0.0" - checksum: 73946918c025339db68b09abd91fa3001e87fc749c619d2e9c2003a663039d4c3cb89836c98a96598b3d47dec2481284ba85355392644911f5ecd2336536697f - languageName: node - linkType: hard - -"@types/cacheable-request@npm:^6.0.1": - version: 6.0.3 - resolution: "@types/cacheable-request@npm:6.0.3" - dependencies: - "@types/http-cache-semantics": "npm:*" - "@types/keyv": "npm:^3.1.4" - "@types/node": "npm:*" - "@types/responselike": "npm:^1.0.0" - checksum: 10816a88e4e5b144d43c1d15a81003f86d649776c7f410c9b5e6579d0ad9d4ca71c541962fb403077388b446e41af7ae38d313e46692144985f006ac5e11fa03 - languageName: node - linkType: hard - -"@types/http-cache-semantics@npm:*": - version: 4.0.4 - resolution: "@types/http-cache-semantics@npm:4.0.4" - checksum: 51b72568b4b2863e0fe8d6ce8aad72a784b7510d72dc866215642da51d84945a9459fa89f49ec48f1e9a1752e6a78e85a4cda0ded06b1c73e727610c925f9ce6 - languageName: node - linkType: hard - -"@types/keyv@npm:^3.1.4": - version: 3.1.4 - resolution: "@types/keyv@npm:3.1.4" - dependencies: - "@types/node": "npm:*" - checksum: ff8f54fc49621210291f815fe5b15d809fd7d032941b3180743440bd507ecdf08b9e844625fa346af568c84bf34114eb378dcdc3e921a08ba1e2a08d7e3c809c - languageName: node - linkType: hard - -"@types/node@npm:*": - version: 20.10.6 - resolution: "@types/node@npm:20.10.6" - dependencies: - undici-types: "npm:~5.26.4" - checksum: 6692ccfa8552ef60c4069fda3c8de726c23e8d403cdf788e3c7efa769987e80fbda5f02723dd857f9de7df24a5fa40b3ed4580ec3c5cbac04eba44cf7b2ab1dc - languageName: node - linkType: hard - -"@types/responselike@npm:^1.0.0": - version: 1.0.3 - resolution: "@types/responselike@npm:1.0.3" - dependencies: - "@types/node": "npm:*" - checksum: a58ba341cb9e7d74f71810a88862da7b2a6fa42e2a1fc0ce40498f6ea1d44382f0640117057da779f74c47039f7166bf48fad02dc876f94e005c7afa50f5e129 - languageName: node - linkType: hard - -"abbrev@npm:^2.0.0": - version: 2.0.0 - resolution: "abbrev@npm:2.0.0" - checksum: f742a5a107473946f426c691c08daba61a1d15942616f300b5d32fd735be88fef5cba24201757b6c407fd564555fb48c751cfa33519b2605c8a7aadd22baf372 - languageName: node - linkType: hard - -"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0": - version: 7.1.0 - resolution: "agent-base@npm:7.1.0" - dependencies: - debug: "npm:^4.3.4" - checksum: fc974ab57ffdd8421a2bc339644d312a9cca320c20c3393c9d8b1fd91731b9bbabdb985df5fc860f5b79d81c3e350daa3fcb31c5c07c0bb385aafc817df004ce - languageName: node - linkType: hard - -"aggregate-error@npm:^3.0.0": - version: 3.1.0 - resolution: "aggregate-error@npm:3.1.0" - dependencies: - clean-stack: "npm:^2.0.0" - indent-string: "npm:^4.0.0" - checksum: a42f67faa79e3e6687a4923050e7c9807db3848a037076f791d10e092677d65c1d2d863b7848560699f40fc0502c19f40963fb1cd1fb3d338a7423df8e45e039 - languageName: node - linkType: hard - -"ansi-escapes@npm:^4.2.1": - version: 4.3.2 - resolution: "ansi-escapes@npm:4.3.2" - dependencies: - type-fest: "npm:^0.21.3" - checksum: da917be01871525a3dfcf925ae2977bc59e8c513d4423368645634bf5d4ceba5401574eb705c1e92b79f7292af5a656f78c5725a4b0e1cec97c4b413705c1d50 - languageName: node - linkType: hard - -"ansi-regex@npm:^5.0.1": - version: 5.0.1 - resolution: "ansi-regex@npm:5.0.1" - checksum: 9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 - languageName: node - linkType: hard - -"ansi-regex@npm:^6.0.1": - version: 6.0.1 - resolution: "ansi-regex@npm:6.0.1" - checksum: cbe16dbd2c6b2735d1df7976a7070dd277326434f0212f43abf6d87674095d247968209babdaad31bb00882fa68807256ba9be340eec2f1004de14ca75f52a08 - languageName: node - linkType: hard - -"ansi-styles@npm:^4.0.0, ansi-styles@npm:^4.1.0": - version: 4.3.0 - resolution: "ansi-styles@npm:4.3.0" - dependencies: - color-convert: "npm:^2.0.1" - checksum: 895a23929da416f2bd3de7e9cb4eabd340949328ab85ddd6e484a637d8f6820d485f53933446f5291c3b760cbc488beb8e88573dd0f9c7daf83dccc8fe81b041 - languageName: node - linkType: hard - -"ansi-styles@npm:^6.1.0": - version: 6.2.1 - resolution: "ansi-styles@npm:6.2.1" - checksum: 5d1ec38c123984bcedd996eac680d548f31828bd679a66db2bdf11844634dde55fec3efa9c6bb1d89056a5e79c1ac540c4c784d592ea1d25028a92227d2f2d5c - languageName: node - linkType: hard - -"anymatch@npm:~3.1.2": - version: 3.1.3 - resolution: "anymatch@npm:3.1.3" - dependencies: - normalize-path: "npm:^3.0.0" - picomatch: "npm:^2.0.4" - checksum: 57b06ae984bc32a0d22592c87384cd88fe4511b1dd7581497831c56d41939c8a001b28e7b853e1450f2bf61992dfcaa8ae2d0d161a0a90c4fb631ef07098fbac - languageName: node - linkType: hard - -"at-least-node@npm:^1.0.0": - version: 1.0.0 - resolution: "at-least-node@npm:1.0.0" - checksum: 4c058baf6df1bc5a1697cf182e2029c58cd99975288a13f9e70068ef5d6f4e1f1fd7c4d2c3c4912eae44797d1725be9700995736deca441b39f3e66d8dee97ef - languageName: node - linkType: hard - -"balanced-match@npm:^1.0.0": - version: 1.0.2 - resolution: "balanced-match@npm:1.0.2" - checksum: 9308baf0a7e4838a82bbfd11e01b1cb0f0cf2893bc1676c27c2a8c0e70cbae1c59120c3268517a8ae7fb6376b4639ef81ca22582611dbee4ed28df945134aaee - languageName: node - linkType: hard - -"base64-js@npm:^1.3.1": - version: 1.5.1 - resolution: "base64-js@npm:1.5.1" - checksum: f23823513b63173a001030fae4f2dabe283b99a9d324ade3ad3d148e218134676f1ee8568c877cd79ec1c53158dcf2d2ba527a97c606618928ba99dd930102bf - languageName: node - linkType: hard - -"binary-extensions@npm:^2.0.0": - version: 2.2.0 - resolution: "binary-extensions@npm:2.2.0" - checksum: d73d8b897238a2d3ffa5f59c0241870043aa7471335e89ea5e1ff48edb7c2d0bb471517a3e4c5c3f4c043615caa2717b5f80a5e61e07503d51dc85cb848e665d - languageName: node - linkType: hard - -"bl@npm:^4.1.0": - version: 4.1.0 - resolution: "bl@npm:4.1.0" - dependencies: - buffer: "npm:^5.5.0" - inherits: "npm:^2.0.4" - readable-stream: "npm:^3.4.0" - checksum: 02847e1d2cb089c9dc6958add42e3cdeaf07d13f575973963335ac0fdece563a50ac770ac4c8fa06492d2dd276f6cc3b7f08c7cd9c7a7ad0f8d388b2a28def5f - languageName: node - linkType: hard - -"brace-expansion@npm:^1.1.7": - version: 1.1.11 - resolution: "brace-expansion@npm:1.1.11" - dependencies: - balanced-match: "npm:^1.0.0" - concat-map: "npm:0.0.1" - checksum: 695a56cd058096a7cb71fb09d9d6a7070113c7be516699ed361317aca2ec169f618e28b8af352e02ab4233fb54eb0168460a40dc320bab0034b36ab59aaad668 - languageName: node - linkType: hard - -"brace-expansion@npm:^2.0.1": - version: 2.0.1 - resolution: "brace-expansion@npm:2.0.1" - dependencies: - balanced-match: "npm:^1.0.0" - checksum: b358f2fe060e2d7a87aa015979ecea07f3c37d4018f8d6deb5bd4c229ad3a0384fe6029bb76cd8be63c81e516ee52d1a0673edbe2023d53a5191732ae3c3e49f - languageName: node - linkType: hard - -"braces@npm:~3.0.2": - version: 3.0.3 - resolution: "braces@npm:3.0.3" - dependencies: - fill-range: "npm:^7.1.1" - checksum: 7c6dfd30c338d2997ba77500539227b9d1f85e388a5f43220865201e407e076783d0881f2d297b9f80951b4c957fcf0b51c1d2d24227631643c3f7c284b0aa04 - languageName: node - linkType: hard - -"buffer@npm:^5.5.0": - version: 5.7.1 - resolution: "buffer@npm:5.7.1" - dependencies: - base64-js: "npm:^1.3.1" - ieee754: "npm:^1.1.13" - checksum: 27cac81cff434ed2876058d72e7c4789d11ff1120ef32c9de48f59eab58179b66710c488987d295ae89a228f835fc66d088652dffeb8e3ba8659f80eb091d55e - languageName: node - linkType: hard - -"cacache@npm:^18.0.0": - version: 18.0.1 - resolution: "cacache@npm:18.0.1" - dependencies: - "@npmcli/fs": "npm:^3.1.0" - fs-minipass: "npm:^3.0.0" - glob: "npm:^10.2.2" - lru-cache: "npm:^10.0.1" - minipass: "npm:^7.0.3" - minipass-collect: "npm:^2.0.1" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.4" - p-map: "npm:^4.0.0" - ssri: "npm:^10.0.0" - tar: "npm:^6.1.11" - unique-filename: "npm:^3.0.0" - checksum: a31666805a80a8b16ad3f85faf66750275a9175a3480896f4f6d31b5d53ef190484fabd71bdb6d2ea5603c717fbef09f4af03d6a65b525c8ef0afaa44c361866 - languageName: node - linkType: hard - -"cacheable-lookup@npm:^5.0.3": - version: 5.0.4 - resolution: "cacheable-lookup@npm:5.0.4" - checksum: a6547fb4954b318aa831cbdd2f7b376824bc784fb1fa67610e4147099e3074726072d9af89f12efb69121415a0e1f2918a8ddd4aafcbcf4e91fbeef4a59cd42c - languageName: node - linkType: hard - -"cacheable-request@npm:^7.0.2": - version: 7.0.4 - resolution: "cacheable-request@npm:7.0.4" - dependencies: - clone-response: "npm:^1.0.2" - get-stream: "npm:^5.1.0" - http-cache-semantics: "npm:^4.0.0" - keyv: "npm:^4.0.0" - lowercase-keys: "npm:^2.0.0" - normalize-url: "npm:^6.0.1" - responselike: "npm:^2.0.0" - checksum: 0834a7d17ae71a177bc34eab06de112a43f9b5ad05ebe929bec983d890a7d9f2bc5f1aa8bb67ea2b65e07a3bc74bea35fa62dd36dbac52876afe36fdcf83da41 - languageName: node - linkType: hard - -"chalk@npm:^4.0.0, chalk@npm:^4.1.0": - version: 4.1.2 - resolution: "chalk@npm:4.1.2" - dependencies: - ansi-styles: "npm:^4.1.0" - supports-color: "npm:^7.1.0" - checksum: 4a3fef5cc34975c898ffe77141450f679721df9dde00f6c304353fa9c8b571929123b26a0e4617bde5018977eb655b31970c297b91b63ee83bb82aeb04666880 - languageName: node - linkType: hard - -"chokidar@npm:^3.5.2, chokidar@npm:^3.5.3": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" - dependencies: - anymatch: "npm:~3.1.2" - braces: "npm:~3.0.2" - fsevents: "npm:~2.3.2" - glob-parent: "npm:~5.1.2" - is-binary-path: "npm:~2.1.0" - is-glob: "npm:~4.0.1" - normalize-path: "npm:~3.0.0" - readdirp: "npm:~3.6.0" - dependenciesMeta: - fsevents: - optional: true - checksum: 1076953093e0707c882a92c66c0f56ba6187831aa51bb4de878c1fec59ae611a3bf02898f190efec8e77a086b8df61c2b2a3ea324642a0558bdf8ee6c5dc9ca1 - languageName: node - linkType: hard - -"chownr@npm:^2.0.0": - version: 2.0.0 - resolution: "chownr@npm:2.0.0" - checksum: 594754e1303672171cc04e50f6c398ae16128eb134a88f801bf5354fd96f205320f23536a045d9abd8b51024a149696e51231565891d4efdab8846021ecf88e6 - languageName: node - linkType: hard - -"clean-stack@npm:^2.0.0": - version: 2.2.0 - resolution: "clean-stack@npm:2.2.0" - checksum: 1f90262d5f6230a17e27d0c190b09d47ebe7efdd76a03b5a1127863f7b3c9aec4c3e6c8bb3a7bbf81d553d56a1fd35728f5a8ef4c63f867ac8d690109742a8c1 - languageName: node - linkType: hard - -"cli-cursor@npm:^3.1.0": - version: 3.1.0 - resolution: "cli-cursor@npm:3.1.0" - dependencies: - restore-cursor: "npm:^3.1.0" - checksum: 92a2f98ff9037d09be3dfe1f0d749664797fb674bf388375a2207a1203b69d41847abf16434203e0089212479e47a358b13a0222ab9fccfe8e2644a7ccebd111 - languageName: node - linkType: hard - -"cli-spinners@npm:^2.5.0": - version: 2.9.2 - resolution: "cli-spinners@npm:2.9.2" - checksum: 907a1c227ddf0d7a101e7ab8b300affc742ead4b4ebe920a5bf1bc6d45dce2958fcd195eb28fa25275062fe6fa9b109b93b63bc8033396ed3bcb50297008b3a3 - languageName: node - linkType: hard - -"clone-response@npm:^1.0.2": - version: 1.0.3 - resolution: "clone-response@npm:1.0.3" - dependencies: - mimic-response: "npm:^1.0.0" - checksum: 06a2b611824efb128810708baee3bd169ec9a1bf5976a5258cd7eb3f7db25f00166c6eee5961f075c7e38e194f373d4fdf86b8166ad5b9c7e82bbd2e333a6087 - languageName: node - linkType: hard - -"clone@npm:^1.0.2": - version: 1.0.4 - resolution: "clone@npm:1.0.4" - checksum: 2176952b3649293473999a95d7bebfc9dc96410f6cbd3d2595cf12fd401f63a4bf41a7adbfd3ab2ff09ed60cb9870c58c6acdd18b87767366fabfc163700f13b - languageName: node - linkType: hard - -"color-convert@npm:^2.0.1": - version: 2.0.1 - resolution: "color-convert@npm:2.0.1" - dependencies: - color-name: "npm:~1.1.4" - checksum: 37e1150172f2e311fe1b2df62c6293a342ee7380da7b9cfdba67ea539909afbd74da27033208d01d6d5cfc65ee7868a22e18d7e7648e004425441c0f8a15a7d7 - languageName: node - linkType: hard - -"color-name@npm:~1.1.4": - version: 1.1.4 - resolution: "color-name@npm:1.1.4" - checksum: a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 - languageName: node - linkType: hard - -"commander@npm:^6.0.0": - version: 6.2.1 - resolution: "commander@npm:6.2.1" - checksum: 85748abd9d18c8bc88febed58b98f66b7c591d9b5017cad459565761d7b29ca13b7783ea2ee5ce84bf235897333706c4ce29adf1ce15c8252780e7000e2ce9ea - languageName: node - linkType: hard - -"concat-map@npm:0.0.1": - version: 0.0.1 - resolution: "concat-map@npm:0.0.1" - checksum: c996b1cfdf95b6c90fee4dae37e332c8b6eb7d106430c17d538034c0ad9a1630cb194d2ab37293b1bdd4d779494beee7786d586a50bd9376fd6f7bcc2bd4c98f - languageName: node - linkType: hard - -"cross-spawn@npm:6.0.5": - version: 6.0.5 - resolution: "cross-spawn@npm:6.0.5" - dependencies: - nice-try: "npm:^1.0.4" - path-key: "npm:^2.0.1" - semver: "npm:^5.5.0" - shebang-command: "npm:^1.2.0" - which: "npm:^1.2.9" - checksum: e05544722e9d7189b4292c66e42b7abeb21db0d07c91b785f4ae5fefceb1f89e626da2703744657b287e86dcd4af57b54567cef75159957ff7a8a761d9055012 - languageName: node - linkType: hard - -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3": - version: 7.0.3 - resolution: "cross-spawn@npm:7.0.3" - dependencies: - path-key: "npm:^3.1.0" - shebang-command: "npm:^2.0.0" - which: "npm:^2.0.1" - checksum: 5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750 - languageName: node - linkType: hard - -"debug@npm:4, debug@npm:^4.1.1, debug@npm:^4.3.4": - version: 4.3.4 - resolution: "debug@npm:4.3.4" - dependencies: - ms: "npm:2.1.2" - peerDependenciesMeta: - supports-color: - optional: true - checksum: cedbec45298dd5c501d01b92b119cd3faebe5438c3917ff11ae1bff86a6c722930ac9c8659792824013168ba6db7c4668225d845c633fbdafbbf902a6389f736 - languageName: node - linkType: hard - -"decompress-response@npm:^6.0.0": - version: 6.0.0 - resolution: "decompress-response@npm:6.0.0" - dependencies: - mimic-response: "npm:^3.1.0" - checksum: bd89d23141b96d80577e70c54fb226b2f40e74a6817652b80a116d7befb8758261ad073a8895648a29cc0a5947021ab66705cb542fa9c143c82022b27c5b175e - languageName: node - linkType: hard - -"defaults@npm:^1.0.3": - version: 1.0.4 - resolution: "defaults@npm:1.0.4" - dependencies: - clone: "npm:^1.0.2" - checksum: 9cfbe498f5c8ed733775db62dfd585780387d93c17477949e1670bfcfb9346e0281ce8c4bf9f4ac1fc0f9b851113bd6dc9e41182ea1644ccd97de639fa13c35a - languageName: node - linkType: hard - -"defer-to-connect@npm:^2.0.0": - version: 2.0.1 - resolution: "defer-to-connect@npm:2.0.1" - checksum: 625ce28e1b5ad10cf77057b9a6a727bf84780c17660f6644dab61dd34c23de3001f03cedc401f7d30a4ed9965c2e8a7336e220a329146f2cf85d4eddea429782 - languageName: node - linkType: hard - -"eastasianwidth@npm:^0.2.0": - version: 0.2.0 - resolution: "eastasianwidth@npm:0.2.0" - checksum: 26f364ebcdb6395f95124fda411f63137a4bfb5d3a06453f7f23dfe52502905bd84e0488172e0f9ec295fdc45f05c23d5d91baf16bd26f0fe9acd777a188dc39 - languageName: node - linkType: hard - -"elm-optimize-level-2@npm:^0.1.5": - version: 0.1.5 - resolution: "elm-optimize-level-2@npm:0.1.5" - dependencies: - chalk: "npm:^4.1.0" - commander: "npm:^6.0.0" - node-elm-compiler: "npm:^5.0.4" - ts-union: "npm:^2.2.1" - typescript: "npm:^3.9.7" - bin: - elm-optimize-level-2: bin/elm-optimize-level-2.js - checksum: 2d16da5881b2b595b9cd20624fbd5df31bade797ad2cf2a630f644ba269a420c22b3d33834a3dfdba6fadfddeada15ee184df804b3959278369100e7d8d88e1d - languageName: node - linkType: hard - -"elm-review@npm:^2.10.2": - version: 2.10.3 - resolution: "elm-review@npm:2.10.3" - dependencies: - chalk: "npm:^4.0.0" - chokidar: "npm:^3.5.2" - cross-spawn: "npm:^7.0.3" - elm-tooling: "npm:^1.14.1" - fastest-levenshtein: "npm:^1.0.16" - find-up: "npm:^4.1.0" - folder-hash: "npm:^3.3.0" - fs-extra: "npm:^9.0.0" - glob: "npm:^7.1.4" - got: "npm:^11.8.5" - graceful-fs: "npm:^4.2.11" - minimist: "npm:^1.2.6" - ora: "npm:^5.4.0" - path-key: "npm:^3.1.1" - prompts: "npm:^2.2.1" - rimraf: "npm:^5.0.0" - strip-ansi: "npm:^6.0.0" - terminal-link: "npm:^2.1.1" - which: "npm:^2.0.2" - wrap-ansi: "npm:^6.2.0" - bin: - elm-review: bin/elm-review - checksum: 61e5748ee8f905e45a4ea47cb1451abb09815c633f31fd778ef43e24e0a3ac03fff043abed6d26e1032f2419d8a21f68748f666e5be93e3b2cbcab65c56ab4a8 - languageName: node - linkType: hard - -"elm-tooling@npm:^1.14.1": - version: 1.15.0 - resolution: "elm-tooling@npm:1.15.0" - bin: - elm-tooling: index.js - checksum: 224a01a904caf059b3aede4d1626338bf1e5badbdc66535db68539715b58486e67728764e262c1a78ffc8dbc49047b0c2912658b8ddbd67c1039ecd2ccec81d6 - languageName: node - linkType: hard - -"elm-watch@npm:^1.1.2": - version: 1.1.2 - resolution: "elm-watch@npm:1.1.2" - dependencies: - chokidar: "npm:^3.5.3" - cross-spawn: "npm:^7.0.3" - tiny-decoders: "npm:^7.0.1" - ws: "npm:^8.12.0" - bin: - elm-watch: index.js - checksum: 26dbb1127a3148425726c95414880f6dadda2d34db34ce91cd9194b2d9527a50b9774c74408b523ade31f6e3e4248720bc411606ccd27d711bf6aa083fcf4602 - languageName: node - linkType: hard - -"emoji-regex@npm:^8.0.0": - version: 8.0.0 - resolution: "emoji-regex@npm:8.0.0" - checksum: b6053ad39951c4cf338f9092d7bfba448cdfd46fe6a2a034700b149ac9ffbc137e361cbd3c442297f86bed2e5f7576c1b54cc0a6bf8ef5106cc62f496af35010 - languageName: node - linkType: hard - -"emoji-regex@npm:^9.2.2": - version: 9.2.2 - resolution: "emoji-regex@npm:9.2.2" - checksum: af014e759a72064cf66e6e694a7fc6b0ed3d8db680427b021a89727689671cefe9d04151b2cad51dbaf85d5ba790d061cd167f1cf32eb7b281f6368b3c181639 - languageName: node - linkType: hard - -"encoding@npm:^0.1.13": - version: 0.1.13 - resolution: "encoding@npm:0.1.13" - dependencies: - iconv-lite: "npm:^0.6.2" - checksum: 36d938712ff00fe1f4bac88b43bcffb5930c1efa57bbcdca9d67e1d9d6c57cfb1200fb01efe0f3109b2ce99b231f90779532814a81370a1bd3274a0f58585039 - languageName: node - linkType: hard - -"end-of-stream@npm:^1.1.0": - version: 1.4.4 - resolution: "end-of-stream@npm:1.4.4" - dependencies: - once: "npm:^1.4.0" - checksum: 870b423afb2d54bb8d243c63e07c170409d41e20b47eeef0727547aea5740bd6717aca45597a9f2745525667a6b804c1e7bede41f856818faee5806dd9ff3975 - languageName: node - linkType: hard - -"env-paths@npm:^2.2.0": - version: 2.2.1 - resolution: "env-paths@npm:2.2.1" - checksum: 285325677bf00e30845e330eec32894f5105529db97496ee3f598478e50f008c5352a41a30e5e72ec9de8a542b5a570b85699cd63bd2bc646dbcb9f311d83bc4 - languageName: node - linkType: hard - -"err-code@npm:^2.0.2": - version: 2.0.3 - resolution: "err-code@npm:2.0.3" - checksum: b642f7b4dd4a376e954947550a3065a9ece6733ab8e51ad80db727aaae0817c2e99b02a97a3d6cecc648a97848305e728289cf312d09af395403a90c9d4d8a66 - languageName: node - linkType: hard - -"exponential-backoff@npm:^3.1.1": - version: 3.1.1 - resolution: "exponential-backoff@npm:3.1.1" - checksum: 160456d2d647e6019640bd07111634d8c353038d9fa40176afb7cd49b0548bdae83b56d05e907c2cce2300b81cae35d800ef92fefb9d0208e190fa3b7d6bb579 - languageName: node - linkType: hard - -"fastest-levenshtein@npm:^1.0.16": - version: 1.0.16 - resolution: "fastest-levenshtein@npm:1.0.16" - checksum: 7e3d8ae812a7f4fdf8cad18e9cde436a39addf266a5986f653ea0d81e0de0900f50c0f27c6d5aff3f686bcb48acbd45be115ae2216f36a6a13a7dbbf5cad878b - languageName: node - linkType: hard - -"fill-range@npm:^7.1.1": - version: 7.1.1 - resolution: "fill-range@npm:7.1.1" - dependencies: - to-regex-range: "npm:^5.0.1" - checksum: b75b691bbe065472f38824f694c2f7449d7f5004aa950426a2c28f0306c60db9b880c0b0e4ed819997ffb882d1da02cfcfc819bddc94d71627f5269682edf018 - languageName: node - linkType: hard - -"find-elm-dependencies@npm:^2.0.4": - version: 2.0.4 - resolution: "find-elm-dependencies@npm:2.0.4" - dependencies: - firstline: "npm:^1.2.0" - lodash: "npm:^4.17.19" - bin: - find-elm-dependencies: bin/cli.js - checksum: f5fca6ab23963ea14031383b89444478075da219c27990f823c80237602c0e4e709944ed9d7cb9c28864200b3570a09e028eedc006fa6304d338188ad8e2b1fe - languageName: node - linkType: hard - -"find-up@npm:^4.1.0": - version: 4.1.0 - resolution: "find-up@npm:4.1.0" - dependencies: - locate-path: "npm:^5.0.0" - path-exists: "npm:^4.0.0" - checksum: 0406ee89ebeefa2d507feb07ec366bebd8a6167ae74aa4e34fb4c4abd06cf782a3ce26ae4194d70706f72182841733f00551c209fe575cb00bd92104056e78c1 - languageName: node - linkType: hard - -"firstline@npm:^1.2.0": - version: 1.3.1 - resolution: "firstline@npm:1.3.1" - checksum: 70c283c7f7da874756b1220bb097111e2640417d7e96ab160e65d5d0a85c357e823173e1942ccd8583597d50c79295ae930a90b5cd9becd72d5286084a5afb92 - languageName: node - linkType: hard - -"folder-hash@npm:^3.3.0": - version: 3.3.3 - resolution: "folder-hash@npm:3.3.3" - dependencies: - debug: "npm:^4.1.1" - graceful-fs: "npm:~4.2.0" - minimatch: "npm:~3.0.4" - bin: - folder-hash: bin/folder-hash - checksum: f5cfab66b1529af0ebf5304f0ffdc0083f73db6441b8a7841ea274b65916f3bc8bdd2b923bbb3257bd89d409926f05ec3480145865183e285e7e470e81f7382b - languageName: node - linkType: hard - -"foreground-child@npm:^3.1.0": - version: 3.1.1 - resolution: "foreground-child@npm:3.1.1" - dependencies: - cross-spawn: "npm:^7.0.0" - signal-exit: "npm:^4.0.1" - checksum: 9700a0285628abaeb37007c9a4d92bd49f67210f09067638774338e146c8e9c825c5c877f072b2f75f41dc6a2d0be8664f79ffc03f6576649f54a84fb9b47de0 - languageName: node - linkType: hard - -"fs-extra@npm:^9.0.0": - version: 9.1.0 - resolution: "fs-extra@npm:9.1.0" - dependencies: - at-least-node: "npm:^1.0.0" - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: 9b808bd884beff5cb940773018179a6b94a966381d005479f00adda6b44e5e3d4abf765135773d849cc27efe68c349e4a7b86acd7d3306d5932c14f3a4b17a92 - languageName: node - linkType: hard - -"fs-minipass@npm:^2.0.0": - version: 2.1.0 - resolution: "fs-minipass@npm:2.1.0" - dependencies: - minipass: "npm:^3.0.0" - checksum: 703d16522b8282d7299337539c3ed6edddd1afe82435e4f5b76e34a79cd74e488a8a0e26a636afc2440e1a23b03878e2122e3a2cfe375a5cf63c37d92b86a004 - languageName: node - linkType: hard - -"fs-minipass@npm:^3.0.0": - version: 3.0.3 - resolution: "fs-minipass@npm:3.0.3" - dependencies: - minipass: "npm:^7.0.3" - checksum: 63e80da2ff9b621e2cb1596abcb9207f1cf82b968b116ccd7b959e3323144cce7fb141462200971c38bbf2ecca51695069db45265705bed09a7cd93ae5b89f94 - languageName: node - linkType: hard - -"fs.realpath@npm:^1.0.0": - version: 1.0.0 - resolution: "fs.realpath@npm:1.0.0" - checksum: 444cf1291d997165dfd4c0d58b69f0e4782bfd9149fd72faa4fe299e68e0e93d6db941660b37dd29153bf7186672ececa3b50b7e7249477b03fdf850f287c948 - languageName: node - linkType: hard - -"fsevents@npm:~2.3.2": - version: 2.3.3 - resolution: "fsevents@npm:2.3.3" - dependencies: - node-gyp: "npm:latest" - checksum: a1f0c44595123ed717febbc478aa952e47adfc28e2092be66b8ab1635147254ca6cfe1df792a8997f22716d4cbafc73309899ff7bfac2ac3ad8cf2e4ecc3ec60 - conditions: os=darwin - languageName: node - linkType: hard - -"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": - version: 2.3.3 - resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" - dependencies: - node-gyp: "npm:latest" - conditions: os=darwin - languageName: node - linkType: hard - -"get-stream@npm:^5.1.0": - version: 5.2.0 - resolution: "get-stream@npm:5.2.0" - dependencies: - pump: "npm:^3.0.0" - checksum: 43797ffd815fbb26685bf188c8cfebecb8af87b3925091dd7b9a9c915993293d78e3c9e1bce125928ff92f2d0796f3889b92b5ec6d58d1041b574682132e0a80 - languageName: node - linkType: hard - -"glob-parent@npm:~5.1.2": - version: 5.1.2 - resolution: "glob-parent@npm:5.1.2" - dependencies: - is-glob: "npm:^4.0.1" - checksum: cab87638e2112bee3f839ef5f6e0765057163d39c66be8ec1602f3823da4692297ad4e972de876ea17c44d652978638d2fd583c6713d0eb6591706825020c9ee - languageName: node - linkType: hard - -"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": - version: 10.3.10 - resolution: "glob@npm:10.3.10" - dependencies: - foreground-child: "npm:^3.1.0" - jackspeak: "npm:^2.3.5" - minimatch: "npm:^9.0.1" - minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" - path-scurry: "npm:^1.10.1" - bin: - glob: dist/esm/bin.mjs - checksum: 13d8a1feb7eac7945f8c8480e11cd4a44b24d26503d99a8d8ac8d5aefbf3e9802a2b6087318a829fad04cb4e829f25c5f4f1110c68966c498720dd261c7e344d - languageName: node - linkType: hard - -"glob@npm:^7.1.3, glob@npm:^7.1.4": - version: 7.2.3 - resolution: "glob@npm:7.2.3" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.1.1" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: 65676153e2b0c9095100fe7f25a778bf45608eeb32c6048cf307f579649bcc30353277b3b898a3792602c65764e5baa4f643714dfbdfd64ea271d210c7a425fe - languageName: node - linkType: hard - -"got@npm:^11.8.5": - version: 11.8.6 - resolution: "got@npm:11.8.6" - dependencies: - "@sindresorhus/is": "npm:^4.0.0" - "@szmarczak/http-timer": "npm:^4.0.5" - "@types/cacheable-request": "npm:^6.0.1" - "@types/responselike": "npm:^1.0.0" - cacheable-lookup: "npm:^5.0.3" - cacheable-request: "npm:^7.0.2" - decompress-response: "npm:^6.0.0" - http2-wrapper: "npm:^1.0.0-beta.5.2" - lowercase-keys: "npm:^2.0.0" - p-cancelable: "npm:^2.0.0" - responselike: "npm:^2.0.0" - checksum: 754dd44877e5cf6183f1e989ff01c648d9a4719e357457bd4c78943911168881f1cfb7b2cb15d885e2105b3ad313adb8f017a67265dd7ade771afdb261ee8cb1 - languageName: node - linkType: hard - -"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.6, graceful-fs@npm:~4.2.0": - version: 4.2.11 - resolution: "graceful-fs@npm:4.2.11" - checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 - languageName: node - linkType: hard - -"has-flag@npm:^4.0.0": - version: 4.0.0 - resolution: "has-flag@npm:4.0.0" - checksum: 2e789c61b7888d66993e14e8331449e525ef42aac53c627cc53d1c3334e768bcb6abdc4f5f0de1478a25beec6f0bd62c7549058b7ac53e924040d4f301f02fd1 - languageName: node - linkType: hard - -"http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.1": - version: 4.1.1 - resolution: "http-cache-semantics@npm:4.1.1" - checksum: ce1319b8a382eb3cbb4a37c19f6bfe14e5bb5be3d09079e885e8c513ab2d3cd9214902f8a31c9dc4e37022633ceabfc2d697405deeaf1b8f3552bb4ed996fdfc - languageName: node - linkType: hard - -"http-proxy-agent@npm:^7.0.0": - version: 7.0.0 - resolution: "http-proxy-agent@npm:7.0.0" - dependencies: - agent-base: "npm:^7.1.0" - debug: "npm:^4.3.4" - checksum: a11574ff39436cee3c7bc67f259444097b09474605846ddd8edf0bf4ad8644be8533db1aa463426e376865047d05dc22755e638632819317c0c2f1b2196657c8 - languageName: node - linkType: hard - -"http2-wrapper@npm:^1.0.0-beta.5.2": - version: 1.0.3 - resolution: "http2-wrapper@npm:1.0.3" - dependencies: - quick-lru: "npm:^5.1.1" - resolve-alpn: "npm:^1.0.0" - checksum: 6a9b72a033e9812e1476b9d776ce2f387bc94bc46c88aea0d5dab6bd47d0a539b8178830e77054dd26d1142c866d515a28a4dc7c3ff4232c88ff2ebe4f5d12d1 - languageName: node - linkType: hard - -"https-proxy-agent@npm:^7.0.1": - version: 7.0.2 - resolution: "https-proxy-agent@npm:7.0.2" - dependencies: - agent-base: "npm:^7.0.2" - debug: "npm:4" - checksum: 7735eb90073db087e7e79312e3d97c8c04baf7ea7ca7b013382b6a45abbaa61b281041a98f4e13c8c80d88f843785bcc84ba189165b4b4087b1e3496ba656d77 - languageName: node - linkType: hard - -"iconv-lite@npm:^0.6.2": - version: 0.6.3 - resolution: "iconv-lite@npm:0.6.3" - dependencies: - safer-buffer: "npm:>= 2.1.2 < 3.0.0" - checksum: 98102bc66b33fcf5ac044099d1257ba0b7ad5e3ccd3221f34dd508ab4070edff183276221684e1e0555b145fce0850c9f7d2b60a9fcac50fbb4ea0d6e845a3b1 - languageName: node - linkType: hard - -"ieee754@npm:^1.1.13": - version: 1.2.1 - resolution: "ieee754@npm:1.2.1" - checksum: b0782ef5e0935b9f12883a2e2aa37baa75da6e66ce6515c168697b42160807d9330de9a32ec1ed73149aea02e0d822e572bca6f1e22bdcbd2149e13b050b17bb - languageName: node - linkType: hard - -"immediate@npm:~3.0.5": - version: 3.0.6 - resolution: "immediate@npm:3.0.6" - checksum: f8ba7ede69bee9260241ad078d2d535848745ff5f6995c7c7cb41cfdc9ccc213f66e10fa5afb881f90298b24a3f7344b637b592beb4f54e582770cdce3f1f039 - languageName: node - linkType: hard - -"imurmurhash@npm:^0.1.4": - version: 0.1.4 - resolution: "imurmurhash@npm:0.1.4" - checksum: 8b51313850dd33605c6c9d3fd9638b714f4c4c40250cff658209f30d40da60f78992fb2df5dabee4acf589a6a82bbc79ad5486550754bd9ec4e3fc0d4a57d6a6 - languageName: node - linkType: hard - -"indent-string@npm:^4.0.0": - version: 4.0.0 - resolution: "indent-string@npm:4.0.0" - checksum: 1e1904ddb0cb3d6cce7cd09e27a90184908b7a5d5c21b92e232c93579d314f0b83c246ffb035493d0504b1e9147ba2c9b21df0030f48673fba0496ecd698161f - languageName: node - linkType: hard - -"inflight@npm:^1.0.4": - version: 1.0.6 - resolution: "inflight@npm:1.0.6" - dependencies: - once: "npm:^1.3.0" - wrappy: "npm:1" - checksum: 7faca22584600a9dc5b9fca2cd5feb7135ac8c935449837b315676b4c90aa4f391ec4f42240178244b5a34e8bede1948627fda392ca3191522fc46b34e985ab2 - languageName: node - linkType: hard - -"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:^2.0.4": - version: 2.0.4 - resolution: "inherits@npm:2.0.4" - checksum: 4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2 - languageName: node - linkType: hard - -"ip@npm:^2.0.0": - version: 2.0.1 - resolution: "ip@npm:2.0.1" - checksum: cab8eb3e88d0abe23e4724829621ec4c4c5cb41a7f936a2e626c947128c1be16ed543448d42af7cca95379f9892bfcacc1ccd8d09bc7e8bea0e86d492ce33616 - languageName: node - linkType: hard - -"is-binary-path@npm:~2.1.0": - version: 2.1.0 - resolution: "is-binary-path@npm:2.1.0" - dependencies: - binary-extensions: "npm:^2.0.0" - checksum: a16eaee59ae2b315ba36fad5c5dcaf8e49c3e27318f8ab8fa3cdb8772bf559c8d1ba750a589c2ccb096113bb64497084361a25960899cb6172a6925ab6123d38 - languageName: node - linkType: hard - -"is-extglob@npm:^2.1.1": - version: 2.1.1 - resolution: "is-extglob@npm:2.1.1" - checksum: 5487da35691fbc339700bbb2730430b07777a3c21b9ebaecb3072512dfd7b4ba78ac2381a87e8d78d20ea08affb3f1971b4af629173a6bf435ff8a4c47747912 - languageName: node - linkType: hard - -"is-fullwidth-code-point@npm:^3.0.0": - version: 3.0.0 - resolution: "is-fullwidth-code-point@npm:3.0.0" - checksum: bb11d825e049f38e04c06373a8d72782eee0205bda9d908cc550ccb3c59b99d750ff9537982e01733c1c94a58e35400661f57042158ff5e8f3e90cf936daf0fc - languageName: node - linkType: hard - -"is-glob@npm:^4.0.1, is-glob@npm:~4.0.1": - version: 4.0.3 - resolution: "is-glob@npm:4.0.3" - dependencies: - is-extglob: "npm:^2.1.1" - checksum: 17fb4014e22be3bbecea9b2e3a76e9e34ff645466be702f1693e8f1ee1adac84710d0be0bd9f967d6354036fd51ab7c2741d954d6e91dae6bb69714de92c197a - languageName: node - linkType: hard - -"is-interactive@npm:^1.0.0": - version: 1.0.0 - resolution: "is-interactive@npm:1.0.0" - checksum: dd47904dbf286cd20aa58c5192161be1a67138485b9836d5a70433b21a45442e9611b8498b8ab1f839fc962c7620667a50535fdfb4a6bc7989b8858645c06b4d - languageName: node - linkType: hard - -"is-lambda@npm:^1.0.1": - version: 1.0.1 - resolution: "is-lambda@npm:1.0.1" - checksum: 85fee098ae62ba6f1e24cf22678805473c7afd0fb3978a3aa260e354cb7bcb3a5806cf0a98403188465efedec41ab4348e8e4e79305d409601323855b3839d4d - languageName: node - linkType: hard - -"is-number@npm:^7.0.0": - version: 7.0.0 - resolution: "is-number@npm:7.0.0" - checksum: b4686d0d3053146095ccd45346461bc8e53b80aeb7671cc52a4de02dbbf7dc0d1d2a986e2fe4ae206984b4d34ef37e8b795ebc4f4295c978373e6575e295d811 - languageName: node - linkType: hard - -"is-unicode-supported@npm:^0.1.0": - version: 0.1.0 - resolution: "is-unicode-supported@npm:0.1.0" - checksum: 00cbe3455c3756be68d2542c416cab888aebd5012781d6819749fefb15162ff23e38501fe681b3d751c73e8ff561ac09a5293eba6f58fdf0178462ce6dcb3453 - languageName: node - linkType: hard - -"isexe@npm:^2.0.0": - version: 2.0.0 - resolution: "isexe@npm:2.0.0" - checksum: 228cfa503fadc2c31596ab06ed6aa82c9976eec2bfd83397e7eaf06d0ccf42cd1dfd6743bf9aeb01aebd4156d009994c5f76ea898d2832c1fe342da923ca457d - languageName: node - linkType: hard - -"isexe@npm:^3.1.1": - version: 3.1.1 - resolution: "isexe@npm:3.1.1" - checksum: 9ec257654093443eb0a528a9c8cbba9c0ca7616ccb40abd6dde7202734d96bb86e4ac0d764f0f8cd965856aacbff2f4ce23e730dc19dfb41e3b0d865ca6fdcc7 - languageName: node - linkType: hard - -"jackspeak@npm:^2.3.5": - version: 2.3.6 - resolution: "jackspeak@npm:2.3.6" - dependencies: - "@isaacs/cliui": "npm:^8.0.2" - "@pkgjs/parseargs": "npm:^0.11.0" - dependenciesMeta: - "@pkgjs/parseargs": - optional: true - checksum: f01d8f972d894cd7638bc338e9ef5ddb86f7b208ce177a36d718eac96ec86638a6efa17d0221b10073e64b45edc2ce15340db9380b1f5d5c5d000cbc517dc111 - languageName: node - linkType: hard - -"json-buffer@npm:3.0.1": - version: 3.0.1 - resolution: "json-buffer@npm:3.0.1" - checksum: 0d1c91569d9588e7eef2b49b59851f297f3ab93c7b35c7c221e288099322be6b562767d11e4821da500f3219542b9afd2e54c5dc573107c1126ed1080f8e96d7 - languageName: node - linkType: hard - -"jsonfile@npm:^6.0.1": - version: 6.1.0 - resolution: "jsonfile@npm:6.1.0" - dependencies: - graceful-fs: "npm:^4.1.6" - universalify: "npm:^2.0.0" - dependenciesMeta: - graceful-fs: - optional: true - checksum: 4f95b5e8a5622b1e9e8f33c96b7ef3158122f595998114d1e7f03985649ea99cb3cd99ce1ed1831ae94c8c8543ab45ebd044207612f31a56fd08462140e46865 - languageName: node - linkType: hard - -"keyv@npm:^4.0.0": - version: 4.5.4 - resolution: "keyv@npm:4.5.4" - dependencies: - json-buffer: "npm:3.0.1" - checksum: aa52f3c5e18e16bb6324876bb8b59dd02acf782a4b789c7b2ae21107fab95fab3890ed448d4f8dba80ce05391eeac4bfabb4f02a20221342982f806fa2cf271e - languageName: node - linkType: hard - -"kleur@npm:^3.0.3": - version: 3.0.3 - resolution: "kleur@npm:3.0.3" - checksum: cd3a0b8878e7d6d3799e54340efe3591ca787d9f95f109f28129bdd2915e37807bf8918bb295ab86afb8c82196beec5a1adcaf29042ce3f2bd932b038fe3aa4b - languageName: node - linkType: hard - -"lie@npm:3.1.1": - version: 3.1.1 - resolution: "lie@npm:3.1.1" - dependencies: - immediate: "npm:~3.0.5" - checksum: d62685786590351b8e407814acdd89efe1cb136f05cb9236c5a97b2efdca1f631d2997310ad2d565c753db7596799870140e4777c9c9b8c44a0f6bf42d1804a1 - languageName: node - linkType: hard - -"localforage@npm:^1.9.0": - version: 1.10.0 - resolution: "localforage@npm:1.10.0" - dependencies: - lie: "npm:3.1.1" - checksum: 00f19f1f97002e6721587ed5017f502d58faf80dae567d5065d4d1ee0caf0762f40d2e2dba7f0ef7d3f14ee6203242daae9ecad97359bfc10ecff36df11d85a3 - languageName: node - linkType: hard - -"locate-path@npm:^5.0.0": - version: 5.0.0 - resolution: "locate-path@npm:5.0.0" - dependencies: - p-locate: "npm:^4.1.0" - checksum: 33a1c5247e87e022f9713e6213a744557a3e9ec32c5d0b5efb10aa3a38177615bf90221a5592674857039c1a0fd2063b82f285702d37b792d973e9e72ace6c59 - languageName: node - linkType: hard - -"lodash@npm:^4.17.19": - version: 4.17.21 - resolution: "lodash@npm:4.17.21" - checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c - languageName: node - linkType: hard - -"log-symbols@npm:^4.1.0": - version: 4.1.0 - resolution: "log-symbols@npm:4.1.0" - dependencies: - chalk: "npm:^4.1.0" - is-unicode-supported: "npm:^0.1.0" - checksum: 67f445a9ffa76db1989d0fa98586e5bc2fd5247260dafb8ad93d9f0ccd5896d53fb830b0e54dade5ad838b9de2006c826831a3c528913093af20dff8bd24aca6 - languageName: node - linkType: hard - -"lowercase-keys@npm:^2.0.0": - version: 2.0.0 - resolution: "lowercase-keys@npm:2.0.0" - checksum: f82a2b3568910509da4b7906362efa40f5b54ea14c2584778ddb313226f9cbf21020a5db35f9b9a0e95847a9b781d548601f31793d736b22a2b8ae8eb9ab1082 - languageName: node - linkType: hard - -"lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": - version: 10.1.0 - resolution: "lru-cache@npm:10.1.0" - checksum: 778bc8b2626daccd75f24c4b4d10632496e21ba064b126f526c626fbdbc5b28c472013fccd45d7646b9e1ef052444824854aed617b59cd570d01a8b7d651fc1e - languageName: node - linkType: hard - -"lru-cache@npm:^6.0.0": - version: 6.0.0 - resolution: "lru-cache@npm:6.0.0" - dependencies: - yallist: "npm:^4.0.0" - checksum: cb53e582785c48187d7a188d3379c181b5ca2a9c78d2bce3e7dee36f32761d1c42983da3fe12b55cb74e1779fa94cdc2e5367c028a9b35317184ede0c07a30a9 - languageName: node - linkType: hard - -"make-fetch-happen@npm:^13.0.0": - version: 13.0.0 - resolution: "make-fetch-happen@npm:13.0.0" - dependencies: - "@npmcli/agent": "npm:^2.0.0" - cacache: "npm:^18.0.0" - http-cache-semantics: "npm:^4.1.1" - is-lambda: "npm:^1.0.1" - minipass: "npm:^7.0.2" - minipass-fetch: "npm:^3.0.0" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.4" - negotiator: "npm:^0.6.3" - promise-retry: "npm:^2.0.1" - ssri: "npm:^10.0.0" - checksum: 43b9f6dcbc6fe8b8604cb6396957c3698857a15ba4dbc38284f7f0e61f248300585ef1eb8cc62df54e9c724af977e45b5cdfd88320ef7f53e45070ed3488da55 - languageName: node - linkType: hard - -"mimic-fn@npm:^2.1.0": - version: 2.1.0 - resolution: "mimic-fn@npm:2.1.0" - checksum: b26f5479d7ec6cc2bce275a08f146cf78f5e7b661b18114e2506dd91ec7ec47e7a25bf4360e5438094db0560bcc868079fb3b1fb3892b833c1ecbf63f80c95a4 - languageName: node - linkType: hard - -"mimic-response@npm:^1.0.0": - version: 1.0.1 - resolution: "mimic-response@npm:1.0.1" - checksum: c5381a5eae997f1c3b5e90ca7f209ed58c3615caeee850e85329c598f0c000ae7bec40196580eef1781c60c709f47258131dab237cad8786f8f56750594f27fa - languageName: node - linkType: hard - -"mimic-response@npm:^3.1.0": - version: 3.1.0 - resolution: "mimic-response@npm:3.1.0" - checksum: 0d6f07ce6e03e9e4445bee655202153bdb8a98d67ee8dc965ac140900d7a2688343e6b4c9a72cfc9ef2f7944dfd76eef4ab2482eb7b293a68b84916bac735362 - languageName: node - linkType: hard - -"minimatch@npm:^3.1.1": - version: 3.1.2 - resolution: "minimatch@npm:3.1.2" - dependencies: - brace-expansion: "npm:^1.1.7" - checksum: 0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 - languageName: node - linkType: hard - -"minimatch@npm:^9.0.1": - version: 9.0.3 - resolution: "minimatch@npm:9.0.3" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 85f407dcd38ac3e180f425e86553911d101455ca3ad5544d6a7cec16286657e4f8a9aa6695803025c55e31e35a91a2252b5dc8e7d527211278b8b65b4dbd5eac - languageName: node - linkType: hard - -"minimatch@npm:~3.0.4": - version: 3.0.8 - resolution: "minimatch@npm:3.0.8" - dependencies: - brace-expansion: "npm:^1.1.7" - checksum: 72b226f452dcfb5075255f53534cb83fc25565b909e79b9be4fad463d735cb1084827f7013ff41d050e77ee6e474408c6073473edd2fb72c2fd630cfb0acc6ad - languageName: node - linkType: hard - -"minimist@npm:^1.2.6": - version: 1.2.8 - resolution: "minimist@npm:1.2.8" - checksum: 19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6 - languageName: node - linkType: hard - -"minipass-collect@npm:^2.0.1": - version: 2.0.1 - resolution: "minipass-collect@npm:2.0.1" - dependencies: - minipass: "npm:^7.0.3" - checksum: 5167e73f62bb74cc5019594709c77e6a742051a647fe9499abf03c71dca75515b7959d67a764bdc4f8b361cf897fbf25e2d9869ee039203ed45240f48b9aa06e - languageName: node - linkType: hard - -"minipass-fetch@npm:^3.0.0": - version: 3.0.4 - resolution: "minipass-fetch@npm:3.0.4" - dependencies: - encoding: "npm:^0.1.13" - minipass: "npm:^7.0.3" - minipass-sized: "npm:^1.0.3" - minizlib: "npm:^2.1.2" - dependenciesMeta: - encoding: - optional: true - checksum: 1b63c1f3313e88eeac4689f1b71c9f086598db9a189400e3ee960c32ed89e06737fa23976c9305c2d57464fb3fcdc12749d3378805c9d6176f5569b0d0ee8a75 - languageName: node - linkType: hard - -"minipass-flush@npm:^1.0.5": - version: 1.0.5 - resolution: "minipass-flush@npm:1.0.5" - dependencies: - minipass: "npm:^3.0.0" - checksum: 2a51b63feb799d2bb34669205eee7c0eaf9dce01883261a5b77410c9408aa447e478efd191b4de6fc1101e796ff5892f8443ef20d9544385819093dbb32d36bd - languageName: node - linkType: hard - -"minipass-pipeline@npm:^1.2.4": - version: 1.2.4 - resolution: "minipass-pipeline@npm:1.2.4" - dependencies: - minipass: "npm:^3.0.0" - checksum: cbda57cea20b140b797505dc2cac71581a70b3247b84480c1fed5ca5ba46c25ecc25f68bfc9e6dcb1a6e9017dab5c7ada5eab73ad4f0a49d84e35093e0c643f2 - languageName: node - linkType: hard - -"minipass-sized@npm:^1.0.3": - version: 1.0.3 - resolution: "minipass-sized@npm:1.0.3" - dependencies: - minipass: "npm:^3.0.0" - checksum: 298f124753efdc745cfe0f2bdfdd81ba25b9f4e753ca4a2066eb17c821f25d48acea607dfc997633ee5bf7b6dfffb4eee4f2051eb168663f0b99fad2fa4829cb - languageName: node - linkType: hard - -"minipass@npm:^3.0.0": - version: 3.3.6 - resolution: "minipass@npm:3.3.6" - dependencies: - yallist: "npm:^4.0.0" - checksum: a114746943afa1dbbca8249e706d1d38b85ed1298b530f5808ce51f8e9e941962e2a5ad2e00eae7dd21d8a4aae6586a66d4216d1a259385e9d0358f0c1eba16c - languageName: node - linkType: hard - -"minipass@npm:^5.0.0": - version: 5.0.0 - resolution: "minipass@npm:5.0.0" - checksum: a91d8043f691796a8ac88df039da19933ef0f633e3d7f0d35dcd5373af49131cf2399bfc355f41515dc495e3990369c3858cd319e5c2722b4753c90bf3152462 - languageName: node - linkType: hard - -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3": - version: 7.0.4 - resolution: "minipass@npm:7.0.4" - checksum: 6c7370a6dfd257bf18222da581ba89a5eaedca10e158781232a8b5542a90547540b4b9b7e7f490e4cda43acfbd12e086f0453728ecf8c19e0ef6921bc5958ac5 - languageName: node - linkType: hard - -"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": - version: 2.1.2 - resolution: "minizlib@npm:2.1.2" - dependencies: - minipass: "npm:^3.0.0" - yallist: "npm:^4.0.0" - checksum: 64fae024e1a7d0346a1102bb670085b17b7f95bf6cfdf5b128772ec8faf9ea211464ea4add406a3a6384a7d87a0cd1a96263692134323477b4fb43659a6cab78 - languageName: node - linkType: hard - -"mkdirp@npm:^0.5.1": - version: 0.5.6 - resolution: "mkdirp@npm:0.5.6" - dependencies: - minimist: "npm:^1.2.6" - bin: - mkdirp: bin/cmd.js - checksum: e2e2be789218807b58abced04e7b49851d9e46e88a2f9539242cc8a92c9b5c3a0b9bab360bd3014e02a140fc4fbc58e31176c408b493f8a2a6f4986bd7527b01 - languageName: node - linkType: hard - -"mkdirp@npm:^1.0.3": - version: 1.0.4 - resolution: "mkdirp@npm:1.0.4" - bin: - mkdirp: bin/cmd.js - checksum: 46ea0f3ffa8bc6a5bc0c7081ffc3907777f0ed6516888d40a518c5111f8366d97d2678911ad1a6882bf592fa9de6c784fea32e1687bb94e1f4944170af48a5cf - languageName: node - linkType: hard - -"ms@npm:2.1.2": - version: 2.1.2 - resolution: "ms@npm:2.1.2" - checksum: a437714e2f90dbf881b5191d35a6db792efbca5badf112f87b9e1c712aace4b4b9b742dd6537f3edf90fd6f684de897cec230abde57e87883766712ddda297cc - languageName: node - linkType: hard - -"negotiator@npm:^0.6.3": - version: 0.6.3 - resolution: "negotiator@npm:0.6.3" - checksum: 3ec9fd413e7bf071c937ae60d572bc67155262068ed522cf4b3be5edbe6ddf67d095ec03a3a14ebf8fc8e95f8e1d61be4869db0dbb0de696f6b837358bd43fc2 - languageName: node - linkType: hard - -"nice-try@npm:^1.0.4": - version: 1.0.5 - resolution: "nice-try@npm:1.0.5" - checksum: 95568c1b73e1d0d4069a3e3061a2102d854513d37bcfda73300015b7ba4868d3b27c198d1dbbd8ebdef4112fc2ed9e895d4a0f2e1cce0bd334f2a1346dc9205f - languageName: node - linkType: hard - -"node-elm-compiler@npm:^5.0.4": - version: 5.0.6 - resolution: "node-elm-compiler@npm:5.0.6" - dependencies: - cross-spawn: "npm:6.0.5" - find-elm-dependencies: "npm:^2.0.4" - lodash: "npm:^4.17.19" - temp: "npm:^0.9.0" - checksum: 17cf83f08b6e4b99cab3ad555d44fcb84223cf96e54af400ae334933d440e2de9772064d976da337f1e07c1795ad4ab30eaa335b4d5a9cf0501bc4af020f1599 - languageName: node - linkType: hard - -"node-gyp@npm:latest": - version: 10.0.1 - resolution: "node-gyp@npm:10.0.1" - dependencies: - env-paths: "npm:^2.2.0" - exponential-backoff: "npm:^3.1.1" - glob: "npm:^10.3.10" - graceful-fs: "npm:^4.2.6" - make-fetch-happen: "npm:^13.0.0" - nopt: "npm:^7.0.0" - proc-log: "npm:^3.0.0" - semver: "npm:^7.3.5" - tar: "npm:^6.1.2" - which: "npm:^4.0.0" - bin: - node-gyp: bin/node-gyp.js - checksum: abddfff7d873312e4ed4a5fb75ce893a5c4fb69e7fcb1dfa71c28a6b92a7f1ef6b62790dffb39181b5a82728ba8f2f32d229cf8cbe66769fe02cea7db4a555aa - languageName: node - linkType: hard - -"nopt@npm:^7.0.0": - version: 7.2.0 - resolution: "nopt@npm:7.2.0" - dependencies: - abbrev: "npm:^2.0.0" - bin: - nopt: bin/nopt.js - checksum: 9bd7198df6f16eb29ff16892c77bcf7f0cc41f9fb5c26280ac0def2cf8cf319f3b821b3af83eba0e74c85807cc430a16efe0db58fe6ae1f41e69519f585b6aff - languageName: node - linkType: hard - -"normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": - version: 3.0.0 - resolution: "normalize-path@npm:3.0.0" - checksum: e008c8142bcc335b5e38cf0d63cfd39d6cf2d97480af9abdbe9a439221fd4d749763bab492a8ee708ce7a194bb00c9da6d0a115018672310850489137b3da046 - languageName: node - linkType: hard - -"normalize-url@npm:^6.0.1": - version: 6.1.0 - resolution: "normalize-url@npm:6.1.0" - checksum: 95d948f9bdd2cfde91aa786d1816ae40f8262946e13700bf6628105994fe0ff361662c20af3961161c38a119dc977adeb41fc0b41b1745eb77edaaf9cb22db23 - languageName: node - linkType: hard - -"nuplot@workspace:.": - version: 0.0.0-use.local - resolution: "nuplot@workspace:." - dependencies: - elm-optimize-level-2: "npm:^0.1.5" - elm-review: "npm:^2.10.2" - elm-watch: "npm:^1.1.2" - localforage: "npm:^1.9.0" - typescript: "npm:^4.3.5" - languageName: unknown - linkType: soft - -"once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": - version: 1.4.0 - resolution: "once@npm:1.4.0" - dependencies: - wrappy: "npm:1" - checksum: 5d48aca287dfefabd756621c5dfce5c91a549a93e9fdb7b8246bc4c4790aa2ec17b34a260530474635147aeb631a2dcc8b32c613df0675f96041cbb8244517d0 - languageName: node - linkType: hard - -"onetime@npm:^5.1.0": - version: 5.1.2 - resolution: "onetime@npm:5.1.2" - dependencies: - mimic-fn: "npm:^2.1.0" - checksum: ffcef6fbb2692c3c40749f31ea2e22677a876daea92959b8a80b521d95cca7a668c884d8b2045d1d8ee7d56796aa405c405462af112a1477594cc63531baeb8f - languageName: node - linkType: hard - -"ora@npm:^5.4.0": - version: 5.4.1 - resolution: "ora@npm:5.4.1" - dependencies: - bl: "npm:^4.1.0" - chalk: "npm:^4.1.0" - cli-cursor: "npm:^3.1.0" - cli-spinners: "npm:^2.5.0" - is-interactive: "npm:^1.0.0" - is-unicode-supported: "npm:^0.1.0" - log-symbols: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - wcwidth: "npm:^1.0.1" - checksum: 10ff14aace236d0e2f044193362b22edce4784add08b779eccc8f8ef97195cae1248db8ec1ec5f5ff076f91acbe573f5f42a98c19b78dba8c54eefff983cae85 - languageName: node - linkType: hard - -"p-cancelable@npm:^2.0.0": - version: 2.1.1 - resolution: "p-cancelable@npm:2.1.1" - checksum: 8c6dc1f8dd4154fd8b96a10e55a3a832684c4365fb9108056d89e79fbf21a2465027c04a59d0d797b5ffe10b54a61a32043af287d5c4860f1e996cbdbc847f01 - languageName: node - linkType: hard - -"p-limit@npm:^2.2.0": - version: 2.3.0 - resolution: "p-limit@npm:2.3.0" - dependencies: - p-try: "npm:^2.0.0" - checksum: 8da01ac53efe6a627080fafc127c873da40c18d87b3f5d5492d465bb85ec7207e153948df6b9cbaeb130be70152f874229b8242ee2be84c0794082510af97f12 - languageName: node - linkType: hard - -"p-locate@npm:^4.1.0": - version: 4.1.0 - resolution: "p-locate@npm:4.1.0" - dependencies: - p-limit: "npm:^2.2.0" - checksum: 1b476ad69ad7f6059744f343b26d51ce091508935c1dbb80c4e0a2f397ffce0ca3a1f9f5cd3c7ce19d7929a09719d5c65fe70d8ee289c3f267cd36f2881813e9 - languageName: node - linkType: hard - -"p-map@npm:^4.0.0": - version: 4.0.0 - resolution: "p-map@npm:4.0.0" - dependencies: - aggregate-error: "npm:^3.0.0" - checksum: 592c05bd6262c466ce269ff172bb8de7c6975afca9b50c975135b974e9bdaafbfe80e61aaaf5be6d1200ba08b30ead04b88cfa7e25ff1e3b93ab28c9f62a2c75 - languageName: node - linkType: hard - -"p-try@npm:^2.0.0": - version: 2.2.0 - resolution: "p-try@npm:2.2.0" - checksum: c36c19907734c904b16994e6535b02c36c2224d433e01a2f1ab777237f4d86e6289fd5fd464850491e940379d4606ed850c03e0f9ab600b0ebddb511312e177f - languageName: node - linkType: hard - -"path-exists@npm:^4.0.0": - version: 4.0.0 - resolution: "path-exists@npm:4.0.0" - checksum: 8c0bd3f5238188197dc78dced15207a4716c51cc4e3624c44fc97acf69558f5ebb9a2afff486fe1b4ee148e0c133e96c5e11a9aa5c48a3006e3467da070e5e1b - languageName: node - linkType: hard - -"path-is-absolute@npm:^1.0.0": - version: 1.0.1 - resolution: "path-is-absolute@npm:1.0.1" - checksum: 127da03c82172a2a50099cddbf02510c1791fc2cc5f7713ddb613a56838db1e8168b121a920079d052e0936c23005562059756d653b7c544c53185efe53be078 - languageName: node - linkType: hard - -"path-key@npm:^2.0.1": - version: 2.0.1 - resolution: "path-key@npm:2.0.1" - checksum: dd2044f029a8e58ac31d2bf34c34b93c3095c1481942960e84dd2faa95bbb71b9b762a106aead0646695330936414b31ca0bd862bf488a937ad17c8c5d73b32b - languageName: node - linkType: hard - -"path-key@npm:^3.1.0, path-key@npm:^3.1.1": - version: 3.1.1 - resolution: "path-key@npm:3.1.1" - checksum: 748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c - languageName: node - linkType: hard - -"path-scurry@npm:^1.10.1": - version: 1.10.1 - resolution: "path-scurry@npm:1.10.1" - dependencies: - lru-cache: "npm:^9.1.1 || ^10.0.0" - minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" - checksum: e5dc78a7348d25eec61ab166317e9e9c7b46818aa2c2b9006c507a6ff48c672d011292d9662527213e558f5652ce0afcc788663a061d8b59ab495681840c0c1e - languageName: node - linkType: hard - -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1": - version: 2.3.1 - resolution: "picomatch@npm:2.3.1" - checksum: 26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be - languageName: node - linkType: hard - -"proc-log@npm:^3.0.0": - version: 3.0.0 - resolution: "proc-log@npm:3.0.0" - checksum: f66430e4ff947dbb996058f6fd22de2c66612ae1a89b097744e17fb18a4e8e7a86db99eda52ccf15e53f00b63f4ec0b0911581ff2aac0355b625c8eac509b0dc - languageName: node - linkType: hard - -"promise-retry@npm:^2.0.1": - version: 2.0.1 - resolution: "promise-retry@npm:2.0.1" - dependencies: - err-code: "npm:^2.0.2" - retry: "npm:^0.12.0" - checksum: 9c7045a1a2928094b5b9b15336dcd2a7b1c052f674550df63cc3f36cd44028e5080448175b6f6ca32b642de81150f5e7b1a98b728f15cb069f2dd60ac2616b96 - languageName: node - linkType: hard - -"prompts@npm:^2.2.1": - version: 2.4.2 - resolution: "prompts@npm:2.4.2" - dependencies: - kleur: "npm:^3.0.3" - sisteransi: "npm:^1.0.5" - checksum: 16f1ac2977b19fe2cf53f8411cc98db7a3c8b115c479b2ca5c82b5527cd937aa405fa04f9a5960abeb9daef53191b53b4d13e35c1f5d50e8718c76917c5f1ea4 - languageName: node - linkType: hard - -"pump@npm:^3.0.0": - version: 3.0.0 - resolution: "pump@npm:3.0.0" - dependencies: - end-of-stream: "npm:^1.1.0" - once: "npm:^1.3.1" - checksum: bbdeda4f747cdf47db97428f3a135728669e56a0ae5f354a9ac5b74556556f5446a46f720a8f14ca2ece5be9b4d5d23c346db02b555f46739934cc6c093a5478 - languageName: node - linkType: hard - -"quick-lru@npm:^5.1.1": - version: 5.1.1 - resolution: "quick-lru@npm:5.1.1" - checksum: a24cba5da8cec30d70d2484be37622580f64765fb6390a928b17f60cd69e8dbd32a954b3ff9176fa1b86d86ff2ba05252fae55dc4d40d0291c60412b0ad096da - languageName: node - linkType: hard - -"readable-stream@npm:^3.4.0": - version: 3.6.2 - resolution: "readable-stream@npm:3.6.2" - dependencies: - inherits: "npm:^2.0.3" - string_decoder: "npm:^1.1.1" - util-deprecate: "npm:^1.0.1" - checksum: e37be5c79c376fdd088a45fa31ea2e423e5d48854be7a22a58869b4e84d25047b193f6acb54f1012331e1bcd667ffb569c01b99d36b0bd59658fb33f513511b7 - languageName: node - linkType: hard - -"readdirp@npm:~3.6.0": - version: 3.6.0 - resolution: "readdirp@npm:3.6.0" - dependencies: - picomatch: "npm:^2.2.1" - checksum: 6fa848cf63d1b82ab4e985f4cf72bd55b7dcfd8e0a376905804e48c3634b7e749170940ba77b32804d5fe93b3cc521aa95a8d7e7d725f830da6d93f3669ce66b - languageName: node - linkType: hard - -"resolve-alpn@npm:^1.0.0": - version: 1.2.1 - resolution: "resolve-alpn@npm:1.2.1" - checksum: b70b29c1843bc39781ef946c8cd4482e6d425976599c0f9c138cec8209e4e0736161bf39319b01676a847000085dfdaf63583c6fb4427bf751a10635bd2aa0c4 - languageName: node - linkType: hard - -"responselike@npm:^2.0.0": - version: 2.0.1 - resolution: "responselike@npm:2.0.1" - dependencies: - lowercase-keys: "npm:^2.0.0" - checksum: 360b6deb5f101a9f8a4174f7837c523c3ec78b7ca8a7c1d45a1062b303659308a23757e318b1e91ed8684ad1205721142dd664d94771cd63499353fd4ee732b5 - languageName: node - linkType: hard - -"restore-cursor@npm:^3.1.0": - version: 3.1.0 - resolution: "restore-cursor@npm:3.1.0" - dependencies: - onetime: "npm:^5.1.0" - signal-exit: "npm:^3.0.2" - checksum: 8051a371d6aa67ff21625fa94e2357bd81ffdc96267f3fb0fc4aaf4534028343836548ef34c240ffa8c25b280ca35eb36be00b3cb2133fa4f51896d7e73c6b4f - languageName: node - linkType: hard - -"retry@npm:^0.12.0": - version: 0.12.0 - resolution: "retry@npm:0.12.0" - checksum: 59933e8501727ba13ad73ef4a04d5280b3717fd650408460c987392efe9d7be2040778ed8ebe933c5cbd63da3dcc37919c141ef8af0a54a6e4fca5a2af177bfe - languageName: node - linkType: hard - -"rimraf@npm:^5.0.0": - version: 5.0.5 - resolution: "rimraf@npm:5.0.5" - dependencies: - glob: "npm:^10.3.7" - bin: - rimraf: dist/esm/bin.mjs - checksum: d50dbe724f33835decd88395b25ed35995077c60a50ae78ded06e0185418914e555817aad1b4243edbff2254548c2f6ad6f70cc850040bebb4da9e8cc016f586 - languageName: node - linkType: hard - -"rimraf@npm:~2.6.2": - version: 2.6.3 - resolution: "rimraf@npm:2.6.3" - dependencies: - glob: "npm:^7.1.3" - bin: - rimraf: ./bin.js - checksum: f1e646f8c567795f2916aef7aadf685b543da6b9a53e482bb04b07472c7eef2b476045ba1e29f401c301c66b630b22b815ab31fdd60c5e1ae6566ff523debf45 - languageName: node - linkType: hard - -"safe-buffer@npm:~5.2.0": - version: 5.2.1 - resolution: "safe-buffer@npm:5.2.1" - checksum: 6501914237c0a86e9675d4e51d89ca3c21ffd6a31642efeba25ad65720bce6921c9e7e974e5be91a786b25aa058b5303285d3c15dbabf983a919f5f630d349f3 - languageName: node - linkType: hard - -"safer-buffer@npm:>= 2.1.2 < 3.0.0": - version: 2.1.2 - resolution: "safer-buffer@npm:2.1.2" - checksum: 7e3c8b2e88a1841c9671094bbaeebd94448111dd90a81a1f606f3f67708a6ec57763b3b47f06da09fc6054193e0e6709e77325415dc8422b04497a8070fa02d4 - languageName: node - linkType: hard - -"semver@npm:^5.5.0": - version: 5.7.2 - resolution: "semver@npm:5.7.2" - bin: - semver: bin/semver - checksum: e4cf10f86f168db772ae95d86ba65b3fd6c5967c94d97c708ccb463b778c2ee53b914cd7167620950fc07faf5a564e6efe903836639e512a1aa15fbc9667fa25 - languageName: node - linkType: hard - -"semver@npm:^7.3.5": - version: 7.5.4 - resolution: "semver@npm:7.5.4" - dependencies: - lru-cache: "npm:^6.0.0" - bin: - semver: bin/semver.js - checksum: 5160b06975a38b11c1ab55950cb5b8a23db78df88275d3d8a42ccf1f29e55112ac995b3a26a522c36e3b5f76b0445f1eef70d696b8c7862a2b4303d7b0e7609e - languageName: node - linkType: hard - -"shebang-command@npm:^1.2.0": - version: 1.2.0 - resolution: "shebang-command@npm:1.2.0" - dependencies: - shebang-regex: "npm:^1.0.0" - checksum: 7b20dbf04112c456b7fc258622dafd566553184ac9b6938dd30b943b065b21dabd3776460df534cc02480db5e1b6aec44700d985153a3da46e7db7f9bd21326d - languageName: node - linkType: hard - -"shebang-command@npm:^2.0.0": - version: 2.0.0 - resolution: "shebang-command@npm:2.0.0" - dependencies: - shebang-regex: "npm:^3.0.0" - checksum: a41692e7d89a553ef21d324a5cceb5f686d1f3c040759c50aab69688634688c5c327f26f3ecf7001ebfd78c01f3c7c0a11a7c8bfd0a8bc9f6240d4f40b224e4e - languageName: node - linkType: hard - -"shebang-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "shebang-regex@npm:1.0.0" - checksum: 9abc45dee35f554ae9453098a13fdc2f1730e525a5eb33c51f096cc31f6f10a4b38074c1ebf354ae7bffa7229506083844008dfc3bb7818228568c0b2dc1fff2 - languageName: node - linkType: hard - -"shebang-regex@npm:^3.0.0": - version: 3.0.0 - resolution: "shebang-regex@npm:3.0.0" - checksum: 1dbed0726dd0e1152a92696c76c7f06084eb32a90f0528d11acd764043aacf76994b2fb30aa1291a21bd019d6699164d048286309a278855ee7bec06cf6fb690 - languageName: node - linkType: hard - -"signal-exit@npm:^3.0.2": - version: 3.0.7 - resolution: "signal-exit@npm:3.0.7" - checksum: 25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912 - languageName: node - linkType: hard - -"signal-exit@npm:^4.0.1": - version: 4.1.0 - resolution: "signal-exit@npm:4.1.0" - checksum: 41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 - languageName: node - linkType: hard - -"sisteransi@npm:^1.0.5": - version: 1.0.5 - resolution: "sisteransi@npm:1.0.5" - checksum: 230ac975cca485b7f6fe2b96a711aa62a6a26ead3e6fb8ba17c5a00d61b8bed0d7adc21f5626b70d7c33c62ff4e63933017a6462942c719d1980bb0b1207ad46 - languageName: node - linkType: hard - -"smart-buffer@npm:^4.2.0": - version: 4.2.0 - resolution: "smart-buffer@npm:4.2.0" - checksum: a16775323e1404dd43fabafe7460be13a471e021637bc7889468eb45ce6a6b207261f454e4e530a19500cc962c4cc5348583520843b363f4193cee5c00e1e539 - languageName: node - linkType: hard - -"socks-proxy-agent@npm:^8.0.1": - version: 8.0.2 - resolution: "socks-proxy-agent@npm:8.0.2" - dependencies: - agent-base: "npm:^7.0.2" - debug: "npm:^4.3.4" - socks: "npm:^2.7.1" - checksum: a842402fc9b8848a31367f2811ca3cd14c4106588b39a0901cd7a69029998adfc6456b0203617c18ed090542ad0c24ee4e9d4c75a0c4b75071e214227c177eb7 - languageName: node - linkType: hard - -"socks@npm:^2.7.1": - version: 2.7.1 - resolution: "socks@npm:2.7.1" - dependencies: - ip: "npm:^2.0.0" - smart-buffer: "npm:^4.2.0" - checksum: 43f69dbc9f34fc8220bc51c6eea1c39715ab3cfdb115d6e3285f6c7d1a603c5c75655668a5bbc11e3c7e2c99d60321fb8d7ab6f38cda6a215fadd0d6d0b52130 - languageName: node - linkType: hard - -"ssri@npm:^10.0.0": - version: 10.0.5 - resolution: "ssri@npm:10.0.5" - dependencies: - minipass: "npm:^7.0.3" - checksum: b091f2ae92474183c7ac5ed3f9811457e1df23df7a7e70c9476eaa9a0c4a0c8fc190fb45acefbf023ca9ee864dd6754237a697dc52a0fb182afe65d8e77443d8 - languageName: node - linkType: hard - -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0": - version: 4.2.3 - resolution: "string-width@npm:4.2.3" - dependencies: - emoji-regex: "npm:^8.0.0" - is-fullwidth-code-point: "npm:^3.0.0" - strip-ansi: "npm:^6.0.1" - checksum: 1e525e92e5eae0afd7454086eed9c818ee84374bb80328fc41217ae72ff5f065ef1c9d7f72da41de40c75fa8bb3dee63d92373fd492c84260a552c636392a47b - languageName: node - linkType: hard - -"string-width@npm:^5.0.1, string-width@npm:^5.1.2": - version: 5.1.2 - resolution: "string-width@npm:5.1.2" - dependencies: - eastasianwidth: "npm:^0.2.0" - emoji-regex: "npm:^9.2.2" - strip-ansi: "npm:^7.0.1" - checksum: ab9c4264443d35b8b923cbdd513a089a60de339216d3b0ed3be3ba57d6880e1a192b70ae17225f764d7adbf5994e9bb8df253a944736c15a0240eff553c678ca - languageName: node - linkType: hard - -"string_decoder@npm:^1.1.1": - version: 1.3.0 - resolution: "string_decoder@npm:1.3.0" - dependencies: - safe-buffer: "npm:~5.2.0" - checksum: 810614ddb030e271cd591935dcd5956b2410dd079d64ff92a1844d6b7588bf992b3e1b69b0f4d34a3e06e0bd73046ac646b5264c1987b20d0601f81ef35d731d - languageName: node - linkType: hard - -"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": - version: 6.0.1 - resolution: "strip-ansi@npm:6.0.1" - dependencies: - ansi-regex: "npm:^5.0.1" - checksum: 1ae5f212a126fe5b167707f716942490e3933085a5ff6c008ab97ab2f272c8025d3aa218b7bd6ab25729ca20cc81cddb252102f8751e13482a5199e873680952 - languageName: node - linkType: hard - -"strip-ansi@npm:^7.0.1": - version: 7.1.0 - resolution: "strip-ansi@npm:7.1.0" - dependencies: - ansi-regex: "npm:^6.0.1" - checksum: a198c3762e8832505328cbf9e8c8381de14a4fa50a4f9b2160138158ea88c0f5549fb50cb13c651c3088f47e63a108b34622ec18c0499b6c8c3a5ddf6b305ac4 - languageName: node - linkType: hard - -"supports-color@npm:^7.0.0, supports-color@npm:^7.1.0": - version: 7.2.0 - resolution: "supports-color@npm:7.2.0" - dependencies: - has-flag: "npm:^4.0.0" - checksum: afb4c88521b8b136b5f5f95160c98dee7243dc79d5432db7efc27efb219385bbc7d9427398e43dd6cc730a0f87d5085ce1652af7efbe391327bc0a7d0f7fc124 - languageName: node - linkType: hard - -"supports-hyperlinks@npm:^2.0.0": - version: 2.3.0 - resolution: "supports-hyperlinks@npm:2.3.0" - dependencies: - has-flag: "npm:^4.0.0" - supports-color: "npm:^7.0.0" - checksum: 4057f0d86afb056cd799602f72d575b8fdd79001c5894bcb691176f14e870a687e7981e50bc1484980e8b688c6d5bcd4931e1609816abb5a7dc1486b7babf6a1 - languageName: node - linkType: hard - -"tar@npm:^6.1.11, tar@npm:^6.1.2": - version: 6.2.1 - resolution: "tar@npm:6.2.1" - dependencies: - chownr: "npm:^2.0.0" - fs-minipass: "npm:^2.0.0" - minipass: "npm:^5.0.0" - minizlib: "npm:^2.1.1" - mkdirp: "npm:^1.0.3" - yallist: "npm:^4.0.0" - checksum: a5eca3eb50bc11552d453488344e6507156b9193efd7635e98e867fab275d527af53d8866e2370cd09dfe74378a18111622ace35af6a608e5223a7d27fe99537 - languageName: node - linkType: hard - -"temp@npm:^0.9.0": - version: 0.9.4 - resolution: "temp@npm:0.9.4" - dependencies: - mkdirp: "npm:^0.5.1" - rimraf: "npm:~2.6.2" - checksum: 7a1cd75efa65b9ca97fc0dfa752673842d23fa41d9c641a447d86ca986eb7662f0d17771e1edf8d0149e76de3c6e7005faf2ccaa3baf64811c86d1d1a951dda7 - languageName: node - linkType: hard - -"terminal-link@npm:^2.1.1": - version: 2.1.1 - resolution: "terminal-link@npm:2.1.1" - dependencies: - ansi-escapes: "npm:^4.2.1" - supports-hyperlinks: "npm:^2.0.0" - checksum: 947458a5cd5408d2ffcdb14aee50bec8fb5022ae683b896b2f08ed6db7b2e7d42780d5c8b51e930e9c322bd7c7a517f4fa7c76983d0873c83245885ac5ee13e3 - languageName: node - linkType: hard - -"tiny-decoders@npm:^7.0.1": - version: 7.0.1 - resolution: "tiny-decoders@npm:7.0.1" - checksum: 29c25343b78fa1b3434b3aca9479cfa25f992724b3e3cbb723fda1569e40974ede8957f17d930e309bee3c90a308b4d5698cb0a8a995b5b059c274a86f603fd2 - languageName: node - linkType: hard - -"to-regex-range@npm:^5.0.1": - version: 5.0.1 - resolution: "to-regex-range@npm:5.0.1" - dependencies: - is-number: "npm:^7.0.0" - checksum: 487988b0a19c654ff3e1961b87f471702e708fa8a8dd02a298ef16da7206692e8552a0250e8b3e8759270f62e9d8314616f6da274734d3b558b1fc7b7724e892 - languageName: node - linkType: hard - -"ts-union@npm:^2.2.1": - version: 2.3.0 - resolution: "ts-union@npm:2.3.0" - checksum: ce8c53bd1f829d589f1bcc5b0d88b4544b107043e5ff945350873fe66db00243e9c008b87e11b712707605e84b5f0f271ee027c5e1e68dbdcd58717d791e4105 - languageName: node - linkType: hard - -"type-fest@npm:^0.21.3": - version: 0.21.3 - resolution: "type-fest@npm:0.21.3" - checksum: 902bd57bfa30d51d4779b641c2bc403cdf1371fb9c91d3c058b0133694fcfdb817aef07a47f40faf79039eecbaa39ee9d3c532deff244f3a19ce68cea71a61e8 - languageName: node - linkType: hard - -"typescript@npm:^3.9.7": - version: 3.9.10 - resolution: "typescript@npm:3.9.10" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 863cc06070fa18a0f9c6a83265fb4922a8b51bf6f2c6760fb0b73865305ce617ea4bc6477381f9f4b7c3a8cb4a455b054f5469e6e41307733fe6a2bd9aae82f8 - languageName: node - linkType: hard - -"typescript@npm:^4.3.5": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 5f6cad2e728a8a063521328e612d7876e12f0d8a8390d3b3aaa452a6a65e24e9ac8ea22beb72a924fd96ea0a49ea63bb4e251fb922b12eedfb7f7a26475e5c56 - languageName: node - linkType: hard - -"typescript@patch:typescript@npm%3A^3.9.7#optional!builtin": - version: 3.9.10 - resolution: "typescript@patch:typescript@npm%3A3.9.10#optional!builtin::version=3.9.10&hash=3bd3d3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 9041fb3886e7d6a560f985227b8c941d17a750f2edccb5f9b3a15a2480574654d9be803ad4a14aabcc2f2553c4d272a25fd698a7c42692f03f66b009fb46883c - languageName: node - linkType: hard - -"typescript@patch:typescript@npm%3A^4.3.5#optional!builtin": - version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=289587" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: e3333f887c6829dfe0ab6c1dbe0dd1e3e2aeb56c66460cb85c5440c566f900c833d370ca34eb47558c0c69e78ced4bfe09b8f4f98b6de7afed9b84b8d1dd06a1 - languageName: node - linkType: hard - -"undici-types@npm:~5.26.4": - version: 5.26.5 - resolution: "undici-types@npm:5.26.5" - checksum: bb673d7876c2d411b6eb6c560e0c571eef4a01c1c19925175d16e3a30c4c428181fb8d7ae802a261f283e4166a0ac435e2f505743aa9e45d893f9a3df017b501 - languageName: node - linkType: hard - -"unique-filename@npm:^3.0.0": - version: 3.0.0 - resolution: "unique-filename@npm:3.0.0" - dependencies: - unique-slug: "npm:^4.0.0" - checksum: 6363e40b2fa758eb5ec5e21b3c7fb83e5da8dcfbd866cc0c199d5534c42f03b9ea9ab069769cc388e1d7ab93b4eeef28ef506ab5f18d910ef29617715101884f - languageName: node - linkType: hard - -"unique-slug@npm:^4.0.0": - version: 4.0.0 - resolution: "unique-slug@npm:4.0.0" - dependencies: - imurmurhash: "npm:^0.1.4" - checksum: cb811d9d54eb5821b81b18205750be84cb015c20a4a44280794e915f5a0a70223ce39066781a354e872df3572e8155c228f43ff0cce94c7cbf4da2cc7cbdd635 - languageName: node - linkType: hard - -"universalify@npm:^2.0.0": - version: 2.0.1 - resolution: "universalify@npm:2.0.1" - checksum: 73e8ee3809041ca8b818efb141801a1004e3fc0002727f1531f4de613ea281b494a40909596dae4a042a4fb6cd385af5d4db2e137b1362e0e91384b828effd3a - languageName: node - linkType: hard - -"util-deprecate@npm:^1.0.1": - version: 1.0.2 - resolution: "util-deprecate@npm:1.0.2" - checksum: 41a5bdd214df2f6c3ecf8622745e4a366c4adced864bc3c833739791aeeeb1838119af7daed4ba36428114b5c67dcda034a79c882e97e43c03e66a4dd7389942 - languageName: node - linkType: hard - -"wcwidth@npm:^1.0.1": - version: 1.0.1 - resolution: "wcwidth@npm:1.0.1" - dependencies: - defaults: "npm:^1.0.3" - checksum: 5b61ca583a95e2dd85d7078400190efd452e05751a64accb8c06ce4db65d7e0b0cde9917d705e826a2e05cc2548f61efde115ffa374c3e436d04be45c889e5b4 - languageName: node - linkType: hard - -"which@npm:^1.2.9": - version: 1.3.1 - resolution: "which@npm:1.3.1" - dependencies: - isexe: "npm:^2.0.0" - bin: - which: ./bin/which - checksum: e945a8b6bbf6821aaaef7f6e0c309d4b615ef35699576d5489b4261da9539f70393c6b2ce700ee4321c18f914ebe5644bc4631b15466ffbaad37d83151f6af59 - languageName: node - linkType: hard - -"which@npm:^2.0.1, which@npm:^2.0.2": - version: 2.0.2 - resolution: "which@npm:2.0.2" - dependencies: - isexe: "npm:^2.0.0" - bin: - node-which: ./bin/node-which - checksum: 66522872a768b60c2a65a57e8ad184e5372f5b6a9ca6d5f033d4b0dc98aff63995655a7503b9c0a2598936f532120e81dd8cc155e2e92ed662a2b9377cc4374f - languageName: node - linkType: hard - -"which@npm:^4.0.0": - version: 4.0.0 - resolution: "which@npm:4.0.0" - dependencies: - isexe: "npm:^3.1.1" - bin: - node-which: bin/which.js - checksum: 449fa5c44ed120ccecfe18c433296a4978a7583bf2391c50abce13f76878d2476defde04d0f79db8165bdf432853c1f8389d0485ca6e8ebce3bbcded513d5e6a - languageName: node - linkType: hard +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@avh4/elm-format-darwin-arm64@0.8.7-2": + version "0.8.7-2" + resolved "https://registry.yarnpkg.com/@avh4/elm-format-darwin-arm64/-/elm-format-darwin-arm64-0.8.7-2.tgz#7ef272e77ed22804c3d18e99cffdf8952b88cf6a" + integrity sha512-F5JD44mJ3KX960J5GkXMfh1/dtkXuPcQpX2EToHQKjLTZUfnhZ++ytQQt0gAvrJ0bzoOvhNzjNjUHDA1ruTVbg== + +"@avh4/elm-format-darwin-x64@0.8.7-2": + version "0.8.7-2" + resolved "https://registry.yarnpkg.com/@avh4/elm-format-darwin-x64/-/elm-format-darwin-x64-0.8.7-2.tgz#c43eb3af88edec45aae405fda7d703e343614965" + integrity sha512-4pfF1cl0KyTion+7Mg4XKM3yi4Yc7vP76Kt/DotLVGJOSag4ISGic1og2mt8RZZ7XArybBmHNyYkiUbe/cEiCw== + +"@avh4/elm-format-linux-arm64@0.8.7-2": + version "0.8.7-2" + resolved "https://registry.yarnpkg.com/@avh4/elm-format-linux-arm64/-/elm-format-linux-arm64-0.8.7-2.tgz#e01a088c051aa5734453f83e9f63aa572ffb7439" + integrity sha512-WkVmuce2zU6s9dupHhqPc886Vaqpea8dZlxv2fpZ4wSzPUbiiKHoHZzoVndMIMTUL0TZukP3Ps0n/lWO5R5+FA== + +"@avh4/elm-format-linux-x64@0.8.7-2": + version "0.8.7-2" + resolved "https://registry.yarnpkg.com/@avh4/elm-format-linux-x64/-/elm-format-linux-x64-0.8.7-2.tgz#50f60f3bfb11223d9e72a34a0cc28640726f5bae" + integrity sha512-kmncfJrTBjVT94JtQvMf4M5Pn2Yl0sZt3wo7AzgFiDnB/CiZ+KjJyXuWM64NeGiv4MQqzPq65tsFXUH1CIJeiQ== + +"@avh4/elm-format-win32-x64@0.8.7-2": + version "0.8.7-2" + resolved "https://registry.yarnpkg.com/@avh4/elm-format-win32-x64/-/elm-format-win32-x64-0.8.7-2.tgz#4a4e7489a7b519a810a8a89798c4aab3805626ab" + integrity sha512-sBdMBGq/8mD8Y5C+fIr5vlb3N50yB7S1MfgeAq2QEbvkr/sKrCZI540i43lZDH9gWsfA1w2W8wCe0penFYzsGw== + +"@esbuild/aix-ppc64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz#b87036f644f572efb2b3c75746c97d1d2d87ace8" + integrity sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag== + +"@esbuild/android-arm64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz#5ca7dc20a18f18960ad8d5e6ef5cf7b0a256e196" + integrity sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w== + +"@esbuild/android-arm@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.2.tgz#3c49f607b7082cde70c6ce0c011c362c57a194ee" + integrity sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA== + +"@esbuild/android-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.2.tgz#8a00147780016aff59e04f1036e7cb1b683859e2" + integrity sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg== + +"@esbuild/darwin-arm64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz#486efe7599a8d90a27780f2bb0318d9a85c6c423" + integrity sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA== + +"@esbuild/darwin-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz#95ee222aacf668c7a4f3d7ee87b3240a51baf374" + integrity sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA== + +"@esbuild/freebsd-arm64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz#67efceda8554b6fc6a43476feba068fb37fa2ef6" + integrity sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w== + +"@esbuild/freebsd-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz#88a9d7ecdd3adadbfe5227c2122d24816959b809" + integrity sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ== + +"@esbuild/linux-arm64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz#87be1099b2bbe61282333b084737d46bc8308058" + integrity sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g== + +"@esbuild/linux-arm@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz#72a285b0fe64496e191fcad222185d7bf9f816f6" + integrity sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g== + +"@esbuild/linux-ia32@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz#337a87a4c4dd48a832baed5cbb022be20809d737" + integrity sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ== + +"@esbuild/linux-loong64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz#1b81aa77103d6b8a8cfa7c094ed3d25c7579ba2a" + integrity sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w== + +"@esbuild/linux-mips64el@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz#afbe380b6992e7459bf7c2c3b9556633b2e47f30" + integrity sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q== + +"@esbuild/linux-ppc64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz#6bf8695cab8a2b135cca1aa555226dc932d52067" + integrity sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g== + +"@esbuild/linux-riscv64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz#43c2d67a1a39199fb06ba978aebb44992d7becc3" + integrity sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw== + +"@esbuild/linux-s390x@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz#419e25737ec815c6dce2cd20d026e347cbb7a602" + integrity sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q== + +"@esbuild/linux-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz#22451f6edbba84abe754a8cbd8528ff6e28d9bcb" + integrity sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg== + +"@esbuild/netbsd-arm64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz#744affd3b8d8236b08c5210d828b0698a62c58ac" + integrity sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw== + +"@esbuild/netbsd-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz#dbbe7521fd6d7352f34328d676af923fc0f8a78f" + integrity sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg== + +"@esbuild/openbsd-arm64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz#f9caf987e3e0570500832b487ce3039ca648ce9f" + integrity sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg== + +"@esbuild/openbsd-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz#d2bb6a0f8ffea7b394bb43dfccbb07cabd89f768" + integrity sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw== + +"@esbuild/sunos-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz#49b437ed63fe333b92137b7a0c65a65852031afb" + integrity sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA== + +"@esbuild/win32-arm64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz#081424168463c7d6c7fb78f631aede0c104373cf" + integrity sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q== + +"@esbuild/win32-ia32@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz#3f9e87143ddd003133d21384944a6c6cadf9693f" + integrity sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg== + +"@esbuild/win32-x64@0.25.2": + version "0.25.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz#839f72c2decd378f86b8f525e1979a97b920c67d" + integrity sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA== + +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + +"@isaacs/fs-minipass@^4.0.0": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32" + integrity sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w== + dependencies: + minipass "^7.0.4" + +"@jridgewell/gen-mapping@^0.3.5": + version "0.3.8" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz#4f0e06362e01362f823d348f1872b08f666d8142" + integrity sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA== + dependencies: + "@jridgewell/set-array" "^1.2.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.24" + +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== + +"@jridgewell/source-map@^0.3.3": + version "0.3.6" + resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.6.tgz#9d71ca886e32502eb9362c9a74a46787c36df81a" + integrity sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ== + dependencies: + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" + +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" + integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== + +"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": + version "0.3.25" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + +"@jsonjoy.com/base64@^1.1.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jsonjoy.com/base64/-/base64-1.1.2.tgz#cf8ea9dcb849b81c95f14fc0aaa151c6b54d2578" + integrity sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA== + +"@jsonjoy.com/json-pack@^1.0.3": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pack/-/json-pack-1.2.0.tgz#e658900e81d194903171c42546e1aa27f446846a" + integrity sha512-io1zEbbYcElht3tdlqEOFxZ0dMTYrHz9iMf0gqn1pPjZFTCgM5R4R5IMA20Chb2UPYYsxjzs8CgZ7Nb5n2K2rA== + dependencies: + "@jsonjoy.com/base64" "^1.1.1" + "@jsonjoy.com/util" "^1.1.2" + hyperdyperid "^1.2.0" + thingies "^1.20.0" + +"@jsonjoy.com/util@^1.1.2", "@jsonjoy.com/util@^1.3.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@jsonjoy.com/util/-/util-1.5.0.tgz#6008e35b9d9d8ee27bc4bfaa70c8cbf33a537b4c" + integrity sha512-ojoNsrIuPI9g6o8UxhraZQSyF2ByJanAY4cTFbc8Mf2AXEF4aQRGY1dJxyJpuyav8r9FGflEt/Ff3u5Nt6YMPA== + +"@mattpiz/elm-test-rs-darwin-arm64@3.0.0-1": + version "3.0.0-1" + resolved "https://registry.yarnpkg.com/@mattpiz/elm-test-rs-darwin-arm64/-/elm-test-rs-darwin-arm64-3.0.0-1.tgz#fe2abeb2b472b76242b0e8b69b5d5a18e97f20d1" + integrity sha512-+8pzcj2CK8NUElWvI4NUwCtn1doLk05NjFRXS9nUluGzgoImy9wwQPLtla5DWgdYOL70UufkwfxJN+0qaQMEpg== + +"@mattpiz/elm-test-rs-darwin-x64@3.0.0-0": + version "3.0.0-0" + resolved "https://registry.yarnpkg.com/@mattpiz/elm-test-rs-darwin-x64/-/elm-test-rs-darwin-x64-3.0.0-0.tgz#26b0cc9c9543b58a7f03bac958ba2652e8f540a3" + integrity sha512-PfUELK7y9UpeZnvKeJBSPbuCbb1I3T0ptZUOnjVIWvAQmg3iov6I79PD2OEP9NtP0iepj+2v2BtgbmZlVrXIZg== + +"@mattpiz/elm-test-rs-linux-arm64@3.0.0-0": + version "3.0.0-0" + resolved "https://registry.yarnpkg.com/@mattpiz/elm-test-rs-linux-arm64/-/elm-test-rs-linux-arm64-3.0.0-0.tgz#f3e95983a4cb405d3b09c29ae8b668dc02413864" + integrity sha512-BdfQDWtVUFM1NMPa5U5lBKT3gtDSP7KpypdK+R0jRBx51382t5VA5Byb+2Nzc7aXgS6LA1/nvNRtq/jO7Aj2uw== + +"@mattpiz/elm-test-rs-linux-arm@3.0.0-0": + version "3.0.0-0" + resolved "https://registry.yarnpkg.com/@mattpiz/elm-test-rs-linux-arm/-/elm-test-rs-linux-arm-3.0.0-0.tgz#9ed4ee3eebb280cd90761738d06bfb4017e23d66" + integrity sha512-VVFq5horhAldLLmz/P2ljLArJkZuuzpjIUVo9KIPA15euesAxM0lzUnj5Bag9kbjZz4T6/YKToXnaxdDdwcitg== + +"@mattpiz/elm-test-rs-linux-x64@3.0.0-0": + version "3.0.0-0" + resolved "https://registry.yarnpkg.com/@mattpiz/elm-test-rs-linux-x64/-/elm-test-rs-linux-x64-3.0.0-0.tgz#ccaee2191358fe9b5daad6ffcf0d58c3e01092dd" + integrity sha512-RfOs3KEyPn0yEHjMjka3R99SdR/TtjgnjSsYahLL1mVUaWOHEcdr86iU6CpWScVtY2jMNQLaeudXOcBm6lXIsQ== + +"@mattpiz/elm-test-rs-win32-x64@3.0.0-0": + version "3.0.0-0" + resolved "https://registry.yarnpkg.com/@mattpiz/elm-test-rs-win32-x64/-/elm-test-rs-win32-x64-3.0.0-0.tgz#77f5d2adfe9a0dc864d6adfc229b44b2eb613c2a" + integrity sha512-7Vr74820XFPwUNrpZVybStPlCTyAjthgnUel23j3fJB2yDm9ydbBSPvLCmngqzkZBAnpX8eruUqDphTx+mR28Q== + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@npmcli/agent@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/agent/-/agent-3.0.0.tgz#1685b1fbd4a1b7bb4f930cbb68ce801edfe7aa44" + integrity sha512-S79NdEgDQd/NGCay6TCoVzXSj74skRZIKJcpJjC5lOq34SZzyI6MqtiiWoiVWoVrTcGjNeC4ipbh1VIHlpfF5Q== + dependencies: + agent-base "^7.1.0" + http-proxy-agent "^7.0.0" + https-proxy-agent "^7.0.1" + lru-cache "^10.0.1" + socks-proxy-agent "^8.0.3" + +"@npmcli/fs@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-4.0.0.tgz#a1eb1aeddefd2a4a347eca0fab30bc62c0e1c0f2" + integrity sha512-/xGlezI6xfGO9NwuJlnwz/K14qD1kCSAGtacBHnGzeAIuJGazcp45KP5NuyARXoKb7cwulAGWVsbeSxdG/cb0Q== + dependencies: + semver "^7.3.5" + +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +"@pnpm/config.env-replace@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c" + integrity sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w== + +"@pnpm/network.ca-file@^1.0.1": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz#2ab05e09c1af0cdf2fcf5035bea1484e222f7983" + integrity sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA== + dependencies: + graceful-fs "4.2.10" + +"@pnpm/npm-conf@^2.1.0": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@pnpm/npm-conf/-/npm-conf-2.3.1.tgz#bb375a571a0bd63ab0a23bece33033c683e9b6b0" + integrity sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw== + dependencies: + "@pnpm/config.env-replace" "^1.1.0" + "@pnpm/network.ca-file" "^1.0.1" + config-chain "^1.1.11" + +"@rollup/rollup-android-arm-eabi@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.0.tgz#d964ee8ce4d18acf9358f96adc408689b6e27fe3" + integrity sha512-+Fbls/diZ0RDerhE8kyC6hjADCXA1K4yVNlH0EYfd2XjyH0UGgzaQ8MlT0pCXAThfxv3QUAczHaL+qSv1E4/Cg== + +"@rollup/rollup-android-arm64@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.0.tgz#9b5e130ecc32a5fc1e96c09ff371743ee71a62d3" + integrity sha512-PPA6aEEsTPRz+/4xxAmaoWDqh67N7wFbgFUJGMnanCFs0TV99M0M8QhhaSCks+n6EbQoFvLQgYOGXxlMGQe/6w== + +"@rollup/rollup-darwin-arm64@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.0.tgz#ef439182c739b20b3c4398cfc03e3c1249ac8903" + integrity sha512-GwYOcOakYHdfnjjKwqpTGgn5a6cUX7+Ra2HeNj/GdXvO2VJOOXCiYYlRFU4CubFM67EhbmzLOmACKEfvp3J1kQ== + +"@rollup/rollup-darwin-x64@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.0.tgz#d7380c1531ab0420ca3be16f17018ef72dd3d504" + integrity sha512-CoLEGJ+2eheqD9KBSxmma6ld01czS52Iw0e2qMZNpPDlf7Z9mj8xmMemxEucinev4LgHalDPczMyxzbq+Q+EtA== + +"@rollup/rollup-freebsd-arm64@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.0.tgz#cbcbd7248823c6b430ce543c59906dd3c6df0936" + integrity sha512-r7yGiS4HN/kibvESzmrOB/PxKMhPTlz+FcGvoUIKYoTyGd5toHp48g1uZy1o1xQvybwwpqpe010JrcGG2s5nkg== + +"@rollup/rollup-freebsd-x64@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.0.tgz#96bf6ff875bab5219c3472c95fa6eb992586a93b" + integrity sha512-mVDxzlf0oLzV3oZOr0SMJ0lSDd3xC4CmnWJ8Val8isp9jRGl5Dq//LLDSPFrasS7pSm6m5xAcKaw3sHXhBjoRw== + +"@rollup/rollup-linux-arm-gnueabihf@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.0.tgz#d80cd62ce6d40f8e611008d8dbf03b5e6bbf009c" + integrity sha512-y/qUMOpJxBMy8xCXD++jeu8t7kzjlOCkoxxajL58G62PJGBZVl/Gwpm7JK9+YvlB701rcQTzjUZ1JgUoPTnoQA== + +"@rollup/rollup-linux-arm-musleabihf@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.0.tgz#75440cfc1e8d0f87a239b4c31dfeaf4719b656b7" + integrity sha512-GoCsPibtVdJFPv/BOIvBKO/XmwZLwaNWdyD8TKlXuqp0veo2sHE+A/vpMQ5iSArRUz/uaoj4h5S6Pn0+PdhRjg== + +"@rollup/rollup-linux-arm64-gnu@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.0.tgz#ac527485ecbb619247fb08253ec8c551a0712e7c" + integrity sha512-L5ZLphTjjAD9leJzSLI7rr8fNqJMlGDKlazW2tX4IUF9P7R5TMQPElpH82Q7eNIDQnQlAyiNVfRPfP2vM5Avvg== + +"@rollup/rollup-linux-arm64-musl@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.0.tgz#74d2b5cb11cf714cd7d1682e7c8b39140e908552" + integrity sha512-ATZvCRGCDtv1Y4gpDIXsS+wfFeFuLwVxyUBSLawjgXK2tRE6fnsQEkE4csQQYWlBlsFztRzCnBvWVfcae/1qxQ== + +"@rollup/rollup-linux-loongarch64-gnu@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.0.tgz#a0a310e51da0b5fea0e944b0abd4be899819aef6" + integrity sha512-wG9e2XtIhd++QugU5MD9i7OnpaVb08ji3P1y/hNbxrQ3sYEelKJOq1UJ5dXczeo6Hj2rfDEL5GdtkMSVLa/AOg== + +"@rollup/rollup-linux-powerpc64le-gnu@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.0.tgz#4077e2862b0ac9f61916d6b474d988171bd43b83" + integrity sha512-vgXfWmj0f3jAUvC7TZSU/m/cOE558ILWDzS7jBhiCAFpY2WEBn5jqgbqvmzlMjtp8KlLcBlXVD2mkTSEQE6Ixw== + +"@rollup/rollup-linux-riscv64-gnu@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.0.tgz#5812a1a7a2f9581cbe12597307cc7ba3321cf2f3" + integrity sha512-uJkYTugqtPZBS3Z136arevt/FsKTF/J9dEMTX/cwR7lsAW4bShzI2R0pJVw+hcBTWF4dxVckYh72Hk3/hWNKvA== + +"@rollup/rollup-linux-riscv64-musl@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.0.tgz#973aaaf4adef4531375c36616de4e01647f90039" + integrity sha512-rKmSj6EXQRnhSkE22+WvrqOqRtk733x3p5sWpZilhmjnkHkpeCgWsFFo0dGnUGeA+OZjRl3+VYq+HyCOEuwcxQ== + +"@rollup/rollup-linux-s390x-gnu@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.0.tgz#9bad59e907ba5bfcf3e9dbd0247dfe583112f70b" + integrity sha512-SpnYlAfKPOoVsQqmTFJ0usx0z84bzGOS9anAC0AZ3rdSo3snecihbhFTlJZ8XMwzqAcodjFU4+/SM311dqE5Sw== + +"@rollup/rollup-linux-x64-gnu@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.0.tgz#68b045a720bd9b4d905f462b997590c2190a6de0" + integrity sha512-RcDGMtqF9EFN8i2RYN2W+64CdHruJ5rPqrlYw+cgM3uOVPSsnAQps7cpjXe9be/yDp8UC7VLoCoKC8J3Kn2FkQ== + +"@rollup/rollup-linux-x64-musl@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.0.tgz#8e703e2c2ad19ba7b2cb3d8c3a4ad11d4ee3a282" + integrity sha512-HZvjpiUmSNx5zFgwtQAV1GaGazT2RWvqeDi0hV+AtC8unqqDSsaFjPxfsO6qPtKRRg25SisACWnJ37Yio8ttaw== + +"@rollup/rollup-win32-arm64-msvc@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.0.tgz#c5bee19fa670ff5da5f066be6a58b4568e9c650b" + integrity sha512-UtZQQI5k/b8d7d3i9AZmA/t+Q4tk3hOC0tMOMSq2GlMYOfxbesxG4mJSeDp0EHs30N9bsfwUvs3zF4v/RzOeTQ== + +"@rollup/rollup-win32-ia32-msvc@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.0.tgz#846e02c17044bd922f6f483a3b4d36aac6e2b921" + integrity sha512-+m03kvI2f5syIqHXCZLPVYplP8pQch9JHyXKZ3AGMKlg8dCyr2PKHjwRLiW53LTrN/Nc3EqHOKxUxzoSPdKddA== + +"@rollup/rollup-win32-x64-msvc@4.40.0": + version "4.40.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.0.tgz#fd92d31a2931483c25677b9c6698106490cbbc76" + integrity sha512-lpPE1cLfP5oPzVjKMx10pgBmKELQnFJXHgvtHCtuJWOv8MxqdEIMNtgHgBFf7Ea2/7EuVwa9fodWUfXAlXZLZQ== + +"@sindresorhus/is@^4.0.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" + integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== + +"@sindresorhus/merge-streams@^2.1.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz#719df7fb41766bc143369eaa0dd56d8dc87c9958" + integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg== + +"@sindresorhus/merge-streams@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz#abb11d99aeb6d27f1b563c38147a72d50058e339" + integrity sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ== + +"@szmarczak/http-timer@^4.0.5": + version "4.0.6" + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" + integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== + dependencies: + defer-to-connect "^2.0.0" + +"@types/cacheable-request@^6.0.1": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" + integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== + dependencies: + "@types/http-cache-semantics" "*" + "@types/keyv" "^3.1.4" + "@types/node" "*" + "@types/responselike" "^1.0.0" + +"@types/configstore@^2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@types/configstore/-/configstore-2.1.1.tgz#cd1e8553633ad3185c3f2f239ecff5d2643e92b6" + integrity sha512-YY+hm3afkDHeSM2rsFXxeZtu0garnusBWNG1+7MknmDWQHqcH2w21/xOU9arJUi8ch4qyFklidANLCu3ihhVwQ== + +"@types/debug@^0.0.30": + version "0.0.30" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-0.0.30.tgz#dc1e40f7af3b9c815013a7860e6252f6352a84df" + integrity sha512-orGL5LXERPYsLov6CWs3Fh6203+dXzJkR7OnddIr2514Hsecwc8xRpzCapshBbKFImCsvS/mk6+FWiN5LyZJAQ== + +"@types/estree@1.0.7": + version "1.0.7" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.7.tgz#4158d3105276773d5b7695cd4834b1722e4f37a8" + integrity sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ== + +"@types/get-port@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@types/get-port/-/get-port-3.2.0.tgz#f9e0a11443cc21336470185eae3dfba4495d29bc" + integrity sha512-TiNg8R1kjDde5Pub9F9vCwZA/BNW9HeXP5b9j7Qucqncy/McfPZ6xze/EyBdXS5FhMIGN6Fx3vg75l5KHy3V1Q== + +"@types/glob@*": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@types/glob/-/glob-8.1.0.tgz#b63e70155391b0584dce44e7ea25190bbc38f2fc" + integrity sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w== + dependencies: + "@types/minimatch" "^5.1.2" + "@types/node" "*" + +"@types/glob@^5.0.34": + version "5.0.38" + resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.38.tgz#20e29f3c6332f6b3329f34711ebb31a03dd74a51" + integrity sha512-rTtf75rwyP9G2qO5yRpYtdJ6aU1QqEhWbtW55qEgquEDa6bXW0s2TWZfDm02GuppjEozOWG/F2UnPq5hAQb+gw== + dependencies: + "@types/minimatch" "*" + "@types/node" "*" + +"@types/http-cache-semantics@*": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4" + integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA== + +"@types/jest@^27.0.3": + version "27.5.2" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.5.2.tgz#ec49d29d926500ffb9fd22b84262e862049c026c" + integrity sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA== + dependencies: + jest-matcher-utils "^27.0.0" + pretty-format "^27.0.0" + +"@types/keyv@^3.1.4": + version "3.1.4" + resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" + integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== + dependencies: + "@types/node" "*" + +"@types/lodash@^4.14.92": + version "4.17.16" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.16.tgz#94ae78fab4a38d73086e962d0b65c30d816bfb0a" + integrity sha512-HX7Em5NYQAXKW+1T+FiuG27NGwzJfCX3s1GjOa7ujxZa52kjJLOr4FUxT+giF6Tgxv1e+/czV/iTtBw27WTU9g== + +"@types/minimatch@*", "@types/minimatch@^5.1.2": + version "5.1.2" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== + +"@types/mkdirp@^0.5.2": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-0.5.2.tgz#503aacfe5cc2703d5484326b1b27efa67a339c1f" + integrity sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg== + dependencies: + "@types/node" "*" + +"@types/node@*": + version "22.14.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.14.1.tgz#53b54585cec81c21eee3697521e31312d6ca1e6f" + integrity sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw== + dependencies: + undici-types "~6.21.0" + +"@types/node@^8.5.7": + version "8.10.66" + resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.66.tgz#dd035d409df322acc83dff62a602f12a5783bbb3" + integrity sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw== + +"@types/responselike@^1.0.0": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.3.tgz#cc29706f0a397cfe6df89debfe4bf5cea159db50" + integrity sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw== + dependencies: + "@types/node" "*" + +"@types/rimraf@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@types/rimraf/-/rimraf-2.0.5.tgz#368fb04d59630b727fc05a74d2ca557f64a8ef98" + integrity sha512-YyP+VfeaqAyFmXoTh3HChxOQMyjByRMsHU7kc5KOJkSlXudhMhQIALbYV7rHh/l8d2lX3VUQzprrcAgWdRuU8g== + dependencies: + "@types/glob" "*" + "@types/node" "*" + +"@types/tmp@^0.0.33": + version "0.0.33" + resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.0.33.tgz#1073c4bc824754ae3d10cfab88ab0237ba964e4d" + integrity sha512-gVC1InwyVrO326wbBZw+AO3u2vRXz/iRWq9jYhpG4W8LXyIgDv3ZmcLQ5Q4Gs+gFMyqx+viFoFT+l3p61QFCmQ== + +accepts@~1.3.4, accepts@~1.3.8: + version "1.3.8" + resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" + integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== + dependencies: + mime-types "~2.1.34" + negotiator "0.6.3" + +acorn@^8.8.2: + version "8.14.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.1.tgz#721d5dc10f7d5b5609a891773d47731796935dfb" + integrity sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg== + +agent-base@^7.1.0, agent-base@^7.1.2: + version "7.1.3" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.3.tgz#29435eb821bc4194633a5b89e5bc4703bafc25a1" + integrity sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw== + +ansi-escapes@^4.2.1, ansi-escapes@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-regex@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" + integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +application-config-path@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/application-config-path/-/application-config-path-0.1.1.tgz#8b5ac64ff6afdd9bd70ce69f6f64b6998f5f756e" + integrity sha512-zy9cHePtMP0YhwG+CfHm0bgwdnga2X3gZexpdCwEj//dpb+TKajtiC8REEUJUSq6Ab4f9cgNy2l8ObXzCXFkEw== + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +array-flatten@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" + integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +batch@0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" + integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== + +binary-extensions@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== + +bl@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + +body-parser@1.20.3: + version "1.20.3" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.3.tgz#1953431221c6fb5cd63c4b36d53fab0928e548c6" + integrity sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g== + dependencies: + bytes "3.1.2" + content-type "~1.0.5" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.13.0" + raw-body "2.5.2" + type-is "~1.6.18" + unpipe "1.0.0" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.3, braces@~3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +buffer@^5.5.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + +bundle-name@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-4.1.0.tgz#f3b96b34160d6431a19d7688135af7cfb8797889" + integrity sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q== + dependencies: + run-applescript "^7.0.0" + +busboy@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" + integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== + dependencies: + streamsearch "^1.1.0" + +bytes@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" + integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== + +cacache@^19.0.1: + version "19.0.1" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-19.0.1.tgz#3370cc28a758434c85c2585008bd5bdcff17d6cd" + integrity sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ== + dependencies: + "@npmcli/fs" "^4.0.0" + fs-minipass "^3.0.0" + glob "^10.2.2" + lru-cache "^10.0.1" + minipass "^7.0.3" + minipass-collect "^2.0.1" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + p-map "^7.0.2" + ssri "^12.0.0" + tar "^7.4.3" + unique-filename "^4.0.0" + +cacheable-lookup@^5.0.3: + version "5.0.4" + resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" + integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== + +cacheable-request@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.4.tgz#7a33ebf08613178b403635be7b899d3e69bbe817" + integrity sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^4.0.0" + lowercase-keys "^2.0.0" + normalize-url "^6.0.1" + responselike "^2.0.0" + +call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" + integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + +call-bound@^1.0.2: + version "1.0.4" + resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a" + integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg== + dependencies: + call-bind-apply-helpers "^1.0.2" + get-intrinsic "^1.3.0" + +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^5.3.0: + version "5.4.1" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.4.1.tgz#1b48bf0963ec158dce2aacf69c093ae2dd2092d8" + integrity sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w== + +chokidar@^3.5.1, chokidar@^3.5.2, chokidar@^3.5.3, chokidar@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +chokidar@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.3.tgz#7be37a4c03c9aee1ecfe862a4a23b2c70c205d30" + integrity sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA== + dependencies: + readdirp "^4.0.1" + +chownr@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4" + integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g== + +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + +cli-cursor@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-5.0.0.tgz#24a4831ecf5a6b01ddeb32fb71a4b2088b0dce38" + integrity sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw== + dependencies: + restore-cursor "^5.0.0" + +cli-spinners@^2.5.0: + version "2.9.2" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41" + integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== + +clone-response@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" + integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== + dependencies: + mimic-response "^1.0.0" + +clone@^1.0.2: + version "1.0.4" + resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" + integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +command-exists@^1.2.4: + version "1.2.9" + resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.9.tgz#c50725af3808c8ab0260fd60b01fbfa25b954f69" + integrity sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w== + +commander@^12.1.0: + version "12.1.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3" + integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA== + +commander@^13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-13.1.0.tgz#776167db68c78f38dcce1f9b8d7b8b9a488abf46" + integrity sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw== + +commander@^2.20.0: + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commander@^6.0.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" + integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== + +commander@^8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +config-chain@^1.1.11: + version "1.1.13" + resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" + integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== + dependencies: + ini "^1.3.4" + proto-list "~1.2.1" + +connect@^3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/connect/-/connect-3.7.0.tgz#5d49348910caa5e07a01800b030d0c35f20484f8" + integrity sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ== + dependencies: + debug "2.6.9" + finalhandler "1.1.2" + parseurl "~1.3.3" + utils-merge "1.0.1" + +content-disposition@0.5.4: + version "0.5.4" + resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" + integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== + dependencies: + safe-buffer "5.2.1" + +content-type@~1.0.4, content-type@~1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== + +cookie-signature@1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" + integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== + +cookie-signature@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.2.2.tgz#57c7fc3cc293acab9fec54d73e15690ebe4a1793" + integrity sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg== + +cookie@0.7.1: + version "0.7.1" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.1.tgz#2f73c42142d5d5cf71310a74fc4ae61670e5dbc9" + integrity sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w== + +cross-spawn@6.0.5: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + +cross-spawn@7.0.6, cross-spawn@^7.0.3, cross-spawn@^7.0.6: + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +debug@2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@4, debug@^4.1.1, debug@^4.3.4: + version "4.4.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" + integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== + dependencies: + ms "^2.1.3" + +debug@^3.1.0: + version "3.2.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== + dependencies: + mimic-response "^3.1.0" + +deep-extend@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" + integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== + +default-browser-id@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-5.0.0.tgz#a1d98bf960c15082d8a3fa69e83150ccccc3af26" + integrity sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA== + +default-browser@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/default-browser/-/default-browser-5.2.1.tgz#7b7ba61204ff3e425b556869ae6d3e9d9f1712cf" + integrity sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg== + dependencies: + bundle-name "^4.1.0" + default-browser-id "^5.0.0" + +defaults@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" + integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== + dependencies: + clone "^1.0.2" + +defer-to-connect@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" + integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== + +define-lazy-prop@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz#dbb19adfb746d7fc6d734a06b72f4a00d021255f" + integrity sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg== + +depd@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== + +depd@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== + +destroy@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" + integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== + +devcert@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/devcert/-/devcert-1.2.2.tgz#7ebbefeb74991e269ceafcd66f2bb78677c12652" + integrity sha512-UsLqvtJGPiGwsIZnJINUnFYaWgK7CroreGRndWHZkRD58tPFr3pVbbSyHR8lbh41+azR4jKvuNZ+eCoBZGA5kA== + dependencies: + "@types/configstore" "^2.1.1" + "@types/debug" "^0.0.30" + "@types/get-port" "^3.2.0" + "@types/glob" "^5.0.34" + "@types/lodash" "^4.14.92" + "@types/mkdirp" "^0.5.2" + "@types/node" "^8.5.7" + "@types/rimraf" "^2.0.2" + "@types/tmp" "^0.0.33" + application-config-path "^0.1.0" + command-exists "^1.2.4" + debug "^3.1.0" + eol "^0.9.1" + get-port "^3.2.0" + glob "^7.1.2" + is-valid-domain "^0.1.6" + lodash "^4.17.4" + mkdirp "^0.5.1" + password-prompt "^1.0.4" + rimraf "^2.6.2" + sudo-prompt "^8.2.0" + tmp "^0.0.33" + tslib "^1.10.0" + +diff-sequences@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327" + integrity sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ== + +dunder-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" + integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== + dependencies: + call-bind-apply-helpers "^1.0.1" + es-errors "^1.3.0" + gopd "^1.2.0" + +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + +ee-first@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" + integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== + +elm-codegen@^0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/elm-codegen/-/elm-codegen-0.6.1.tgz#396bb401e05a0ea911ea289d688f247daa43b60a" + integrity sha512-mbVmK4fqW+wtYzTZhJSuT42KrQZMRTueYerCvo09sO5v7QdDGw3qeG/rL1vLH0q2GJF44lXhyBo4lv6azSBOQQ== + dependencies: + chalk "^4.1.1" + chokidar "^3.5.1" + commander "^8.3.0" + node-elm-compiler "^5.0.6" + +elm-doc-preview@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/elm-doc-preview/-/elm-doc-preview-6.0.1.tgz#bbdeebeb97135e8bfa78c029520a2a14754db4f7" + integrity sha512-G/xgVRKpbLuqliQmBINQFE6I0YAwqET2+SabiyXE47kaVChkhIz91HlZudUvCzTG/CV2ci7AERtAwYzQ4bjOKA== + dependencies: + chalk "^5.3.0" + chokidar "^3.6.0" + commander "^12.1.0" + cross-spawn "^7.0.6" + express "^4.21.2" + express-ws "^5.0.2" + glob "^11.0.0" + latest-version "^9.0.0" + open "^10.1.0" + serve-index "^1.9.1" + serve-static "^1.16.2" + tmp "0.2.3" + ws "^8.18.0" + +elm-format@^0.8.7: + version "0.8.7" + resolved "https://registry.yarnpkg.com/elm-format/-/elm-format-0.8.7.tgz#23d8a320ef896400b01b26609f99f579b2ed2d84" + integrity sha512-sVzFXfWnb+6rzXK+q3e3Ccgr6/uS5mFbFk1VSmigC+x2XZ28QycAa7lS8owl009ALPhRQk+pZ95Eq5ANjpEZsQ== + optionalDependencies: + "@avh4/elm-format-darwin-arm64" "0.8.7-2" + "@avh4/elm-format-darwin-x64" "0.8.7-2" + "@avh4/elm-format-linux-arm64" "0.8.7-2" + "@avh4/elm-format-linux-x64" "0.8.7-2" + "@avh4/elm-format-win32-x64" "0.8.7-2" + +elm-hot@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/elm-hot/-/elm-hot-1.1.6.tgz#93e3962b40670e65f0a3640951b3add2702bfd0e" + integrity sha512-zYZJlfs7Gt4BdjA+D+857K+XAWzwwySJmXCgFpHW1dIEfaHSZCIPYPf7/jinZBLfKRkOAlKzI32AA84DY50g7Q== + +elm-optimize-level-2@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/elm-optimize-level-2/-/elm-optimize-level-2-0.3.5.tgz#a0ac9b825d9ff68be50ed1b819780f88693a872a" + integrity sha512-t1xl8zR9UBspdmEMuLBE/qTLP+Ew3L4PzKLhSY/PsO21HU3jZ1ULmKxDtZmJPVG4ciqsY1JSl/GFbaSdQ1sX9Q== + dependencies: + "@types/jest" "^27.0.3" + chalk "^4.1.0" + commander "^6.0.0" + node-elm-compiler "^5.0.4" + ts-union "^2.2.1" + typescript "^4.5.5" + +elm-pages@3.0.22: + version "3.0.22" + resolved "https://registry.yarnpkg.com/elm-pages/-/elm-pages-3.0.22.tgz#4ede3a0e4577b581243cb36c84826cb1afc6579d" + integrity sha512-Q2h9YPmIZu/q+LK2dFk7eh5EdpAPRUXekeZwCnzETZsw83wmN9bHZ64ekn3P7jL5ZpjS5VQ3FipvDI1AoOEkuA== + dependencies: + "@sindresorhus/merge-streams" "^4.0.0" + busboy "^1.6.0" + chokidar "^4.0.3" + cli-cursor "^5.0.0" + commander "^13.1.0" + connect "^3.7.0" + cookie-signature "^1.2.2" + cross-spawn "7.0.6" + devcert "^1.2.2" + elm-doc-preview "^6.0.1" + elm-hot "^1.1.6" + esbuild "^0.25.0" + fs-extra "^11.3.0" + globby "14.1.0" + gray-matter "^4.0.3" + jsesc "^3.1.0" + kleur "^4.1.5" + make-fetch-happen "^14.0.3" + memfs "^4.17.0" + micromatch "^4.0.8" + serve-static "^1.16.2" + terser "^5.39.0" + vite "^6.2.0" + which "^5.0.0" + +elm-review@^2.13.2: + version "2.13.2" + resolved "https://registry.yarnpkg.com/elm-review/-/elm-review-2.13.2.tgz#e303bb976f6a6de70f1a3bd1f392f21eb9f34e49" + integrity sha512-kI34BQ/EN1NC4KUcdZWAGNbaxWmR80kqJQRjT1ZmC0AyZRiJqdylhANucyzhPKEz60VGAkqau5axpySWXbdPLg== + dependencies: + chalk "^4.0.0" + chokidar "^3.5.2" + cross-spawn "^7.0.3" + elm-solve-deps-wasm "^1.0.2 || ^2.0.0" + fastest-levenshtein "^1.0.16" + find-up "^4.1.0 || ^5.0.0" + folder-hash "^3.3.0" + got "^11.8.5" + graceful-fs "^4.2.11" + minimist "^1.2.6" + ora "^5.4.0" + path-key "^3.1.1" + prompts "^2.2.1" + strip-ansi "^6.0.0" + terminal-link "^2.1.1" + tinyglobby "^0.2.10" + which "^2.0.2" + wrap-ansi "^7.0.0" + +"elm-solve-deps-wasm@^1.0.2 || ^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/elm-solve-deps-wasm/-/elm-solve-deps-wasm-2.0.0.tgz#8214705876fbcd9789cf6ab2db45ec781b5c1234" + integrity sha512-11OV8FgB9qsth/F94q2SJjb1MoEgbworSyNM1L+YlxVoaxp7wtWPyA8cNcPEkSoIKG1B8Tqg68ED1P6dVamHSg== + +elm-test-rs@^3.0.0-5: + version "3.0.0-5" + resolved "https://registry.yarnpkg.com/elm-test-rs/-/elm-test-rs-3.0.0-5.tgz#b5d300b6585cff60fcae29157d52081281b728e8" + integrity sha512-efTPM54Ly7gm6zfECCYxfueP4TOVrMudae2eturtMBAvp5rlFOkWUL+7VHAsd4AjCvMNw5h7qD+c/RqQDhAH9Q== + optionalDependencies: + "@mattpiz/elm-test-rs-darwin-arm64" "3.0.0-1" + "@mattpiz/elm-test-rs-darwin-x64" "3.0.0-0" + "@mattpiz/elm-test-rs-linux-arm" "3.0.0-0" + "@mattpiz/elm-test-rs-linux-arm64" "3.0.0-0" + "@mattpiz/elm-test-rs-linux-x64" "3.0.0-0" + "@mattpiz/elm-test-rs-win32-x64" "3.0.0-0" + +elm-watch@^2.0.0-beta.6: + version "2.0.0-beta.6" + resolved "https://registry.yarnpkg.com/elm-watch/-/elm-watch-2.0.0-beta.6.tgz#33b31856de19276690715c3f8a495f1e312630d2" + integrity sha512-pb3qZVfoBMEWsfrP4mN760z85n5XC0cXg1JRR4ojAVZVjFMeDczYojLaKDQgP+qNeMAK52xj7s31+bCevT+X2Q== + dependencies: + chokidar "^3.5.3" + cross-spawn "^7.0.6" + tiny-decoders "^23.0.0" + ws "^8.18.0" + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +encodeurl@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" + integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== + +encodeurl@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" + integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== + +encoding@^0.1.13: + version "0.1.13" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" + integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== + dependencies: + iconv-lite "^0.6.2" + +end-of-stream@^1.1.0: + version "1.4.4" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + +eol@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/eol/-/eol-0.9.1.tgz#f701912f504074be35c6117a5c4ade49cd547acd" + integrity sha512-Ds/TEoZjwggRoz/Q2O7SE3i4Jm66mqTDfmdHdq/7DKVk3bro9Q8h6WdXKdPqFLMoqxrDK5SVRzHVPOS6uuGtrg== + +err-code@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" + integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== + +es-define-property@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" + integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + +es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" + integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + dependencies: + es-errors "^1.3.0" + +esbuild@^0.25.0: + version "0.25.2" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.2.tgz#55a1d9ebcb3aa2f95e8bba9e900c1a5061bc168b" + integrity sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ== + optionalDependencies: + "@esbuild/aix-ppc64" "0.25.2" + "@esbuild/android-arm" "0.25.2" + "@esbuild/android-arm64" "0.25.2" + "@esbuild/android-x64" "0.25.2" + "@esbuild/darwin-arm64" "0.25.2" + "@esbuild/darwin-x64" "0.25.2" + "@esbuild/freebsd-arm64" "0.25.2" + "@esbuild/freebsd-x64" "0.25.2" + "@esbuild/linux-arm" "0.25.2" + "@esbuild/linux-arm64" "0.25.2" + "@esbuild/linux-ia32" "0.25.2" + "@esbuild/linux-loong64" "0.25.2" + "@esbuild/linux-mips64el" "0.25.2" + "@esbuild/linux-ppc64" "0.25.2" + "@esbuild/linux-riscv64" "0.25.2" + "@esbuild/linux-s390x" "0.25.2" + "@esbuild/linux-x64" "0.25.2" + "@esbuild/netbsd-arm64" "0.25.2" + "@esbuild/netbsd-x64" "0.25.2" + "@esbuild/openbsd-arm64" "0.25.2" + "@esbuild/openbsd-x64" "0.25.2" + "@esbuild/sunos-x64" "0.25.2" + "@esbuild/win32-arm64" "0.25.2" + "@esbuild/win32-ia32" "0.25.2" + "@esbuild/win32-x64" "0.25.2" + +escape-html@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" + integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +etag@~1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" + integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== + +express-ws@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/express-ws/-/express-ws-5.0.2.tgz#5b02d41b937d05199c6c266d7cc931c823bda8eb" + integrity sha512-0uvmuk61O9HXgLhGl3QhNSEtRsQevtmbL94/eILaliEADZBHZOQUAiHFrGPrgsjikohyrmSG5g+sCfASTt0lkQ== + dependencies: + ws "^7.4.6" + +express@^4.21.2: + version "4.21.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.21.2.tgz#cf250e48362174ead6cea4a566abef0162c1ec32" + integrity sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA== + dependencies: + accepts "~1.3.8" + array-flatten "1.1.1" + body-parser "1.20.3" + content-disposition "0.5.4" + content-type "~1.0.4" + cookie "0.7.1" + cookie-signature "1.0.6" + debug "2.6.9" + depd "2.0.0" + encodeurl "~2.0.0" + escape-html "~1.0.3" + etag "~1.8.1" + finalhandler "1.3.1" + fresh "0.5.2" + http-errors "2.0.0" + merge-descriptors "1.0.3" + methods "~1.1.2" + on-finished "2.4.1" + parseurl "~1.3.3" + path-to-regexp "0.1.12" + proxy-addr "~2.0.7" + qs "6.13.0" + range-parser "~1.2.1" + safe-buffer "5.2.1" + send "0.19.0" + serve-static "1.16.2" + setprototypeof "1.2.0" + statuses "2.0.1" + type-is "~1.6.18" + utils-merge "1.0.1" + vary "~1.1.2" + +extend-shallow@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" + integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== + dependencies: + is-extendable "^0.1.0" + +fast-glob@^3.3.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818" + integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.8" + +fastest-levenshtein@^1.0.16: + version "1.0.16" + resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" + integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== + +fastq@^1.6.0: + version "1.19.1" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.19.1.tgz#d50eaba803c8846a883c16492821ebcd2cda55f5" + integrity sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ== + dependencies: + reusify "^1.0.4" + +fdir@^6.4.3, fdir@^6.4.4: + version "6.4.4" + resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.4.tgz#1cfcf86f875a883e19a8fab53622cfe992e8d2f9" + integrity sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg== + +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + +finalhandler@1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" + integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== + dependencies: + debug "2.6.9" + encodeurl "~1.0.2" + escape-html "~1.0.3" + on-finished "~2.3.0" + parseurl "~1.3.3" + statuses "~1.5.0" + unpipe "~1.0.0" + +finalhandler@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.3.1.tgz#0c575f1d1d324ddd1da35ad7ece3df7d19088019" + integrity sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ== + dependencies: + debug "2.6.9" + encodeurl "~2.0.0" + escape-html "~1.0.3" + on-finished "2.4.1" + parseurl "~1.3.3" + statuses "2.0.1" + unpipe "~1.0.0" + +find-elm-dependencies@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/find-elm-dependencies/-/find-elm-dependencies-2.0.4.tgz#0a327fc8c0c0297b54115efbf0a9d6de474cfc89" + integrity sha512-x/4w4fVmlD2X4PD9oQ+yh9EyaQef6OtEULdMGBTuWx0Nkppvo2Z/bAiQioW2n+GdRYKypME2b9OmYTw5tw5qDg== + dependencies: + firstline "^1.2.0" + lodash "^4.17.19" + +"find-up@^4.1.0 || ^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +firstline@^1.2.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/firstline/-/firstline-1.3.1.tgz#59e84af0fd858fbc6dac0a0ff97fd22a47e58084" + integrity sha512-ycwgqtoxujz1dm0kjkBFOPQMESxB9uKc/PlD951dQDIG+tBXRpYZC2UmJb0gDxopQ1ZX6oyRQN3goRczYu7Deg== + +folder-hash@^3.3.0: + version "3.3.3" + resolved "https://registry.yarnpkg.com/folder-hash/-/folder-hash-3.3.3.tgz#883c8359d54f91b3f02c1a646c00c30e5831365b" + integrity sha512-SDgHBgV+RCjrYs8aUwCb9rTgbTVuSdzvFmLaChsLre1yf+D64khCW++VYciaByZ8Rm0uKF8R/XEpXuTRSGUM1A== + dependencies: + debug "^4.1.1" + graceful-fs "~4.2.0" + minimatch "~3.0.4" + +foreground-child@^3.1.0: + version "3.3.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" + integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== + dependencies: + cross-spawn "^7.0.6" + signal-exit "^4.0.1" + +forwarded@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" + integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== + +fresh@0.5.2: + version "0.5.2" + resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" + integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== + +fs-extra@^11.3.0: + version "11.3.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.0.tgz#0daced136bbaf65a555a326719af931adc7a314d" + integrity sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-minipass@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-3.0.3.tgz#79a85981c4dc120065e96f62086bf6f9dc26cc54" + integrity sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw== + dependencies: + minipass "^7.0.3" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@~2.3.2, fsevents@~2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + +get-intrinsic@^1.2.5, get-intrinsic@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" + integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== + dependencies: + call-bind-apply-helpers "^1.0.2" + es-define-property "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.1.1" + function-bind "^1.1.2" + get-proto "^1.0.1" + gopd "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" + math-intrinsics "^1.1.0" + +get-port@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc" + integrity sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg== + +get-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" + integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== + dependencies: + dunder-proto "^1.0.1" + es-object-atoms "^1.0.0" + +get-stream@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" + integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== + dependencies: + pump "^3.0.0" + +glob-parent@^5.1.2, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob@^10.2.2: + version "10.4.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" + +glob@^11.0.0: + version "11.0.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-11.0.1.tgz#1c3aef9a59d680e611b53dcd24bb8639cef064d9" + integrity sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw== + dependencies: + foreground-child "^3.1.0" + jackspeak "^4.0.1" + minimatch "^10.0.0" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^2.0.0" + +glob@^7.1.2, glob@^7.1.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globby@14.1.0: + version "14.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-14.1.0.tgz#138b78e77cf5a8d794e327b15dce80bf1fb0a73e" + integrity sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA== + dependencies: + "@sindresorhus/merge-streams" "^2.1.0" + fast-glob "^3.3.3" + ignore "^7.0.3" + path-type "^6.0.0" + slash "^5.1.0" + unicorn-magic "^0.3.0" + +gopd@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" + integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== + +got@^11.8.5: + version "11.8.6" + resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a" + integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g== + dependencies: + "@sindresorhus/is" "^4.0.0" + "@szmarczak/http-timer" "^4.0.5" + "@types/cacheable-request" "^6.0.1" + "@types/responselike" "^1.0.0" + cacheable-lookup "^5.0.3" + cacheable-request "^7.0.2" + decompress-response "^6.0.0" + http2-wrapper "^1.0.0-beta.5.2" + lowercase-keys "^2.0.0" + p-cancelable "^2.0.0" + responselike "^2.0.0" + +graceful-fs@4.2.10: + version "4.2.10" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@~4.2.0: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +gray-matter@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/gray-matter/-/gray-matter-4.0.3.tgz#e893c064825de73ea1f5f7d88c7a9f7274288798" + integrity sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q== + dependencies: + js-yaml "^3.13.1" + kind-of "^6.0.2" + section-matter "^1.0.0" + strip-bom-string "^1.0.0" + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" + integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== + +hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + +http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== + +http-errors@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" + integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== + dependencies: + depd "2.0.0" + inherits "2.0.4" + setprototypeof "1.2.0" + statuses "2.0.1" + toidentifier "1.0.1" + +http-errors@~1.6.2: + version "1.6.3" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" + integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== + dependencies: + depd "~1.1.2" + inherits "2.0.3" + setprototypeof "1.1.0" + statuses ">= 1.4.0 < 2" + +http-proxy-agent@^7.0.0: + version "7.0.2" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" + integrity sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + +http2-wrapper@^1.0.0-beta.5.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" + integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== + dependencies: + quick-lru "^5.1.1" + resolve-alpn "^1.0.0" + +https-proxy-agent@^7.0.1: + version "7.0.6" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" + integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw== + dependencies: + agent-base "^7.1.2" + debug "4" + +hyperdyperid@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/hyperdyperid/-/hyperdyperid-1.2.0.tgz#59668d323ada92228d2a869d3e474d5a33b69e6b" + integrity sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A== + +iconv-lite@0.4.24: + version "0.4.24" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +iconv-lite@^0.6.2: + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + +ieee754@^1.1.13: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-7.0.3.tgz#397ef9315dfe0595671eefe8b633fec6943ab733" + integrity sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA== + +immediate@~3.0.5: + version "3.0.6" + resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" + integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ== + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@2.0.4, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + +ini@^1.3.4, ini@~1.3.0: + version "1.3.8" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +ip-address@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" + integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== + dependencies: + jsbn "1.1.0" + sprintf-js "^1.1.3" + +ipaddr.js@1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" + integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + +is-extendable@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-glob@^4.0.1, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + +is-interactive@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" + integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== + +is-valid-domain@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-valid-domain/-/is-valid-domain-0.1.6.tgz#3c85469d2938f170c8f82ce6e52df8ad9fca8105" + integrity sha512-ZKtq737eFkZr71At8NxOFcP9O1K89gW3DkdrGMpp1upr/ueWjj+Weh4l9AI4rN0Gt8W2M1w7jrG2b/Yv83Ljpg== + dependencies: + punycode "^2.1.1" + +is-wsl@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-3.1.0.tgz#e1c657e39c10090afcbedec61720f6b924c3cbd2" + integrity sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw== + dependencies: + is-inside-container "^1.0.0" + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isexe@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-3.1.1.tgz#4a407e2bd78ddfb14bea0c27c6f7072dde775f0d" + integrity sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ== + +jackspeak@^3.1.2: + version "3.4.3" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" + integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + +jackspeak@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-4.1.0.tgz#c489c079f2b636dc4cbe9b0312a13ff1282e561b" + integrity sha512-9DDdhb5j6cpeitCbvLO7n7J4IxnbM6hoF6O1g4HQ5TfhvvKN8ywDM7668ZhMHRqVmxqhps/F6syWK2KcPxYlkw== + dependencies: + "@isaacs/cliui" "^8.0.2" + +jest-diff@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def" + integrity sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw== + dependencies: + chalk "^4.0.0" + diff-sequences "^27.5.1" + jest-get-type "^27.5.1" + pretty-format "^27.5.1" + +jest-get-type@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1" + integrity sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw== + +jest-matcher-utils@^27.0.0: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab" + integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw== + dependencies: + chalk "^4.0.0" + jest-diff "^27.5.1" + jest-get-type "^27.5.1" + pretty-format "^27.5.1" + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsbn@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" + integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== + +jsesc@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d" + integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== + +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + +keyv@^4.0.0: + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + +kind-of@^6.0.0, kind-of@^6.0.2: + version "6.0.3" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +kleur@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" + integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== + +ky@^1.2.0: + version "1.8.1" + resolved "https://registry.yarnpkg.com/ky/-/ky-1.8.1.tgz#b1adaa473bc30aced2bab4c408ec177b78d198f0" + integrity sha512-7Bp3TpsE+L+TARSnnDpk3xg8Idi8RwSLdj6CMbNWoOARIrGrbuLGusV0dYwbZOm4bB3jHNxSw8Wk/ByDqJEnDw== + +latest-version@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-9.0.0.tgz#e91ed216e7a4badc6f73b66c65adb46c58ec6ba1" + integrity sha512-7W0vV3rqv5tokqkBAFV1LbR7HPOWzXQDpDgEuib/aJ1jsZZx6x3c2mBI+TJhJzOhkGeaLbCKEHXEXLfirtG2JA== + dependencies: + package-json "^10.0.0" + +lie@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/lie/-/lie-3.1.1.tgz#9a436b2cc7746ca59de7a41fa469b3efb76bd87e" + integrity sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw== + dependencies: + immediate "~3.0.5" + +localforage@^1.9.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/localforage/-/localforage-1.10.0.tgz#5c465dc5f62b2807c3a84c0c6a1b1b3212781dd4" + integrity sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg== + dependencies: + lie "3.1.1" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash@^4.17.19, lodash@^4.17.4: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +log-symbols@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + dependencies: + chalk "^4.1.0" + is-unicode-supported "^0.1.0" + +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== + +lru-cache@^10.0.1, lru-cache@^10.2.0: + version "10.4.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== + +lru-cache@^11.0.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-11.1.0.tgz#afafb060607108132dbc1cf8ae661afb69486117" + integrity sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A== + +make-fetch-happen@^14.0.3: + version "14.0.3" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-14.0.3.tgz#d74c3ecb0028f08ab604011e0bc6baed483fcdcd" + integrity sha512-QMjGbFTP0blj97EeidG5hk/QhKQ3T4ICckQGLgz38QF7Vgbk6e6FTARN8KhKxyBbWn8R0HU+bnw8aSoFPD4qtQ== + dependencies: + "@npmcli/agent" "^3.0.0" + cacache "^19.0.1" + http-cache-semantics "^4.1.1" + minipass "^7.0.2" + minipass-fetch "^4.0.0" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^1.0.0" + proc-log "^5.0.0" + promise-retry "^2.0.1" + ssri "^12.0.0" + +math-intrinsics@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" + integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== + +media-typer@0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" + integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== + +memfs@^4.17.0: + version "4.17.0" + resolved "https://registry.yarnpkg.com/memfs/-/memfs-4.17.0.tgz#a3c4b5490b9b1e7df5d433adc163e08208ce7ca2" + integrity sha512-4eirfZ7thblFmqFjywlTmuWVSvccHAJbn1r8qQLzmTO11qcqpohOjmY2mFce6x7x7WtskzRqApPD0hv+Oa74jg== + dependencies: + "@jsonjoy.com/json-pack" "^1.0.3" + "@jsonjoy.com/util" "^1.3.0" + tree-dump "^1.0.1" + tslib "^2.0.0" + +merge-descriptors@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.3.tgz#d80319a65f3c7935351e5cfdac8f9318504dbed5" + integrity sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ== + +merge2@^1.3.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +methods@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" + integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== + +micromatch@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== + dependencies: + braces "^3.0.3" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mime@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" + integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +mimic-function@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/mimic-function/-/mimic-function-5.0.1.tgz#acbe2b3349f99b9deaca7fb70e48b83e94e67076" + integrity sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA== + +mimic-response@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== + +minimatch@^10.0.0: + version "10.0.1" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.1.tgz#ce0521856b453c86e25f2c4c0d03e6ff7ddc440b" + integrity sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^9.0.4: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== + dependencies: + brace-expansion "^2.0.1" + +minimatch@~3.0.4: + version "3.0.8" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.8.tgz#5e6a59bd11e2ab0de1cfb843eb2d82e546c321c1" + integrity sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.0, minimist@^1.2.6: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + +minipass-collect@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-2.0.1.tgz#1621bc77e12258a12c60d34e2276ec5c20680863" + integrity sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw== + dependencies: + minipass "^7.0.3" + +minipass-fetch@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-4.0.1.tgz#f2d717d5a418ad0b1a7274f9b913515d3e78f9e5" + integrity sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ== + dependencies: + minipass "^7.0.3" + minipass-sized "^1.0.3" + minizlib "^3.0.1" + optionalDependencies: + encoding "^0.1.13" + +minipass-flush@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" + integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== + dependencies: + minipass "^3.0.0" + +minipass-pipeline@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" + integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== + dependencies: + minipass "^3.0.0" + +minipass-sized@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" + integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== + dependencies: + minipass "^3.0.0" + +minipass@^3.0.0: + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== + dependencies: + yallist "^4.0.0" + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.2, minipass@^7.0.3, minipass@^7.0.4, minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + +minizlib@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-3.0.2.tgz#f33d638eb279f664439aa38dc5f91607468cb574" + integrity sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA== + dependencies: + minipass "^7.1.2" + +mkdirp@^0.5.1: + version "0.5.6" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" + integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== + dependencies: + minimist "^1.2.6" + +mkdirp@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-3.0.1.tgz#e44e4c5607fb279c168241713cc6e0fea9adcb50" + integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== + +ms@2.1.3, ms@^2.1.1, ms@^2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +nanoid@^3.3.8: + version "3.3.11" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" + integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== + +negotiator@0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + +negotiator@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.0.0.tgz#b6c91bb47172d69f93cfd7c357bbb529019b5f6a" + integrity sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg== + +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + +node-elm-compiler@^5.0.4, node-elm-compiler@^5.0.6: + version "5.0.6" + resolved "https://registry.yarnpkg.com/node-elm-compiler/-/node-elm-compiler-5.0.6.tgz#d4a6e6c9d9a26dba4211ccd2aeae7d5e34057f0c" + integrity sha512-DWTRQR8b54rvschcZRREdsz7K84lnS8A6YJu8du3QLQ8f204SJbyTaA6NzYYbfUG97OTRKRv/0KZl82cTfpLhA== + dependencies: + cross-spawn "6.0.5" + find-elm-dependencies "^2.0.4" + lodash "^4.17.19" + temp "^0.9.0" + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-url@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== + +object-inspect@^1.13.3: + version "1.13.4" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" + integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== + +on-finished@2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" + integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + dependencies: + ee-first "1.1.1" + +on-finished@~2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" + integrity sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww== + dependencies: + ee-first "1.1.1" + +once@^1.3.0, once@^1.3.1, once@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +onetime@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-7.0.0.tgz#9f16c92d8c9ef5120e3acd9dd9957cceecc1ab60" + integrity sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ== + dependencies: + mimic-function "^5.0.0" + +open@^10.1.0: + version "10.1.1" + resolved "https://registry.yarnpkg.com/open/-/open-10.1.1.tgz#5fd814699e47ae3e1a09962d39f4f4441cae6c22" + integrity sha512-zy1wx4+P3PfhXSEPJNtZmJXfhkkIaxU1VauWIrDZw1O7uJRDRJtKr9n3Ic4NgbA16KyOxOXO2ng9gYwCdXuSXA== + dependencies: + default-browser "^5.2.1" + define-lazy-prop "^3.0.0" + is-inside-container "^1.0.0" + is-wsl "^3.1.0" + +ora@^5.4.0: + version "5.4.1" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== + dependencies: + bl "^4.1.0" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.5.0" + is-interactive "^1.0.0" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" + +os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + +p-cancelable@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" + integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== + +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +p-map@^7.0.2: + version "7.0.3" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-7.0.3.tgz#7ac210a2d36f81ec28b736134810f7ba4418cdb6" + integrity sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA== + +package-json-from-dist@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== + +package-json@^10.0.0: + version "10.0.1" + resolved "https://registry.yarnpkg.com/package-json/-/package-json-10.0.1.tgz#e49ee07b8de63b638e7f1b5bb353733e428fe7d7" + integrity sha512-ua1L4OgXSBdsu1FPb7F3tYH0F48a6kxvod4pLUlGY9COeJAJQNX/sNH2IiEmsxw7lqYiAwrdHMjz1FctOsyDQg== + dependencies: + ky "^1.2.0" + registry-auth-token "^5.0.2" + registry-url "^6.0.1" + semver "^7.6.0" + +parseurl@~1.3.2, parseurl@~1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== + +password-prompt@^1.0.4: + version "1.1.3" + resolved "https://registry.yarnpkg.com/password-prompt/-/password-prompt-1.1.3.tgz#05e539f4e7ca4d6c865d479313f10eb9db63ee5f" + integrity sha512-HkrjG2aJlvF0t2BMH0e2LB/EHf3Lcq3fNMzy4GYHcQblAvOl+QQji1Lx7WRBMqpVK8p+KR7bCg7oqAMXtdgqyw== + dependencies: + ansi-escapes "^4.3.2" + cross-spawn "^7.0.3" + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== + +path-key@^3.1.0, path-key@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-scurry@^1.11.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + +path-scurry@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-2.0.0.tgz#9f052289f23ad8bf9397a2a0425e7b8615c58580" + integrity sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg== + dependencies: + lru-cache "^11.0.0" + minipass "^7.1.2" + +path-to-regexp@0.1.12: + version "0.1.12" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.12.tgz#d5e1a12e478a976d432ef3c58d534b9923164bb7" + integrity sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ== + +path-type@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-6.0.0.tgz#2f1bb6791a91ce99194caede5d6c5920ed81eb51" + integrity sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ== + +picocolors@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +picomatch@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab" + integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg== + +postcss@^8.5.3: + version "8.5.3" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.3.tgz#1463b6f1c7fb16fe258736cba29a2de35237eafb" + integrity sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A== + dependencies: + nanoid "^3.3.8" + picocolors "^1.1.1" + source-map-js "^1.2.1" + +pretty-format@^27.0.0, pretty-format@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== + dependencies: + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^17.0.1" + +proc-log@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-5.0.0.tgz#e6c93cf37aef33f835c53485f314f50ea906a9d8" + integrity sha512-Azwzvl90HaF0aCz1JrDdXQykFakSSNPaPoiZ9fm5qJIMHioDZEi7OAdRwSm6rSoPtY3Qutnm3L7ogmg3dc+wbQ== + +promise-retry@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" + integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== + dependencies: + err-code "^2.0.2" + retry "^0.12.0" + +prompts@^2.2.1: + version "2.4.2" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + +proto-list@~1.2.1: + version "1.2.4" + resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== + +proxy-addr@~2.0.7: + version "2.0.7" + resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" + integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== + dependencies: + forwarded "0.2.0" + ipaddr.js "1.9.1" + +pump@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.2.tgz#836f3edd6bc2ee599256c924ffe0d88573ddcbf8" + integrity sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw== + dependencies: + end-of-stream "^1.1.0" + once "^1.3.1" + +punycode@^2.1.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== + +qs@6.13.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906" + integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg== + dependencies: + side-channel "^1.0.6" + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + +range-parser@~1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" + integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + +rc@1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" + integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== + dependencies: + deep-extend "^0.6.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" + +react-is@^17.0.1: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + +readable-stream@^3.4.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readdirp@^4.0.1: + version "4.1.2" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.1.2.tgz#eb85801435fbf2a7ee58f19e0921b068fc69948d" + integrity sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg== + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +registry-auth-token@^5.0.2: + version "5.1.0" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-5.1.0.tgz#3c659047ecd4caebd25bc1570a3aa979ae490eca" + integrity sha512-GdekYuwLXLxMuFTwAPg5UKGLW/UXzQrZvH/Zj791BQif5T05T0RsaLfHc9q3ZOKi7n+BoprPD9mJ0O0k4xzUlw== + dependencies: + "@pnpm/npm-conf" "^2.1.0" + +registry-url@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-6.0.1.tgz#056d9343680f2f64400032b1e199faa692286c58" + integrity sha512-+crtS5QjFRqFCoQmvGduwYWEBng99ZvmFvF+cUJkGYF1L1BfU8C6Zp9T7f5vPAwyLkUExpvK+ANVZmGU49qi4Q== + dependencies: + rc "1.2.8" + +resolve-alpn@^1.0.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" + integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== + +responselike@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" + integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== + dependencies: + lowercase-keys "^2.0.0" + +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + +restore-cursor@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-5.1.0.tgz#0766d95699efacb14150993f55baf0953ea1ebe7" + integrity sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA== + dependencies: + onetime "^7.0.0" + signal-exit "^4.1.0" + +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + +reusify@^1.0.4: + version "1.1.0" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.1.0.tgz#0fe13b9522e1473f51b558ee796e08f11f9b489f" + integrity sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw== + +rimraf@^2.6.2: + version "2.7.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== + dependencies: + glob "^7.1.3" + +rimraf@~2.6.2: + version "2.6.3" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" + integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== + dependencies: + glob "^7.1.3" + +rollup@^4.34.9: + version "4.40.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.40.0.tgz#13742a615f423ccba457554f006873d5a4de1920" + integrity sha512-Noe455xmA96nnqH5piFtLobsGbCij7Tu+tb3c1vYjNbTkfzGqXqQXG3wJaYXkRZuQ0vEYN4bhwg7QnIrqB5B+w== + dependencies: + "@types/estree" "1.0.7" + optionalDependencies: + "@rollup/rollup-android-arm-eabi" "4.40.0" + "@rollup/rollup-android-arm64" "4.40.0" + "@rollup/rollup-darwin-arm64" "4.40.0" + "@rollup/rollup-darwin-x64" "4.40.0" + "@rollup/rollup-freebsd-arm64" "4.40.0" + "@rollup/rollup-freebsd-x64" "4.40.0" + "@rollup/rollup-linux-arm-gnueabihf" "4.40.0" + "@rollup/rollup-linux-arm-musleabihf" "4.40.0" + "@rollup/rollup-linux-arm64-gnu" "4.40.0" + "@rollup/rollup-linux-arm64-musl" "4.40.0" + "@rollup/rollup-linux-loongarch64-gnu" "4.40.0" + "@rollup/rollup-linux-powerpc64le-gnu" "4.40.0" + "@rollup/rollup-linux-riscv64-gnu" "4.40.0" + "@rollup/rollup-linux-riscv64-musl" "4.40.0" + "@rollup/rollup-linux-s390x-gnu" "4.40.0" + "@rollup/rollup-linux-x64-gnu" "4.40.0" + "@rollup/rollup-linux-x64-musl" "4.40.0" + "@rollup/rollup-win32-arm64-msvc" "4.40.0" + "@rollup/rollup-win32-ia32-msvc" "4.40.0" + "@rollup/rollup-win32-x64-msvc" "4.40.0" + fsevents "~2.3.2" + +run-applescript@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-7.0.0.tgz#e5a553c2bffd620e169d276c1cd8f1b64778fbeb" + integrity sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A== + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +safe-buffer@5.2.1, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +section-matter@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/section-matter/-/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167" + integrity sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA== + dependencies: + extend-shallow "^2.0.1" + kind-of "^6.0.0" + +semver@^5.5.0: + version "5.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" + integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== + +semver@^7.3.5, semver@^7.6.0: + version "7.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f" + integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA== + +send@0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.19.0.tgz#bbc5a388c8ea6c048967049dbeac0e4a3f09d7f8" + integrity sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw== + dependencies: + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + fresh "0.5.2" + http-errors "2.0.0" + mime "1.6.0" + ms "2.1.3" + on-finished "2.4.1" + range-parser "~1.2.1" + statuses "2.0.1" + +serve-index@^1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" + integrity sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw== + dependencies: + accepts "~1.3.4" + batch "0.6.1" + debug "2.6.9" + escape-html "~1.0.3" + http-errors "~1.6.2" + mime-types "~2.1.17" + parseurl "~1.3.2" + +serve-static@1.16.2, serve-static@^1.16.2: + version "1.16.2" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.2.tgz#b6a5343da47f6bdd2673848bf45754941e803296" + integrity sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw== + dependencies: + encodeurl "~2.0.0" + escape-html "~1.0.3" + parseurl "~1.3.3" + send "0.19.0" + +setprototypeof@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" + integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== + +setprototypeof@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" + integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== + dependencies: + shebang-regex "^1.0.0" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel-list@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" + integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + +side-channel-map@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/side-channel-map/-/side-channel-map-1.0.1.tgz#d6bb6b37902c6fef5174e5f533fab4c732a26f42" + integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + +side-channel-weakmap@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz#11dda19d5368e40ce9ec2bdc1fb0ecbc0790ecea" + integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + side-channel-map "^1.0.1" + +side-channel@^1.0.6: + version "1.1.0" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9" + integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + side-channel-list "^1.0.0" + side-channel-map "^1.0.1" + side-channel-weakmap "^1.0.2" + +signal-exit@^3.0.2: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +signal-exit@^4.0.1, signal-exit@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +slash@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce" + integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg== + +smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== + +socks-proxy-agent@^8.0.3: + version "8.0.5" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz#b9cdb4e7e998509d7659d689ce7697ac21645bee" + integrity sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw== + dependencies: + agent-base "^7.1.2" + debug "^4.3.4" + socks "^2.8.3" + +socks@^2.8.3: + version "2.8.4" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.4.tgz#07109755cdd4da03269bda4725baa061ab56d5cc" + integrity sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ== + dependencies: + ip-address "^9.0.5" + smart-buffer "^4.2.0" + +source-map-js@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" + integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== + +source-map-support@~0.5.20: + version "0.5.21" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.6.0: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +sprintf-js@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a" + integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +ssri@^12.0.0: + version "12.0.0" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-12.0.0.tgz#bcb4258417c702472f8191981d3c8a771fee6832" + integrity sha512-S7iGNosepx9RadX82oimUkvr0Ct7IjJbEbs4mJcTxst8um95J3sDYU1RBEOvdu6oL1Wek2ODI5i4MAw+dZ6cAQ== + dependencies: + minipass "^7.0.3" + +statuses@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +"statuses@>= 1.4.0 < 2", statuses@~1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" + integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== + +streamsearch@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764" + integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== + +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + +strip-bom-string@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-bom-string/-/strip-bom-string-1.0.0.tgz#e5211e9224369fbb81d633a2f00044dc8cedad92" + integrity sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g== + +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== + +sudo-prompt@^8.2.0: + version "8.2.5" + resolved "https://registry.yarnpkg.com/sudo-prompt/-/sudo-prompt-8.2.5.tgz#cc5ef3769a134bb94b24a631cc09628d4d53603e" + integrity sha512-rlBo3HU/1zAJUrkY6jNxDOC9eVYliG6nS4JA8u8KAshITd07tafMc/Br7xQwCSseXwJ2iCcHCE8SNWX3q8Z+kw== + +supports-color@^7.0.0, supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-hyperlinks@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== + dependencies: + has-flag "^4.0.0" + supports-color "^7.0.0" + +tar@^7.4.3: + version "7.4.3" + resolved "https://registry.yarnpkg.com/tar/-/tar-7.4.3.tgz#88bbe9286a3fcd900e94592cda7a22b192e80571" + integrity sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw== + dependencies: + "@isaacs/fs-minipass" "^4.0.0" + chownr "^3.0.0" + minipass "^7.1.2" + minizlib "^3.0.1" + mkdirp "^3.0.1" + yallist "^5.0.0" + +temp@^0.9.0: + version "0.9.4" + resolved "https://registry.yarnpkg.com/temp/-/temp-0.9.4.tgz#cd20a8580cb63635d0e4e9d4bd989d44286e7620" + integrity sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA== + dependencies: + mkdirp "^0.5.1" + rimraf "~2.6.2" + +terminal-link@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" + integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== + dependencies: + ansi-escapes "^4.2.1" + supports-hyperlinks "^2.0.0" + +terser@^5.39.0: + version "5.39.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.39.0.tgz#0e82033ed57b3ddf1f96708d123cca717d86ca3a" + integrity sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw== + dependencies: + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" + commander "^2.20.0" + source-map-support "~0.5.20" + +thingies@^1.20.0: + version "1.21.0" + resolved "https://registry.yarnpkg.com/thingies/-/thingies-1.21.0.tgz#e80fbe58fd6fdaaab8fad9b67bd0a5c943c445c1" + integrity sha512-hsqsJsFMsV+aD4s3CWKk85ep/3I9XzYV/IXaSouJMYIoDlgyi11cBhsqYe9/geRfB0YIikBQg6raRaM+nIMP9g== + +tiny-decoders@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/tiny-decoders/-/tiny-decoders-23.0.0.tgz#49acf51455612c7729b04be6147fcea6d2a20f8b" + integrity sha512-gQB+za3EW9JN1ASDmrVl1a1I6Q/jzg4M75YLI9ToHCdCW4/9KvBTTNH4u3kFbg8e+/8Zn68VRF+ayuiPNqYAmg== + +tinyglobby@^0.2.10, tinyglobby@^0.2.12: + version "0.2.13" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.13.tgz#a0e46515ce6cbcd65331537e57484af5a7b2ff7e" + integrity sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw== + dependencies: + fdir "^6.4.4" + picomatch "^4.0.2" + +tmp@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" + integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toidentifier@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" + integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== + +tree-dump@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/tree-dump/-/tree-dump-1.0.2.tgz#c460d5921caeb197bde71d0e9a7b479848c5b8ac" + integrity sha512-dpev9ABuLWdEubk+cIaI9cHwRNNDjkBBLXTwI4UCUFdQ5xXKqNXoK4FEciw/vxf+NQ7Cb7sGUyeUtORvHIdRXQ== + +ts-union@^2.2.1: + version "2.3.0" + resolved "https://registry.yarnpkg.com/ts-union/-/ts-union-2.3.0.tgz#2dc5240e0a1ceea2159bf06cacdc96a78475dd04" + integrity sha512-OP+W9WoYvGlOMjc90D6nYz60jU1zQlXAg3VBtuSoMDejY94PaORkya9HtHjaaqqwA4I5/hN38fmKK0nSWj7jPg== + +tslib@^1.10.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2.0.0: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +type-is@~1.6.18: + version "1.6.18" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" + integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== + dependencies: + media-typer "0.3.0" + mime-types "~2.1.24" + +typescript@^4.5.5: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== + +typescript@^5.8.3: + version "5.8.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e" + integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ== + +undici-types@~6.21.0: + version "6.21.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" + integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== + +unicorn-magic@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/unicorn-magic/-/unicorn-magic-0.3.0.tgz#4efd45c85a69e0dd576d25532fbfa22aa5c8a104" + integrity sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA== + +unique-filename@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-4.0.0.tgz#a06534d370e7c977a939cd1d11f7f0ab8f1fed13" + integrity sha512-XSnEewXmQ+veP7xX2dS5Q4yZAvO40cBN2MWkJ7D/6sW4Dg6wYBNwM1Vrnz1FhH5AdeLIlUXRI9e28z1YZi71NQ== + dependencies: + unique-slug "^5.0.0" + +unique-slug@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-5.0.0.tgz#ca72af03ad0dbab4dad8aa683f633878b1accda8" + integrity sha512-9OdaqO5kwqR+1kVgHAhsp5vPNU0hnxRa26rBFNfNgM7M6pNtgzeBn3s/xbyCQL3dcjzOatcef6UUHpB/6MaETg== + dependencies: + imurmurhash "^0.1.4" + +universalify@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== + +unpipe@1.0.0, unpipe@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" + integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utils-merge@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" + integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== + +vary@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" + integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== + +vite@^6.2.0: + version "6.3.2" + resolved "https://registry.yarnpkg.com/vite/-/vite-6.3.2.tgz#4c1bb01b1cea853686a191657bbc14272a038f0a" + integrity sha512-ZSvGOXKGceizRQIZSz7TGJ0pS3QLlVY/9hwxVh17W3re67je1RKYzFHivZ/t0tubU78Vkyb9WnHPENSBCzbckg== + dependencies: + esbuild "^0.25.0" + fdir "^6.4.3" + picomatch "^4.0.2" + postcss "^8.5.3" + rollup "^4.34.9" + tinyglobby "^0.2.12" + optionalDependencies: + fsevents "~2.3.3" + +wcwidth@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" + integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== + dependencies: + defaults "^1.0.3" + +which@^1.2.9: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +which@^2.0.1, which@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +which@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/which/-/which-5.0.0.tgz#d93f2d93f79834d4363c7d0c23e00d07c466c8d6" + integrity sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ== + dependencies: + isexe "^3.1.1" "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version: 7.0.0 - resolution: "wrap-ansi@npm:7.0.0" - dependencies: - ansi-styles: "npm:^4.0.0" - string-width: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - checksum: d15fc12c11e4cbc4044a552129ebc75ee3f57aa9c1958373a4db0292d72282f54373b536103987a4a7594db1ef6a4f10acf92978f79b98c49306a4b58c77d4da - languageName: node - linkType: hard - -"wrap-ansi@npm:^6.2.0": - version: 6.2.0 - resolution: "wrap-ansi@npm:6.2.0" - dependencies: - ansi-styles: "npm:^4.0.0" - string-width: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - checksum: baad244e6e33335ea24e86e51868fe6823626e3a3c88d9a6674642afff1d34d9a154c917e74af8d845fd25d170c4ea9cf69a47133c3f3656e1252b3d462d9f6c - languageName: node - linkType: hard - -"wrap-ansi@npm:^8.1.0": - version: 8.1.0 - resolution: "wrap-ansi@npm:8.1.0" - dependencies: - ansi-styles: "npm:^6.1.0" - string-width: "npm:^5.0.1" - strip-ansi: "npm:^7.0.1" - checksum: 138ff58a41d2f877eae87e3282c0630fc2789012fc1af4d6bd626eeb9a2f9a65ca92005e6e69a75c7b85a68479fe7443c7dbe1eb8fbaa681a4491364b7c55c60 - languageName: node - linkType: hard - -"wrappy@npm:1": - version: 1.0.2 - resolution: "wrappy@npm:1.0.2" - checksum: 56fece1a4018c6a6c8e28fbc88c87e0fbf4ea8fd64fc6c63b18f4acc4bd13e0ad2515189786dd2c30d3eec9663d70f4ecf699330002f8ccb547e4a18231fc9f0 - languageName: node - linkType: hard - -"ws@npm:^8.12.0": - version: 8.17.1 - resolution: "ws@npm:8.17.1" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ">=5.0.2" - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: f4a49064afae4500be772abdc2211c8518f39e1c959640457dcee15d4488628620625c783902a52af2dd02f68558da2868fd06e6fd0e67ebcd09e6881b1b5bfe - languageName: node - linkType: hard - -"yallist@npm:^4.0.0": - version: 4.0.0 - resolution: "yallist@npm:4.0.0" - checksum: 2286b5e8dbfe22204ab66e2ef5cc9bbb1e55dfc873bbe0d568aa943eb255d131890dfd5bf243637273d31119b870f49c18fcde2c6ffbb7a7a092b870dc90625a - languageName: node - linkType: hard + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +ws@^7.4.6: + version "7.5.10" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.10.tgz#58b5c20dc281633f6c19113f39b349bd8bd558d9" + integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ== + +ws@^8.18.0: + version "8.18.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.1.tgz#ea131d3784e1dfdff91adb0a4a116b127515e3cb" + integrity sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yallist@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533" + integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==