Fix color change verification in dithering tests
authorPyry Haulos <phaulos@google.com>
Tue, 18 Apr 2017 23:13:59 +0000 (16:13 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 18 Apr 2017 23:13:59 +0000 (16:13 -0700)
commit085b52b2cda2eb522aa80f207d814dfc96bac84b
tree9534518b438fae04c81530824b66c17b24ca5769
parentaeef6dd8f52a1ea27fa13b5a451b5863070633be
Fix color change verification in dithering tests

Tests were supposed to allow color change once per row/column depending
on gradient direction but instead allowed color change in constant
direction only once over whole image.

Affects:

dEQP-GLES2.functional.dither.disabled.gradient_*
dEQP-GLES3.functional.dither.disabled.gradient_*

Bug: 37477346
Change-Id: I37ef06b4ff527f8c316eae56c8a99c88cdaaf4b4
modules/gles2/functional/es2fDitheringTests.cpp
modules/gles3/functional/es3fDitheringTests.cpp