Bug 195864

Summary: [WHLSL] read modify write expressions do no work as expected
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, fpizlo, justin_fan, rmorisset, saam, tsavell, webkit-bug-importer
Priority: P1 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 199037    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
WIP
none
WIP
none
Patch none

Myles C. Maxfield
Reported 2019-03-17 13:16:20 PDT
Something is amiss.
Attachments
Patch (1.59 KB, patch)
2019-05-14 12:33 PDT, Robin Morisset
no flags
WIP (7.05 KB, patch)
2019-06-20 10:51 PDT, Myles C. Maxfield
no flags
WIP (7.05 KB, patch)
2019-06-20 11:08 PDT, Myles C. Maxfield
no flags
Patch (7.51 KB, patch)
2019-06-21 00:14 PDT, Myles C. Maxfield
no flags
Radar WebKit Bug Importer
Comment 1 2019-05-13 17:07:24 PDT
Robin Morisset
Comment 2 2019-05-14 12:33:26 PDT
Myles C. Maxfield
Comment 3 2019-05-14 13:41:45 PDT
Comment on attachment 369881 [details] Patch Looks like this was just a stupid mistake I made. Stupid mistakes like this are why the test suite is so important.
WebKit Commit Bot
Comment 4 2019-05-14 14:50:00 PDT
Comment on attachment 369881 [details] Patch Clearing flags on attachment: 369881 Committed r245312: <https://trac.webkit.org/changeset/245312>
WebKit Commit Bot
Comment 5 2019-05-14 14:50:01 PDT
All reviewed patches have been landed. Closing bug.
Saam Barati
Comment 6 2019-05-21 14:46:20 PDT
This isn't actually fixed yet. this doesn't parse: ``` int bar() { int foo; foo++; } ```
Saam Barati
Comment 7 2019-06-19 13:08:36 PDT
I think I had a crash yesterday when writing a loop like this: ``` for (uint I = 0; I < n; I++) ``` and had to instead write it like ``` for (uint I = 0; I < n; I = I + 1) ```
Myles C. Maxfield
Comment 8 2019-06-20 10:51:46 PDT
Myles C. Maxfield
Comment 9 2019-06-20 11:06:08 PDT
Comment on attachment 372569 [details] WIP View in context: https://bugs.webkit.org/attachment.cgi?id=372569&action=review > LayoutTests/webgpu/whlsl-read-modify-write.html:12 > + buffer1 = buffer[0]++; buffer[1] = buffer[0]++;
Myles C. Maxfield
Comment 10 2019-06-20 11:08:24 PDT
Myles C. Maxfield
Comment 11 2019-06-21 00:14:32 PDT
WebKit Commit Bot
Comment 12 2019-06-21 09:59:21 PDT
Comment on attachment 372619 [details] Patch Clearing flags on attachment: 372619 Committed r246681: <https://trac.webkit.org/changeset/246681>
WebKit Commit Bot
Comment 13 2019-06-21 09:59:23 PDT
All reviewed patches have been landed. Closing bug.
Truitt Savell
Comment 14 2019-06-21 12:57:12 PDT
Myles C. Maxfield
Comment 15 2019-06-21 14:02:46 PDT
Note You need to log in before you can comment on or make changes to this bug.