Bug 256722
| Summary: | [WebGPU][WGSL] support for textureLoad and textureSampleBaseClampToEdge for external textures | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
| Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mike Wyrzykowski
textureLoad and/or textureSampleBaseClampToEdge are required to support external textures
textureSampleBaseClampToEdge - https://www.w3.org/TR/WGSL/#textureSampleBaseClampToEdge
=> already takes a sampler so the assumption is the user has defined one in their WGSL
textureLoad(texture, pixelCoords, levelOfDetail) - https://www.w3.org/TR/WGSL/#textureload
=> does not take a sampler, one can use read on the 2d texture, e.g., in MSL
texture.read(pixelCoords, levelOfDetail)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109272220>