Skip to content

Commit

Permalink
Increase threshold for ShaderRender tests
Browse files Browse the repository at this point in the history
The threshold proves to be too low due to randomness of
fuzzyCompare(). Slightly increase it to make the tests
more robust.

Components: AOSP

VK-GL-CTS issue: 681

Affects (at least):
dEQP-GLES3.functional.shaders.texture_functions.*

Change-Id: I878e6a5c89673e87bcc225323ad852bc5e809e9e
  • Loading branch information
alegal-arm committed Sep 11, 2017
1 parent e7d272a commit a4bd68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/glshared/glsShaderRenderCase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ TestNode::IterateResult ShaderRenderCase::iterate (void)
computeFragmentReference(refImage, quadGrid);

// Compare.
bool testOk = compareImages(resImage, refImage, 0.05f);
bool testOk = compareImages(resImage, refImage, 0.07f);

// De-initialize.
gl.useProgram(0);
Expand Down

0 comments on commit a4bd68b

Please sign in to comment.