Bug 254515
| Summary: | [WGSL] Add type declarations for textureSample overloads that operate on texture_depth_* | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tadeu Zagallo <tzagallo> |
| 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 | ||
Tadeu Zagallo
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107556432>
Tadeu Zagallo
Pull request: https://github.com/WebKit/WebKit/pull/18020
EWS
Committed 268315@main (d7e9dd0b2334): <https://commits.webkit.org/268315@main>
Reviewed commits have been landed. Closing PR #18020 and removing active labels.