Summary: | [WHLSL] read modify write expressions do no work as expected | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||||
Component: | WebGPU | Assignee: | 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
Myles C. Maxfield
2019-03-17 13:16:20 PDT
Created attachment 369881 [details]
Patch
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.
Comment on attachment 369881 [details] Patch Clearing flags on attachment: 369881 Committed r245312: <https://trac.webkit.org/changeset/245312> All reviewed patches have been landed. Closing bug. This isn't actually fixed yet. this doesn't parse: ``` int bar() { int foo; foo++; } ``` 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) ``` Created attachment 372569 [details]
WIP
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]++; Created attachment 372572 [details]
WIP
Created attachment 372619 [details]
Patch
Comment on attachment 372619 [details] Patch Clearing flags on attachment: 372619 Committed r246681: <https://trac.webkit.org/changeset/246681> All reviewed patches have been landed. Closing bug. Looks like the new test webgpu/whlsl-read-modify-write.html added in https://trac.webkit.org/changeset/246681/webkit is missing results on WK2 History: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=webgpu%2Fwhlsl-read-modify-write.html Committed r246696: <https://trac.webkit.org/changeset/246696> |