Emit tighter floating point values in code generators.
This reuses our work from the minifier to allow the GLSL, Metal and
WGSL code generators to also emit floating-point values without the
additional rounding noise at the end.
Change-Id: I9c6e7b676cfe4aae3d6b2a32f552a10119276bc2
Bug: skia:13775
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/586436
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
45 files changed