[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Uniform Default Values conformance test



Passes on OSX Lion / 10.7.3 / Intel Inc. -- Intel HD Graphics 3000 OpenGL Engine -- 2.1 APPLE-7.18.11

On 24 April 2012 03:56, Benoit Jacob <bjacob@mozilla.com> wrote:
On Ubuntu 11.10 64bit, Gallium 0.4 on AMD RV710 / 2.1 Mesa 7.11, I get these results for all types:

testing: float
default value should be zero
PASS should be green
test test by setting value
FAIL should be red
at (0, 0) expected: 255,0,0,255 was 0,255,0,255
re-linking should reset to defaults
PASS should be green
PASS getError was expected value: NO_ERROR : should be no GL errors
default value should be zero
PASS should be green
test test by setting value
FAIL should be red
at (0, 0) expected: 255,0,0,255 was 0,255,0,255
re-linking should reset to defaults
PASS should be green
PASS getError was expected value: NO_ERROR : should be no GL errors
default value should be zero
PASS should be green
test test by setting value
PASS should be red
re-linking should reset to defaults
PASS should be green
PASS getError was expected value: NO_ERROR : should be no GL errors
default value should be zero
PASS should be green
test test by setting value
PASS should be red
re-linking should reset to defaults
PASS should be green
PASS getError was expected value: NO_ERROR : should be no GL errors


I added a new test to check that uniforms get the correct default values. Rumor is that some drivers have bugs here. Before browsers try to work around this issue it would be nice to have a test case

Can you please run the test and if it fails then post your OS, GPU an Driver info? If you're using Chrome you can get that by going to about:gpu, in Firefox it's about:support

The test is here

Thank you

-gregg