From: Jarkko Pöyry Date: Tue, 5 May 2015 17:53:21 +0000 (-0700) Subject: Fix primitive bbox line verification regression. X-Git-Tag: upstream/0.1.0~1309^2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25ed53b938fad9545a74fbebc3b7eaf7136852fa;p=platform%2Fupstream%2FVK-GL-CTS.git Fix primitive bbox line verification regression. Bug: 20852057 Bug: 20453464 Change-Id: Ie59636ad50cc26bd52d45554113e869dc2c6ade7 --- diff --git a/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp b/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp index 58fafd9..ea8109a 100644 --- a/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp +++ b/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp @@ -1837,12 +1837,12 @@ void LineRenderCase::verifyRenderResult (const IterationConfig& config) // scan rows for (int y = de::max(verificationArea.y(), viewportPatternArea.y()); y < de::min(verificationArea.w(), viewportPatternArea.w()); ++y) { - const deUint8 result = !scanRow(viewportSurface.getAccess(), - y, - verificationArea.x(), - verificationArea.z(), - expectedVerticalLines, - messageLimitCounter); + const deUint8 result = scanRow(viewportSurface.getAccess(), + y, + verificationArea.x(), + verificationArea.z(), + expectedVerticalLines, + messageLimitCounter); if ((result & SCANRESULT_NUM_LINES_OK_BIT) == 0) anyError = true; @@ -1861,12 +1861,12 @@ void LineRenderCase::verifyRenderResult (const IterationConfig& config) // scan columns for (int x = de::max(verificationArea.x(), viewportPatternArea.x()); x < de::min(verificationArea.z(), viewportPatternArea.z()); ++x) { - const deUint8 result = !scanColumn(viewportSurface.getAccess(), - x, - verificationArea.y(), - verificationArea.w(), - expectedHorizontalLines, - messageLimitCounter); + const deUint8 result = scanColumn(viewportSurface.getAccess(), + x, + verificationArea.y(), + verificationArea.w(), + expectedHorizontalLines, + messageLimitCounter); if ((result & SCANRESULT_NUM_LINES_OK_BIT) == 0) anyError = true;