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
c068a8f00b
skia2
/
resources
/
sksl
/
shared
/
InstanceID.vert
6 lines
72 B
GLSL
Raw
Normal View
History
Unescape
Escape
Enforce layout(location=...) on Metal out variables. Previously, this would generate invalid code such as `[[user(locn-1)]]`. We now generate a more-useful error at SkSL compilation time. Change-Id: Ifbe335ec6d4abcbdfe89b892ba51063c94d22b11 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339397 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-12-01 15:36:37 +00:00
layout
(
location
=
1
)
out
int
id
;
Convert several SkSL->GLSL unit tests to golden outputs. The new test files are intended to be identical to the unit tests in every meaningful way. (Comments and formatting are not preserved exactly.) In cases where a unit-test method contained more than one test, multiple test files were created; in these cases, new names were invented to match the apparent intent of each invocation. Followup CLs will continue to migrate additional tests. Change-Id: I785c6761ba7ee2b25b5ddc0108321734be23b77c Bug: skia:10694 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/316678 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2020-09-14 21:30:13 +00:00
void
main
(
)
{
id
=
sk_InstanceID
;
}
Reference in New Issue
Copy Permalink