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
508eba7578
skia2
/
tests
/
sksl
/
errors
/
UseWithoutInitializeArrayIndex.sksl
2 lines
55 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Disallow multi-dimensional arrays in SkSL. GLSL only allows one-dimensional arrays. This CL lowers SkSL's array dimensionality limit from eight to one, and fixes all the tests that this breaks. The rest of the code still technically supports arbitrarily-deep array dimensionality; there are many opportunities for code cleanup and simplification in followup CLs. Change-Id: I0fc31e4626649ec69d40c5f5597b3924de298df0 Bug: skia:11026 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/340339 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-03 15:40:28 +00:00
void array_index() { int x[2]; int i; x[i] = 4; }
Reference in New Issue
Copy Permalink