Bug 254515

Summary: [WGSL] Add type declarations for textureSample overloads that operate on texture_depth_*
Product: WebKit Reporter: Tadeu Zagallo <tzagallo>
Component: WebGPUAssignee: Tadeu Zagallo <tzagallo>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Tadeu Zagallo
Reported 2023-03-27 06:45:20 PDT
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
Attachments
Radar WebKit Bug Importer
Comment 1 2023-04-03 06:46:14 PDT
Tadeu Zagallo
Comment 2 2023-09-21 08:28:36 PDT
EWS
Comment 3 2023-09-22 08:51:20 PDT
Committed 268315@main (d7e9dd0b2334): <https://commits.webkit.org/268315@main> Reviewed commits have been landed. Closing PR #18020 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.