Bug 256721
| Summary: | [WebGPU] Initial WGSL support for texture_external | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
| Component: | WebGPU | Assignee: | Tadeu Zagallo <tzagallo> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mike Wyrzykowski
WGSL support for texture_external: https://gpuweb.github.io/gpuweb/wgsl/#external-texture-type
In order to support this, use of "texture_external nameForT" will likely need to generate the following information in the argument buffer at a minimum:
texture2d<half> nameForT_FirstPlane;
texture2d<half> nameForT_SecondPlane;
float3x3 nameForT_UVRemapMatrix;
float4x3 nameForT_ColorSpaceConversionMatrix;
texture_external can only be used with textureLoad or textureSampleBaseClampToEdge. I will write up separate issues for those.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109270814>
Tadeu Zagallo
Pull request: https://github.com/WebKit/WebKit/pull/13878
EWS
Committed 264138@main (030158c424b9): <https://commits.webkit.org/264138@main>
Reviewed commits have been landed. Closing PR #13878 and removing active labels.