Skip to content

Commit

Permalink
Add more comments to precision-side-effects test (KhronosGroup#3194)
Browse files Browse the repository at this point in the history
Follow-on to KhronosGroup#3192 .
  • Loading branch information
kenrussell authored Dec 9, 2020
1 parent 62b3dd3 commit 3e682ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/tests/conformance2/glsl3/precision-side-effects-bug.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
"use strict";
description("Verify precision side effects");
debug("");
debug("When this test is run on Adreno (no repros on other vendors so far):");
debug(" - the result of the expression 0 | (int(e0 == e0) * 0x8000) somehow returns -32768 instead of 32768 despite the variable using highp precision;");
debug(" - splitting the expression along | fixes the issue (could also be observed with other operators).");
debug('For additional reference see this <a href="https://github.com/KhronosGroup/WebGL/pull/3192">pull request</a> and <a href="http://crbug.com/1155942">Chromium bug</a>');
debug("");
var wtu = WebGLTestUtils;
function test() {
var gl = wtu.create3DContext("canvas", undefined, 2);
Expand Down

0 comments on commit 3e682ed

Please sign in to comment.