Bug 189387

Summary: [WHLSL] Allow non-struct types as the return type of a shader
Product: WebKit Reporter: Thomas Denney <tdenney>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dino, mmaxfield
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    

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