[Webkit-unassigned] [Bug 256722] New: [WebGPU][WGSL] support for textureLoad and textureSampleBaseClampToEdge for external textures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 12 11:10:35 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256722

            Bug ID: 256722
           Summary: [WebGPU][WGSL] support for textureLoad and
                    textureSampleBaseClampToEdge for external textures
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mwyrzykowski at apple.com

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230512/99d2d623/attachment.htm>


More information about the webkit-unassigned mailing list