Bug 178981

Summary: [WHLSL] Ternary expressions are unimplemented
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, fpizlo, rmorisset, saam, tdenney, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199, 188400    
Attachments:
Description Flags
WIP
none
Patch
tdenney: review+
Patch saam: review+, commit-queue: commit-queue-

Myles C. Maxfield
Reported 2017-10-28 08:27:32 PDT
Implement ternary statements
Attachments
WIP (9.43 KB, patch)
2018-08-10 19:39 PDT, Myles C. Maxfield
no flags
Patch (12.00 KB, patch)
2018-08-10 21:37 PDT, Myles C. Maxfield
tdenney: review+
Patch (14.42 KB, patch)
2018-08-11 07:34 PDT, Myles C. Maxfield
saam: review+
commit-queue: commit-queue-
Robin Morisset
Comment 1 2018-05-29 16:18:48 PDT
Additionally, they are present in the parser, but with the ':' part missing.
Myles C. Maxfield
Comment 2 2018-08-10 19:39:57 PDT
Myles C. Maxfield
Comment 3 2018-08-10 21:37:52 PDT
Myles C. Maxfield
Comment 4 2018-08-11 07:34:35 PDT
Saam Barati
Comment 5 2018-08-15 15:36:39 PDT
Comment on attachment 346960 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346960&action=review > Tools/WebGPUShadingLanguageRI/Parse.js:542 > + consume(":"); Should we add a test for this `consume` too? I don't think you added one
WebKit Commit Bot
Comment 6 2018-08-23 14:29:14 PDT
Comment on attachment 346960 [details] Patch Rejecting attachment 346960 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 346960, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as commit-queue@webkit.org... Fetching: https://bugs.webkit.org/attachment.cgi?id=346960&action=edit Fetching: https://bugs.webkit.org/show_bug.cgi?id=178981&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 346960 from bug 178981. Fetching: https://bugs.webkit.org/attachment.cgi?id=346960 Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Saam Barati']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 14 diffs from patch file(s). patching file Tools/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Tools/WebGPUShadingLanguageRI/All.js Hunk #1 FAILED at 149. 1 out of 1 hunk FAILED -- saving rejects to file Tools/WebGPUShadingLanguageRI/All.js.rej patching file Tools/WebGPUShadingLanguageRI/Checker.js Hunk #1 succeeded at 648 (offset -24 lines). patching file Tools/WebGPUShadingLanguageRI/Evaluator.js patching file Tools/WebGPUShadingLanguageRI/NormalUsePropertyResolver.js patching file Tools/WebGPUShadingLanguageRI/Parse.js Hunk #1 succeeded at 520 (offset -18 lines). patching file Tools/WebGPUShadingLanguageRI/PropertyResolver.js patching file Tools/WebGPUShadingLanguageRI/Rewriter.js Hunk #1 succeeded at 164 (offset -34 lines). patching file Tools/WebGPUShadingLanguageRI/SPIRV.html Hunk #1 FAILED at 137. 1 out of 1 hunk FAILED -- saving rejects to file Tools/WebGPUShadingLanguageRI/SPIRV.html.rej patching file Tools/WebGPUShadingLanguageRI/TernaryExpression.js patching file Tools/WebGPUShadingLanguageRI/Test.html Hunk #1 FAILED at 127. 1 out of 1 hunk FAILED -- saving rejects to file Tools/WebGPUShadingLanguageRI/Test.html.rej patching file Tools/WebGPUShadingLanguageRI/Test.js Hunk #1 succeeded at 198 with fuzz 1. patching file Tools/WebGPUShadingLanguageRI/Visitor.js Hunk #1 succeeded at 162 (offset -46 lines). patching file Tools/WebGPUShadingLanguageRI/index.html Hunk #1 FAILED at 127. 1 out of 1 hunk FAILED -- saving rejects to file Tools/WebGPUShadingLanguageRI/index.html.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Saam Barati']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: https://webkit-queues.webkit.org/results/8963062
Myles C. Maxfield
Comment 7 2018-08-23 14:43:09 PDT
Radar WebKit Bug Importer
Comment 8 2018-08-23 14:44:20 PDT
Myles C. Maxfield
Comment 9 2018-08-24 16:33:36 PDT
Myles C. Maxfield
Comment 10 2018-10-13 15:58:00 PDT
Note You need to log in before you can comment on or make changes to this bug.