Handle shader construction failures gracefully
If we cannot instantiate a shader (due to e.g. a non-invertible local matrix), the expectation is to not draw anything. We're currently filling with black. This unblocks https://skia-review.googlesource.com/c/7885/, which prevents creation of shaders with non-invertible matrices. R=reed@google.com Review-Url: https://codereview.chromium.org/2677633004 Cr-Commit-Position: refs/heads/master@{#448018}
Showing
Please register or sign in to comment