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
b278967af7
skia2
/
tests
/
sksl
/
shared
/
Ossfuzz28904.glsl
7 lines
81 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix fuzzer-discovered crash with negated swizzles. This CL updates `compareConstant` to fail gracefully instead of aborting if the passed-in types don't match. This lets us call `compareConstant` without checking types first. Change-Id: Id2acdbdf700e64bcb24825cdad2c0e000992e8cb Bug: oss-fuzz:28904 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/347038 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2020-12-23 17:56:14 +00:00
out vec4 sk_FragColor;
void main() {
Performance experiment: disable control-flow analysis. This CL will be used to test for potential performance regressions (or improvements) that we might cause by disabling this optimization pass. It will be reverted in ~1 day. Change-Id: I26b7687c341eb6d81231406381c39869cfccf6d6 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/381259 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2021-03-08 18:29:15 +00:00
false;
Fix fuzzer-discovered crash with negated swizzles. This CL updates `compareConstant` to fail gracefully instead of aborting if the passed-in types don't match. This lets us call `compareConstant` without checking types first. Change-Id: Id2acdbdf700e64bcb24825cdad2c0e000992e8cb Bug: oss-fuzz:28904 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/347038 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2020-12-23 17:56:14 +00:00
sk_FragColor = vec4(0.0);
}
Reference in New Issue
Copy Permalink