Properly fail upon program binary version mismatch
Return angle::Result::Stop instead of Incomplete when
Program::deserialize detects version mismatch. This causes the caller,
Program::loadBinary, to stop trying to load it. At least with the
Vulkan backend, trying to load it results in a crash.
Added test case to ProgramBinariesAcrossPlatforms which exhibits the
old crash.
Bug: angleproject:5567
Change-Id: I2ebb27cee0aa895855504f758992b4dfec3f4aa3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2639078Reviewed-by:
Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Commit-Queue: Steven An <stevenan@google.com>
Showing
Please
register
or
sign in
to comment