Reland "Fix fuzzer-discovered Metal issue with sk_LastFragColor."
This is a reland of commit d0b95e4306873e9c7546b79ac5878f74d5f752e1
The original CL tried moving the test into errors/, but this does
not work because errors/ only reports errors in the front end.
Original change's description:
> Fix fuzzer-discovered Metal issue with sk_LastFragColor.
>
> Using sk_LastFragColor with Metal while not setting a framebuffer-
> fetch name in the caps bits now generates a proper error.
> Previously, this had been guarded by a check in the front-end, but
> http://review.skia.org/791738 removed this check.
>
> Bug: oss-fuzz:65214
> Change-Id: I7c90b6faaca5ba64d1d269b277ef90e1d62f91cf
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/793036
> Auto-Submit: John Stiles <johnstiles@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: John Stiles <johnstiles@google.com>
Bug: oss-fuzz:65214
Change-Id: Ifd97172b7099d997eeec8bba87956587f6fe074b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/795016
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
9 files changed