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.
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
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.
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.
(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).
(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.
Its totally wrong. See attachments. I just thought perhaps it wasn't implemented yet/correctly in the r300g driver.
Created attachment 69818 [details] error messages from test
Created attachment 69819 [details] atan(vec4, vec4) image result
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.