Bug 54767 - [r300g] 298 failures on WebGL Conformance Test
Summary: [r300g] 298 failures on WebGL Conformance Test
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 10:34 UTC by Fabio Pedretti
Modified: 2012-12-05 16:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
298 failing WebGL tests on 2012-09-11 (22.99 KB, text/plain)
2012-09-11 10:34 UTC, Fabio Pedretti
Details
error messages from test (50.50 KB, text/plain)
2012-11-09 15:07 UTC, madbiologist
Details
atan(vec4, vec4) image result (1.27 MB, image/png)
2012-11-09 15:12 UTC, madbiologist
Details

Description Fabio Pedretti 2012-09-11 10:34:46 UTC
Created attachment 66963 [details]
298 failing WebGL tests on 2012-09-11

When running WebGL Conformance Test:
https://www.khronos.org/registry/webgl/conformance-suites/1.0.1/webgl-conformance-tests.html

on r300 git on a RV530 298 tests fail. See the attachment for failing tests.

If some get fixed I can later open a new bug for every test.
Comment 1 Tomasz P. 2012-09-13 12:59:17 UTC
On radeon 9600 agp with mesa-git form today I have got 41 failed tests only (from 8649 total tests).
Using opera 12.50-build_1583 with HA enabled and webgl enabled.

Failures:

conformance/extensions/oes-standard-derivatives.html: 15 tests failed
conformance/glsl/functions/glsl-function-atan-xy.html: 1 tests failed
conformance/glsl/misc/shader-with-limited-indexing.frag.html: 1 tests failed
conformance/glsl/misc/struct-nesting-exceeds-maximum.html: 1 tests failed
conformance/glsl/variables/gl-frontfacing.html: 17 tests failed
conformance/limits/gl-min-textures.html: 2 tests failed
conformance/limits/gl-min-uniforms.html: 2 tests failed
conformance/renderbuffers/renderbuffer-initialization.html: 2 tests failed
Comment 2 Tomasz P. 2012-09-14 14:05:25 UTC
Forgot to add. I have compiled withtexture npot video enabled in r300_screen.c

During test there was few errors in konsole.

r300 FP: Compiler Error:
compiler/r300_fragprog_emit.c::translate_rgb_opcode(): translate_rgb_opcode: Unknown opcode DDX
Using a dummy shader instead.
r300 FP: Compiler Error:
compiler/r300_fragprog_emit.c::emit_alu(): Too many ALU instructions
Using a dummy shader instead.
r300: ERROR: FS input FACE unassigned.

When I also enabled Hyper-Z I have got 51 errors.
Comment 3 Marek Olšák 2012-09-14 15:51:21 UTC
r300 cannot pass some of the tests, because the hardware is too limited (some features cannot be implemented on r300), while other features may produce slightly different results due to precision issues. Some tests are simply unfixable.
Comment 4 madbiologist 2012-11-09 12:18:33 UTC
(In reply to comment #3)
> r300 cannot pass some of the tests, because the hardware is too limited
> (some features cannot be implemented on r300), while other features may
> produce slightly different results due to precision issues. Some tests are
> simply unfixable.

Does that include atan(vec4, vec4) in fragment shader?  I have a Radeon 9800 Pro 128MB (R350).
Comment 5 Marek Olšák 2012-11-09 12:29:43 UTC
(In reply to comment #4)
> Does that include atan(vec4, vec4) in fragment shader?  I have a Radeon 9800
> Pro 128MB (R350).

I don't remember if that function works on r300. I guess you have to try and see if the results are correct but not very precise (i.e. they're close to the expected value) or if they're totally wrong.
Comment 6 madbiologist 2012-11-09 15:04:22 UTC
Its totally wrong.  See attachments.  I just thought perhaps it wasn't implemented yet/correctly in the r300g driver.
Comment 7 madbiologist 2012-11-09 15:07:26 UTC
Created attachment 69818 [details]
error messages from test
Comment 8 madbiologist 2012-11-09 15:12:13 UTC
Created attachment 69819 [details]
atan(vec4, vec4) image result
Comment 9 Tomasz P. 2012-12-05 16:37:10 UTC
on rv350 with Chromium 23.0.1271.95 I get:

Test Summary (8887 total tests):
Tests PASSED: 8854
Tests FAILED: 33
Tests TIMED OUT: 0

-------------------

Failures:

conformance/extensions/oes-standard-derivatives.html: 15 tests failed
conformance/glsl/functions/glsl-function-atan-xy.html: 1 tests failed
conformance/glsl/variables/gl-frontfacing.html: 17 tests failed

With opera-next 477 failed.


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.