Bug 211345

Summary: WebGPU: Textures should be able to have OUTPUT_ATTACHEMENT | SAMPLED usage flags
Product: WebKit Reporter: gvinals
Component: WebGPUAssignee: gvinals
Status: RESOLVED FIXED    
Severity: Normal CC: changseok, dino, ews-watchlist, graouts, kondapallykalyan, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
mmaxfield: review+
Patch for committing none

gvinals
Reported 2020-05-02 18:58:41 PDT
Summary: WebGPU: Textures should be able to have OUTPUT_ATTACHEMENT | SAMPLED usage flags. All real GPU workloads will have multiple passes in order to render a scene. Most of this passes (except for the final on-screen pass) will happen in the intermediate render targets. An intermediate render target is both a texture that you render to and a texture that you sample from. This is necessary for just about every rendering technique: Shadow maps, tone mapping, bloom, etc…
Attachments
Patch (4.16 KB, patch)
2020-05-03 19:23 PDT, gvinals
mmaxfield: review+
Patch for committing (4.27 KB, patch)
2020-05-04 10:26 PDT, gvinals
no flags
gvinals
Comment 1 2020-05-02 19:00:05 PDT
gvinals
Comment 2 2020-05-03 19:23:25 PDT
gvinals
Comment 3 2020-05-04 10:26:04 PDT
Created attachment 398387 [details] Patch for committing
EWS
Comment 4 2020-05-04 10:27:18 PDT
EWS
Comment 5 2020-05-04 11:18:34 PDT
Committed r261091: <https://trac.webkit.org/changeset/261091> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398387 [details].
Note You need to log in before you can comment on or make changes to this bug.