skia2/tests/sksl
John Stiles f8dfc3b518 Generate valid Metal code when globals reference one another.
`globalStruct` is now named `_skGlobals` and is passed around directly
by reference, with no additional helper variable (`_globals`) at all.

Change-Id: Icc5566d2212afd14a4d43700e89f50bedcc8b45f
Bug: skia:11168
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/355717
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-01-19 17:07:24 +00:00
..
blend Reorder GLSL output so that functions are emitted last. 2021-01-15 23:15:46 +00:00
errors Enforce (valid) array sizes in many more places 2021-01-14 22:14:59 +00:00
folding Update tests which mix int and float types without casts. 2021-01-13 19:47:13 +00:00
fp Allow type-fluid GLSL-style vec2(int, bool) ctors in SkSL. 2021-01-13 19:45:14 +00:00
glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
inliner Reorder GLSL output so that functions are emitted last. 2021-01-15 23:15:46 +00:00
intrinsics Generate valid Metal code when globals reference one another. 2021-01-19 17:07:24 +00:00
metal Generate valid Metal code when globals reference one another. 2021-01-19 17:07:24 +00:00
runtime restore select() in bool->int 2021-01-14 21:09:58 +00:00
runtime_errors Enforce ES2 limits on indexing expressions (in runtime effects) 2021-01-15 22:49:27 +00:00
shared Generate valid Metal code when globals reference one another. 2021-01-19 17:07:24 +00:00
spirv Factor out SPIR-V typecasting helper functions. 2021-01-14 00:00:15 +00:00
workarounds Reorder GLSL output so that functions are emitted last. 2021-01-15 23:15:46 +00:00