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
bab2d11891
skia2
/
tests
/
sksl
/
shared
/
Ossfuzz28794.glsl
8 lines
103 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix for fuzzer-discovered crash with swizzles. We need to rescan after optimizing away expressions that might exist in the CFG/definition map, since we are rebuilding them from scratch and not just stripping off excess parts from them. Change-Id: I843a2ea3fc38428e7c0bd0e2bf7a7d41101345e3 Bug: oss-fuzz:28794 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344972 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-22 13:59:51 +00:00
out vec4 sk_FragColor;
void main() {
Implement compile-time optimization for sqrt(constant). Change-Id: I3427fbaf57787c3051db95ec5882c9292d7985cf Bug: skia:12034 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/411312 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2021-05-25 03:46:46 +00:00
int i = 1;
Revert "Disable control-flow analysis in SkSL. (Performance experiment)" This reverts commit 50b1b2b90d609c235c70692ac9b6e6450a7c3fb5. Reason for revert: ending experiment Original change's description: > Disable control-flow analysis in SkSL. (Performance experiment) > > This CL will be used to test for potential performance regressions (or > improvements?) that we might incur by disabling this optimization pass. > > It will be reverted in ~1 day. > > Change-Id: I775cdb0c95df81fa25ebbd66e4ff01f64c660f68 > Bug: skia:11319 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/378456 > Commit-Queue: John Stiles <johnstiles@google.com> > Reviewed-by: Brian Osman <brianosman@google.com> > Reviewed-by: Ethan Nicholas <ethannicholas@google.com> TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com Change-Id: Ie385a82db237ff5651348d82b9651f8ba09375b9 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:11319 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/379581 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
2021-03-04 15:19:48 +00:00
i * (i = 3);
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
sk_FragColor.x = float(i);
Fix for fuzzer-discovered crash with swizzles. We need to rescan after optimizing away expressions that might exist in the CFG/definition map, since we are rebuilding them from scratch and not just stripping off excess parts from them. Change-Id: I843a2ea3fc38428e7c0bd0e2bf7a7d41101345e3 Bug: oss-fuzz:28794 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344972 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-22 13:59:51 +00:00
}
Reference in New Issue
Copy Permalink