Vulkan: App-compat for apps that disable validation & don't link
As seen on Android, when PUBG MOBILE rebuilds all of its shaders, it:
- Disables validation
- Tries to link two shaders that can't be linked
- Calls glUseProgram() for the un-linked program
- Never uses the program
Because validation was disabled, the appropriate error isn't produced
and ANGLE ASSERT's in the post-validation code. For
application-compatibility, this case is recognized and avoided.
Bug: b/168839960
Change-Id: I521785c741d57d6c228bb60c81abe638d95e8d2d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2505547
Commit-Queue: Ian Elliott <ianelliott@google.com>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Reviewed-by:
Geoff Lang <geofflang@chromium.org>
Showing
Please
register
or
sign in
to comment