Relax shader derivative test verification.
authorJarkko Pöyry <jpoyry@google.com>
Thu, 4 Dec 2014 21:36:25 +0000 (13:36 -0800)
committerJarkko Pöyry <jpoyry@google.com>
Fri, 5 Dec 2014 19:38:51 +0000 (11:38 -0800)
commitbd4d098088a5b205c7e7d8dc0bec140d2fa55446
tree84b2d610b5de5dec765857a9b0e141c79f59cb48
parent1bfa102df7c2678fa4ac421fa29780848c2c12f3
Relax shader derivative test verification.

- Disable GL_DITHER. Dithering only adds noise to result images.
- Add to dfdx and dfdy cases a flush-to-zero aware verification phase after
  preliminary verification to check if seemingly invalid derivatives could
  be caused by flushing or other relaxations allowed by the spec. This phase
  is NOT added to the fwidth cases since they operate with significantly higher
  thresholds which are likely to hide flushing anyway.

Bug: 18539021
Change-Id: Ic17909d30de25c8bae9d9996ce8df15c9ad5bc5e
modules/gles3/functional/es3fShaderDerivateTests.cpp