Shaders Derivate Tests: fix threshold
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 25 Jun 2018 15:22:48 +0000 (17:22 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 12 Jul 2018 07:17:06 +0000 (03:17 -0400)
commit964431bd0878c57dde43978cfda34401b334c409
treea7b8d77f21b55a738b2e7a3e56e3d5d607f0b6fc
parent37af9d73dc471a53e2971e0d4b41e800a8433fe0
Shaders Derivate Tests: fix threshold

Derivate tests are calculating the threshold used for validating results
by taking in account a scale. Apparently this is incorrect, and is
causing some tests to fail.

A similar situation happened in Vulkan, and the proper fix was to do not
take in account the scale for the threshold calculation. Hence, applying
the same fix here fixes all the failing tests.

Affects:
dEQP-GLES3.functional.shaders.derivate.*
dEQP-GLES31.functional.shaders.derivate.*

Components: OpenGL

VK-GL-CTS issue: 1237

Change-Id: I106e36a708a6f75768c15ccdb4b064eb562cb28f
modules/gles3/functional/es3fShaderDerivateTests.cpp