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
fcbd099bcc
skia2
/
resources
/
sksl
/
runtime_errors
/
ReservedNameSampler1D.rts
6 lines
79 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Mark private types as invalid in the public symbol table. Previously, in public code, private types didn't exist anywhere in the symbol table chain, and those names were free for the taking. Now, we register them as invalid types in the public symbol table. This prevents them from being used as variable names, and gives a more explicit error if you try to use them as a type. Change-Id: I9a943bf923639b72cbf36b1acf4b4fbe70982786 Bug: skia:12538 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/459119 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-13 19:04:32 +00:00
int sampler1D;
Add SkSL error tests for runtime_errors directory. This enables the SkSL error testing logic for runtime effects. The core logic is identical, only the ProgramKind differs. (Error creation scripts: http://go/paste/6413797460803584 with some light post-processing) Change-Id: I877205b3cc1014b50ccccf6037a2f4034c07543e Bug: skia:12665 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/506538 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2022-02-09 21:06:46 +00:00
/*%%*
expected an identifier, but found type 'sampler1D'
*%%*/
Reference in New Issue
Copy Permalink