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
c412688798
skia2
/
resources
/
sksl
/
errors
/
GrMainTooManyParameters.fp
4 lines
65 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Remove sk_OutColor usage from .fp unit tests. Change-Id: Ief2a60fccdffcb8a0cf785a5adcca5d3e1172b49 Bug: skia:10549 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344298 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-15 14:44:51 +00:00
half4 main(float2 coords, float2 extra) {
return half4(0);
Remove two uses of setModifiersHandle As a prelude to going back to sharing global data (safely), we want to eliminate as much mutation of shared state as possible. The special cases for global variable declaration were unnecessary, so just remove them. The editing of main's parameters immediately after they were created is also unnecessary - just hoist the logic up so we create the variables correctly in the first place. There is still one use, related to invocation ID. That's more complicated (?), so leaving it as a separate CL. Change-Id: Ia3dad78dd5a634273b2e2239368be7adaff65f38 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/325661 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com> Auto-Submit: Brian Osman <brianosman@google.com>
2020-10-12 18:40:24 +00:00
}
Reference in New Issue
Copy Permalink