Summary: | [WHLSL] Return statements don't need to keep track of the function they're in | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Robin Morisset <rmorisset> | ||||
Component: | WebGPU | Assignee: | Robin Morisset <rmorisset> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, mmaxfield, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Robin Morisset
2019-07-12 15:50:35 PDT
Created attachment 374046 [details]
Patch
Not yet up for review because I've not yet tested it.
Comment on attachment 374046 [details]
Patch
It passes all tests, so asking for review.
Comment on attachment 374046 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=374046&action=review > Source/WebCore/Modules/webgpu/WHLSL/AST/WHLSLReturn.h:-60 > - void setFunction(FunctionDefinition* functionDefinition) { m_function = functionDefinition; } We might have to add this back in if we add a pass to inline things. Comment on attachment 374046 [details] Patch Clearing flags on attachment: 374046 Committed r247419: <https://trac.webkit.org/changeset/247419> All reviewed patches have been landed. Closing bug. |