Bug 177089

Summary: Add a section in WSL's documentation about how API objects and WSL interact
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, fpizlo, keith_miller, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    
Attachments:
Description Flags
Patch
none
Patch
none
Patch fpizlo: review+

Myles C. Maxfield
Reported 2017-09-18 10:47:05 PDT
Add a section in WSL's documentation about how API objects and WSL interact
Attachments
Patch (6.61 KB, patch)
2017-09-18 10:54 PDT, Myles C. Maxfield
no flags
Patch (7.33 KB, patch)
2017-09-18 11:17 PDT, Myles C. Maxfield
no flags
Patch (7.32 KB, patch)
2017-09-18 13:42 PDT, Myles C. Maxfield
fpizlo: review+
Myles C. Maxfield
Comment 1 2017-09-18 10:54:24 PDT
Myles C. Maxfield
Comment 2 2017-09-18 11:17:13 PDT
Filip Pizlo
Comment 3 2017-09-18 11:24:58 PDT
Comment on attachment 321114 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=321114&action=review > Tools/WebGPUShadingLanguageRI/WSL.md:402 > +WSL is designed to be useful as both a graphics shading language and as a computation language. However, these two environments have > +slightly different semantics. > + > +When using WSL as a graphics shading language, there is a distinction between *entry-points* and *non-entry-points*. Entry points are > +top-level functions which have either the `vertex` or `fragment` keyword in front of their declaration. Entry points may not be forward > +declared. An entry point annotated with the `vertex` keyword may not be used as a fragment shader, and an entry point annotated with the > +`fragment` keyword may not be used as a vertex shader. No argument of an entry point may be a pointer. Entry points must not accept type arguments (also known as "generics"). For the rest of the document, I was ensuring that paragraphs were all on one text line without wrapping. I know that's unusual, but it's intentional: the way that wordpress is configured on the webkit.org blog, newlines inside paragraphs will break the paragraph. Can you format it the way the rest of the document does it, to make it easier to turn this into a webkit.org blog post if we want?
Myles C. Maxfield
Comment 4 2017-09-18 13:42:01 PDT
Myles C. Maxfield
Comment 5 2017-09-18 14:04:14 PDT
Radar WebKit Bug Importer
Comment 6 2017-09-27 12:24:51 PDT
Myles C. Maxfield
Comment 7 2018-10-13 19:48:12 PDT
Note You need to log in before you can comment on or make changes to this bug.