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):

  • Windows' Other CTS run is massively long.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants