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…
<rdar://problem/62264423>
Created attachment 398343 [details] Patch
Created attachment 398387 [details] Patch for committing
gvinals@apple.com does not have committer permissions according to https://trac.webkit.org/browser/webkit/trunk/Tools/Scripts/webkitpy/common/config/contributors.json. Rejecting attachment 398387 [details] from commit queue.
Committed r261091: <https://trac.webkit.org/changeset/261091> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398387 [details].