Skip to content

Commit

Permalink
Fix a bug in tcuFuzzyImageCompare.bilinearSample (#2557)
Browse files Browse the repository at this point in the history
This is a typo compared with the native dEQP source code.
  • Loading branch information
jchen10 authored and kenrussell committed Dec 6, 2017
1 parent 0a541bf commit b7c786a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/tests/deqp/framework/common/tcuFuzzyImageCompare.js
Expand Up @@ -104,7 +104,7 @@ var tcuTextureUtil = framework.common.tcuTextureUtil;
/** @type {number}*/ var j1 = deMath.clamp(y1, 0, h - 1);

/** @type {number}*/ var a = (u - 0.5) - Math.floor(u - 0.5);
/** @type {number}*/ var b = (u - 0.5) - Math.floor(u - 0.5);
/** @type {number}*/ var b = (v - 0.5) - Math.floor(v - 0.5);

/** @type {Array<number>} */ var p00 = src.read(i0, j0, NumChannels);
/** @type {Array<number>} */ var p10 = src.read(i1, j0, NumChannels);
Expand Down

0 comments on commit b7c786a

Please sign in to comment.