This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
skia2
Watch
1
Star
0
Fork
0
You've already forked skia2
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
0bd5578c31
skia2
/
resources
/
sksl
/
errors
/
UndefinedFunction.sksl
4 lines
49 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add test cases to function-prototype golden outputs. - 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>
2020-11-02 16:38:19 +00:00
int foo(int x);
Migrate SkSL error tests to golden outputs. Change-Id: Ic8f4730d035981c32b4ddb48e5e919b0396b6d93 Bug: skia:10694 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317578 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
2020-09-17 22:20:26 +00:00
void main() { int x = foo(1); }
Reference in New Issue
Copy Permalink