Commit ea402356 by Alexis Hetu Committed by Alexis Hétu

Fuzzer fix

Added missing resource initialization in order to prevent getting "uninitialized value" errors when running the fuzzer. Change-Id: I342441832a159b79cbf036d7ce87f05fcaf15e8c Reviewed-on: https://swiftshader-review.googlesource.com/17128Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent e5a57888
...@@ -119,6 +119,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) ...@@ -119,6 +119,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
resources.OES_fragment_precision_high = 1; resources.OES_fragment_precision_high = 1;
resources.OES_EGL_image_external = 1; resources.OES_EGL_image_external = 1;
resources.EXT_draw_buffers = 1; resources.EXT_draw_buffers = 1;
resources.ARB_texture_rectangle = 1;
resources.MaxCallStackDepth = 16; resources.MaxCallStackDepth = 16;
glslCompiler->Init(resources); glslCompiler->Init(resources);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment