RESOLVED FIXED 94030
[WebGL] Mac/ATI/AMD systems need to translate built-in GLSL functions
https://bugs.webkit.org/show_bug.cgi?id=94030
Summary [WebGL] Mac/ATI/AMD systems need to translate built-in GLSL functions
Dean Jackson
Reported 2012-08-14 16:02:33 PDT
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)
Attachments
Patch (5.32 KB, patch)
2012-08-21 18:24 PDT, Dean Jackson
thorton: review+
Radar WebKit Bug Importer
Comment 1 2012-08-14 16:04:45 PDT
Dean Jackson
Comment 2 2012-08-21 15:34:41 PDT
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.
Dean Jackson
Comment 3 2012-08-21 17:18:40 PDT
Dean Jackson
Comment 4 2012-08-21 18:19:38 PDT
Original title was [WebGL] conformance/glsl/functions/glsl-function-distance.html failing on Apple Mountain Lion
Dean Jackson
Comment 5 2012-08-21 18:24:05 PDT
WebKit Review Bot
Comment 6 2012-08-21 18:26:21 PDT
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] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dean Jackson
Comment 7 2012-08-21 18:27:21 PDT
I deliberately ignored the style warning: didn't want to change an existing parameter def in this patch.
Dean Jackson
Comment 8 2012-08-21 18:28:26 PDT
*** Bug 94032 has been marked as a duplicate of this bug. ***
Dean Jackson
Comment 9 2012-08-21 18:29:11 PDT
*** Bug 94031 has been marked as a duplicate of this bug. ***
Tim Horton
Comment 10 2012-08-22 12:29:52 PDT
Comment on attachment 159835 [details] Patch Should probably use a typedef for the flags.
Dean Jackson
Comment 11 2012-08-22 12:59:45 PDT
(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.
Dean Jackson
Comment 12 2012-08-22 13:14:21 PDT
Note You need to log in before you can comment on or make changes to this bug.