Improve robustness of transform-post-multiplication test.
The transform-post-multiplication testis very sensitive to changes in 2D matrix interpolation. This patch addresses the following: * Use a prefix that guarantees that matrix and pairwise interpolation product different transforms. Previously relying on subtle numerical precision discrepancies. With the new prefix, pairwise will scale and transform will rotate. * Fix matrix comparison to consider the full floating point value and not just the mantissa. Previously small non-zero values would be perceived as a matrix mismatch. Bug: 797472 Change-Id: I9120f2f92195cf2559ff2eb4294e1341195c277e Reviewed-on: https://chromium-review.googlesource.com/c/1337639Reviewed-by:Stephen McGruer <smcgruer@chromium.org> Commit-Queue: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#608417}
Showing
Please register or sign in to comment