bfad3e2a4a
- Prototypes for never-declared functions - Prototype before use - Prototype after use - A variety of inputs and outputs on the prototyped functions. - Calling declared-but-undefined functions Currently, the prototypes are not actually emitted in the generated GLSL or Metal output at all. This CL is demonstrates our baseline before proper prototype support is added. Change-Id: I6112e0a89ab9bbecefccaca9fba985bb8011fff1 Bug: skia:10872 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331376 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2 lines
32 B
Plaintext
2 lines
32 B
Plaintext
void main() { int x = foo(1); }
|