23d8f94535
Metal needs helper functions in order to compare arrays, structs, and matrices. Depending on the input code, it was possible for the array-comparison helper to be emitted before a matrix-comparison or struct-comparison helper. If this occurred, array comparisons of that matrix or struct type would fail, because the operator== for the array's inner type was defined after array==, and Metal (like C++) parses top-to-bottom and only considers functions declared above the current function. We now emit prototypes for all the array, struct and matrix helper function. These prototypes are emitted above any helper functions. This ensures visibility no matter how your comparisons are organized. Change-Id: Ib3d8828c301fd0fa6c209788f9ea60800371edbe Bug: skia:12326 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/437739 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
android_fonts | ||
diff_canvas_traces | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
nima | ||
particles | ||
skottie | ||
sksl | ||
text | ||
Cowboy.svg | ||
crbug769134.fil | ||
nov-talk-sequence.txt | ||
pdf_command_stream.txt | ||
README |
The resources directory includes some third party content used by Skia. Licenses for that code are included in this file. Openclipart Openclipart uses the Creative Commons Zero 1.0 Public Domain License every time an artist uploads a piece of clipart to Openclipart to make it clear the artist is releasing the creative work for anyone to use for any reason, even commercially. This act of "sharing" is the foundation Openclipart is based upon. More details on the license can be found at https://creativecommons.org/publicdomain/zero/1.0/. LGPL or compatible (as implied by inclusion in KDE SVN) http://websvn.kde.org/trunk/tests/ksvgtests/custom/cowboy.svg