Bug 189387 - [WHLSL] Allow non-struct types as the return type of a shader
Summary: [WHLSL] Allow non-struct types as the return type of a shader
Status: RESOLVED DUPLICATE of bug 189134
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 176199
  Show dependency treegraph
 
Reported: 2018-09-06 17:10 PDT by Thomas Denney
Modified: 2018-10-13 14:34 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Denney 2018-09-06 17:10:37 PDT
float4 foo(...) : SV_TARGET { ... } is sugar for struct R { float4 stuff : SV_TARGET; } R foo(...) { ... }
Comment 1 Myles C. Maxfield 2018-09-22 02:47:00 PDT

*** This bug has been marked as a duplicate of bug 189134 ***
Comment 2 Myles C. Maxfield 2018-10-13 14:34:49 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/38