skia2/fuzz/oss_fuzz
John Stiles b0697081b5 Improve SPIR-V handling of RTFlip when running the fuzzer.
If the passed-in shader references RTFlip (i.e., sk_FragCoord is used),
the settings must contain RTFlip layout info; otherwise, an error
occurs. Originally, the fuzzer detected this as a problem because the
error was being delivered via SK_ABORT, but it's failing more cleanly
now that Ethan's new error handling code is in place (causing the fuzzer
to report that the bug was "fixed"). With this CL, the oss-fuzz shader
will actually compile successfully in SPIR-V instead of leading to an
error.

Change-Id: I3268e84bd8e01c95a25ed0845a37324e98033c4b
Bug: oss-fuzz:35916
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439779
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-08-17 22:31:10 +00:00
..
FuzzAndroidCodec.cpp drawBitmap is deprecated 2021-01-24 17:39:15 +00:00
FuzzAnimatedImage.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzAPICreateDDL.cpp add create ddl fuzzer 2020-07-22 20:10:51 +00:00
FuzzAPIImageFilter.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzAPISVGCanvas.cpp Use test font manager for SVG fuzzer 2020-07-08 19:30:00 +00:00
FuzzDDLThreading.cpp Activate FuzzDDLThreading 2021-02-25 21:26:07 +00:00
FuzzDrawFunctions.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzGradients.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzImage.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
FuzzImageFilterDeserialize.cpp drawBitmap is deprecated 2021-01-24 17:39:15 +00:00
FuzzIncrementalImage.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzJPEGEncoder.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzJSON.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzMockGPUCanvas.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzNullCanvas.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPathDeserialize.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzPathMeasure.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPathop.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPNGEncoder.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPolyUtils.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzRasterN32Canvas.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzRegionDeserialize.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzRegionOp.cpp [fuzz] Expose Region Op fuzzing to oss-fuzz. 2021-03-29 16:05:05 +00:00
FuzzRegionSetPath.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzSkDescriptorDeserialize.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzSKP.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzSkParagraph.cpp [fuzzing] Add SkParagraph to oss-fuzz. 2021-02-04 19:34:48 +00:00
FuzzSkRuntimeEffect.cpp Switch runtime effect fuzzer to use MakeForShader 2021-04-26 15:40:58 +00:00
FuzzSKSL2GLSL.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
FuzzSKSL2Metal.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
FuzzSKSL2Pipeline.cpp Add new SampleBlender callback to SkVMCodeGenerator. 2021-07-23 21:05:10 +00:00
FuzzSKSL2SPIRV.cpp Improve SPIR-V handling of RTFlip when running the fuzzer. 2021-08-17 22:31:10 +00:00
FuzzSVG.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
FuzzTextBlobDeserialize.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzTriangulation.cpp Add fuzzer for Triangulating Path Renderer 2021-04-22 15:35:29 +00:00
FuzzWEBPEncoder.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00