Add simulated error before rounding to target precision in dfdx tests.
authorJarkko Pöyry <jpoyry@google.com>
Fri, 5 Jun 2015 22:48:56 +0000 (15:48 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Sat, 6 Jun 2015 00:09:34 +0000 (17:09 -0700)
commit59b032bc7f837293068a2ee0469274c6dfede801
tree1b1577ea31a554bd770f99922c515b424a1e93b8
parentf7e5472d9e62e362097e465e8843601f343c1076
Add simulated error before rounding to target precision in dfdx tests.

- Add interpolation error before rounding in GLES3 Derivate tests. If the
  error is not added before rounding and reference value happens to be 1:1
  representable in the target precision, both rounding directions yield the
  same value and error bounds will be lost.

Bug: 21666909
Change-Id: Ie948ea32075439c962d8ca52362069ca030a172e
modules/gles3/functional/es3fShaderDerivateTests.cpp