Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added test cases for structs as out and inout parameters. #2663

Merged
merged 1 commit into from
Jul 10, 2018

Conversation

kenrussell
Copy link
Member

The highp variant of these tests fails on certain GPUs.

Regression tests for the Chromium bugs http://crbug.com/851870 and
http://crbug.com/851873.

Test cases originally from
mrdoob/three.js#14137 .

The highp variant of these tests fails on certain GPUs.

Regression tests for the Chromium bugs http://crbug.com/851870 and
http://crbug.com/851873.

Test cases originally from
mrdoob/three.js#14137 .
@kenrussell
Copy link
Member Author

Verified that these tests fail on one of the affected phones, and pass on a different one as well as on desktop.

Please review. @Oletus @jdashg @kainino0x @RafaelCintron @grorg in particular. Thanks.

@kenrussell
Copy link
Member Author

@kainino0x thanks for your review.

I just tried writing a variant of these tests which rendered repeatedly with these shaders, and couldn't reproduce the lockup of the phone which was reported with one of the variants. For this reason, I'm landing just this version which does a single render. It catches the driver bug well enough.

@kenrussell kenrussell merged commit eb12d5d into KhronosGroup:master Jul 10, 2018
@kenrussell kenrussell deleted the add-threejs-test-cases branch July 10, 2018 00:27
alegal-arm pushed a commit to KhronosGroup/VK-GL-CTS that referenced this pull request Aug 27, 2018
Structs with lowp, mediump and highp (when supported in fragment
shaders) members are tested as inout and out parameters in both ES 2.0
and 3.0 shaders.

The highp variant of this test catches a bug which was found by the
Three.js community in mrdoob/three.js#14137 .
Similar tests were integrated into the WebGL conformance suite in
KhronosGroup/WebGL#2663 .

Verified on:
  Qualcomm Adreno 308 (LG Aristo) - bug reproduces in both ES2 and ES3
                                    highp fragment shaders
  Qualcomm Adreno 540 (Pixel 2),
  NVIDIA Tegra (SHIELD Tablet) - all tests pass

New tests:

dEQP-GLES[23].functional.shaders.struct.local.parameter_inout_*
dEQP-GLES[23].functional.shaders.struct.local.parameter_out_*

VK-GL-CTS Issue 1280

Change-Id: Ie332aede0ad52453815d9e123145ec035009430b
alegal-arm pushed a commit to KhronosGroup/VK-GL-CTS that referenced this pull request Aug 30, 2018
Structs with lowp, mediump and highp (when supported in fragment
shaders) members are tested as inout and out parameters in both ES 2.0
and 3.0 shaders.

The highp variant of this test catches a bug which was found by the
Three.js community in mrdoob/three.js#14137 .
Similar tests were integrated into the WebGL conformance suite in
KhronosGroup/WebGL#2663 .

Verified on:
  Qualcomm Adreno 308 (LG Aristo) - bug reproduces in both ES2 and ES3
                                    highp fragment shaders
  Qualcomm Adreno 540 (Pixel 2),
  NVIDIA Tegra (SHIELD Tablet) - all tests pass

New tests:

dEQP-GLES[23].functional.shaders.struct.local.parameter_inout_*
dEQP-GLES[23].functional.shaders.struct.local.parameter_out_*

VK-GL-CTS Issue 1280

Change-Id: Ie332aede0ad52453815d9e123145ec035009430b
(cherry picked from commit 3b0365b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants