- Aug 23, 2021
-
-
Connor Fitzgerald authored
-
- Aug 21, 2021
-
-
Dzmitry Malyshau authored
-
João Capucho authored
Fixes #1246
-
João Capucho authored
-
Jim Blandy authored
Remove `forbidden_caps`. Accumulate capabilities actually used separately from the permitted capabilities, so that the latter can be retained across Writer resets, while the former is cleared between modules.
-
- Aug 20, 2021
-
-
Zicklag authored
-
João Capucho authored
-
João Capucho authored
Hlsl and wgsl don't support them directly so a polyfill is used taken from the msl spec. `asinh` = `log(x + sqrt(x * x + 1.0))` `acosh` = `log(x + sqrt(x * x - 1.0))` `atanh` = `0.5 * log((1.0 + x) / (1.0 – x))`
-
Dzmitry Malyshau authored
-
sigaloid authored
-
João Capucho authored
-
João Capucho authored
-
João Capucho authored
Fixes #1243
-
João Capucho authored
Fixes #1245
-
João Capucho authored
-
João Capucho authored
-
Jim Blandy authored
Fixes #1241.
-
- Aug 19, 2021
-
-
João Capucho authored
Previously we always set the lhs flag when lowering to generate a pointer so that dynamic indexing would work, this would produce an error on constant variables since they can't be in a lhs context. Now we introduce an enum which distinguishes not only between lhs and rhs but also in array base, if lowering in a lhs context the base is also lowered in a lhs context but if lowering in rhs the base is lowered in a special array base context which bypasses the mutability check. Fixes #1237
-
João Capucho authored
This would otherwise cause the parser to enter an infinite loop. Fixes #1232
-
João Capucho authored
-
João Capucho authored
-
Connor Fitzgerald authored
-
Dzmitry Malyshau authored
-
- Aug 18, 2021
-
-
Jim Blandy authored
-
Jim Blandy authored
-
Hans Christian Schmitz authored
Previously the constructor just used the type of the scalar argument regardless of whether or not it actually matched the vector splat constructors target type. This resulted in e.g. `vec2<f32>(0)` erroneously getting the type of a bi-vector of Sints with width 4. Now the splat constructor checks that the kind and width of the scalar argument is the same as that of the target specified in the constructor's type parameter.
-
Dzmitry Malyshau authored
-
João Capucho authored
-
João Capucho authored
-
Dzmitry Malyshau authored
-
- Aug 17, 2021
-
-
Connor Fitzgerald authored
-
Connor Fitzgerald authored
-
João Capucho authored
-
João Capucho authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
- Aug 16, 2021
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-