Results 545 comments of David Neto

Here's one example of bad scaling: floating point types: - float vs. double : two very closely related types, but 'float' describes its having a floating point representation. But then...

So are `real` and `single`. C was the oddball at the time in choosing "float".

How would I cause this behaviour to occur in MSL? Or is a thing only Apple engineers can implement. In many other features, there is a "fanatical portability" approach. This...

> Is that a reasonable generalizable transform to expect from compilers? Compilers deduce loop induction variables and pretty carefully analyze how they progress. Search "scalar evolution compiler" and you see...

> For WGSL, it's a very similar situation. Out of bounds accesses are expected to be rare, just like a surprising new type is expected to be rare in a...

> Today's meeting minutes will be attached here soon, but just to summarize: Additionally, @jrprice said a motivating example is `@interpolate(flat)`, because we've made it required on every integral pipeline...

I'm not sure the group has agreed to these actual numbers. Let's put this on the agenda to verify

Discussed in [2022-04-19 meeting](https://docs.google.com/document/d/19BiwLfTepYLWzpk9HihUfIlHnKZGFFikofIeKQJVAo8/edit#heading=h.f63yadubc2lk) @kdashg to propose text. * For functions that are already slow and not perf-critical, follow JS and WASM rules. * For others (sqrt, inverseSqrt, log, log2)...

Consider documenting edge cases involving infinities/NaN, e.g. trunc: https://github.com/gpuweb/gpuweb/issues/3146