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
b576168c8c
skia2
/
tests
/
sksl
/
errors
/
Ossfuzz27663.glsl
5 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix double-negation of constant-value construcors. Previously, the code which calculated Constructor constant values assumed that a constant-value PrefixExpression would always have an operand of Constructor. It turns out that another valid case is multiple PrefixExpressions nested within each other (representing repeated negation). Updated the code to work regardless of the type of the prefix operand. Change-Id: Ic9bf54725ae59330ac817bc4ec7a64def384ab54 Bug: oss-fuzz:27663 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/337177 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2020-11-20 18:27:04 +00:00
### Compilation failed:
error: 1: type mismatch: '=' cannot operate on 'half4', 'float4'
Remove compile-time constant support from PrefixExpression. This is not actually necessary now that constantPropagate can fully flatten out unary negation into its constant operands. The compilation results don't change at all. Change-Id: I7ab55bd3720413609d799dd866e1703973cb2626 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/351202 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2021-01-07 17:31:29 +00:00
1 error
Reference in New Issue
Copy Permalink