[Webkit-unassigned] [Bug 254515] New: [WGSL] Add type declarations for textureSample overloads that operate on texture_depth_*

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 27 06:45:20 PDT 2023


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

            Bug ID: 254515
           Summary: [WGSL] Add type declarations for textureSample
                    overloads that operate on texture_depth_*
           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: tzagallo at apple.com

We have declared all the versions that operate on texture, but we don't yet support texture_depth, so the following methods are missing:

A is i32, or u32        
@must_use fn textureSample(t: texture_depth_2d_array,
                           s: sampler,
                           coords: vec2<f32>,
                           array_index: A,
                           offset: vec2<i32>) -> f32

@must_use fn textureSample(t: texture_depth_cube,
                           s: sampler,
                           coords: vec3<f32>) -> f32
A is i32, or u32        
@must_use fn textureSample(t: texture_depth_cube_array,
                           s: sampler,
                           coords: vec3<f32>,
                           array_index: A) -> f32

-- 
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/20230327/14bc5aa0/attachment.htm>


More information about the webkit-unassigned mailing list