Skip to content

Add textureSampleLevel:sampled_{1,2,3}d coverage in CTS - #9975

Draft
ErichDonGubler wants to merge 6 commits into
gfx-rs:trunkfrom
erichdongubler-mozilla:texture_sample_level-cts-cvg
Draft

Add textureSampleLevel:sampled_{1,2,3}d coverage in CTS#9975
ErichDonGubler wants to merge 6 commits into
gfx-rs:trunkfrom
erichdongubler-mozilla:texture_sample_level-cts-cvg

Conversation

@ErichDonGubler

@ErichDonGubler ErichDonGubler commented Jul 30, 2026

Copy link
Copy Markdown
Member

Current known issue(s):

  • macOS' CTS (Other) job is getting fairly long at ~30m.
  • Windows' Other CTS run is getting massively long, timing out at 6h.

mvanhorn and others added 6 commits July 28, 2026 01:33
Addresses @ErichDonGubler's review.

writer.rs: use TypeInner::vector_size_and_scalar instead of re-implementing
the match, switch debug_assert_eq! to assert_eq!, and hoist the DXC issue
comment above the workaround block where it explains the whole thing.

CHANGELOG.md: take the suggested wording, imperative and scoped to all
non-2D textures rather than just 3D.

cts_runner/test.lst: add the 1D and 3D textureSampleLevel execution
selectors, the non-2D dimensionalities whose offset constructor was wrong.
Verified locally: sampled_3d_coords 3357 pass / 0 fail, sampled_1d_coords
972 pass / 0 fail. Those ran on Metal, so CI's Windows runner is what
actually exercises the HLSL backend this fix touches.
@ErichDonGubler ErichDonGubler added type: enhancement New feature or request area: tests Improvements or issues with our test suite area: cts Issues stemming from the WebGPU Conformance Test Suite labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cts Issues stemming from the WebGPU Conformance Test Suite area: tests Improvements or issues with our test suite type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants