Fix precision issue in NearestEdgeTests shaders
authorAncheng Qiao <ancheng.qiao@arm.com>
Mon, 22 Feb 2021 10:25:25 +0000 (18:25 +0800)
committerAncheng Qiao <ancheng.qiao@arm.com>
Thu, 18 Mar 2021 08:56:42 +0000 (16:56 +0800)
commit3872e1c1ad87c0a20ebc50f220767d3867bef10f
treede3a3da3aa216dc721c8c89a20d39e9dbb34a7e4
parentcdf7014b4bcecc17be7abe71ab604cd82f830d19
Fix precision issue in NearestEdgeTests shaders

We should also use the calculated offset in shader.

Affects:
KHR-GLES32.core.nearest_edge.*

Components: OpenGL ES

VK-GL-CTS issue: 2651

Change-Id: I9427d3a95a98e3be58dd7ea16a2bf96822f33450
(cherry picked from commit b5328021844d8fcca5d0facc327f1e31785ed880)
external/openglcts/modules/common/glcNearestEdgeTests.cpp