Bug 97067

Summary: WebGL: conformance/glsl/misc/shaders-with-invariance.html Fail
Product: Mesa Reporter: Luke <lukebenes>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: 11.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Luke 2016-07-24 20:03:53 UTC
With a GeForce GTX 650 and Mesa 11.2.0 I'm getting the following failure on Google Chrome and Firefox


https://www.khronos.org/registry/webgl/conformance-suites/1.0.3/conformance/glsl/misc/shaders-with-invariance.html?webglVersion=1


test: vertex shader with variant varying and fragment shader with invariant (global setting) varying must fail

FAIL [unexpected fragment shader compile status] (expected: true) vertex shader with variant varying and fragment shader with invariant (global setting) varying must fail


test: vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed

FAIL [unexpected fragment shader compile status] (expected: true) vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed
Comment 1 Ilia Mirkin 2016-07-24 20:20:01 UTC
I believe this is a core mesa issue, not something nouveau-specific. I get a few failures in there (including the ones you point out) with i965/SKL and Mesa 12.0.1.
Comment 2 Luke 2016-07-25 03:08:37 UTC
Yes, I'm seeing these errors even with llvmpipe (LIBGL_ALWAYS_SOFTWARE=1 ./firefox).
Comment 3 Luke 2017-01-12 22:51:08 UTC
Tests still failing on 13.0 with Arch

$ uname -a
Linux arch 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux

$ glxinfo |grep -i opengl
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVE7
OpenGL core profile version string: 4.3 (Core Profile) Mesa 13.0.3
Comment 4 Tapani Pälli 2017-01-13 05:49:15 UTC
This test is passing on i965 with following versions:

Google Chrome 55.0.2883.87
Mesa 17.0.0-devel (git-0252ba2)
Comment 5 Timothy Arceri 2018-04-10 05:50:07 UTC
(In reply to Tapani Pälli from comment #4)
> This test is passing on i965 with following versions:
> 
> Google Chrome 55.0.2883.87
> Mesa 17.0.0-devel (git-0252ba2)

Works with recent radeonsi too. Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.