Fail decoder / SharedContextState creation if context is lost
When the context is lost during creation, on some drivers we may have had bogus values during initialization for the static queries, which means we might have constructed a ContextState that's inconsistent with other ContextStates for the same real context, which causes problems when doing virtualized context switches. So check reset state after initialization and fail if the context is lost. Bug: 946978 Change-Id: I38fb73d819dfcedf0565e6b4345c3700c49fbb07 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1659644 Commit-Queue: Antoine Labour <piman@chromium.org> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Auto-Submit: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#670301}
Showing
Please register or sign in to comment