Check noopDraw() before prepareForDraw()
To support drawing without a Program or PPO bound, ANGLE needs to
check noopDraw() as early as possible to prevent accessing null
pointers while attempting to draw.
Bug: chromium:1079312
Test: gpu_swangle_passthrough_fuzzer
Change-Id: I85d6cab923ce42d93fa93e1792f342ce3c5baa8d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2197946Reviewed-by:
Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
Showing
Please
register
or
sign in
to comment