WebGL conformance test suite build: 5a7a067ead6 Tue Aug 7 14:34:42 2012 -0700
WebKit: r125123 on Mountain Lion 12A269
GPU: AMD Radeon HD 6750M 1024 MB (yes, fairly old)
It seems like Apple ports, unlike Chrome, are not picking up ANGLE's function emulation. In particular: TFunctionDistance1_1 which is marked as problematic on ATI and NVidia cards.
Here is ANGLE adding a distance emulation:
Original title was [WebGL] conformance/glsl/functions/glsl-function-distance.html failing on Apple Mountain Lion
Created attachment 159835 [details]
Attachment 159835 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/platform/graphics/ANGLEWebKitBridge.h:56: The parameter name "shaderType" adds no information, so it should be removed. [readability/parameter_name] 
Total errors found: 1 in 4 files
If any of these errors are false positives, please file a bug against check-webkit-style.
I deliberately ignored the style warning: didn't want to change an existing parameter def in this patch.
*** Bug 94032 has been marked as a duplicate of this bug. ***
*** Bug 94031 has been marked as a duplicate of this bug. ***
Comment on attachment 159835 [details]
Should probably use a typedef for the flags.
(In reply to comment #10)
> (From update of attachment 159835 [details])
> Should probably use a typedef for the flags.
ShCompileOptions is the enum of the various options. Not sure what we could call the typedef - maybe ANGLECompileOptions? Anyway, this code will be updated very soon and I'll address it then.
Committed r126342: <http://trac.webkit.org/changeset/126342>