tombox-xshader tests: pin the gather4 bias and dmask refusals #248
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!248
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/248/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@azerioxfr on GitHub · 2026-11-23 07:22 UTC · original
azerioxfr:xshader-pin-gather4-refusals→main· +33 −0 · 1 files · 1 commits · closed without mergingLibrary / area: tombox-xshader tests, MIMG gather4 (
hlsl.rsemit_mimg)Exports changed (exports.txt rows): none
Source of the behaviour: the translator's own refusals. HLSL
Gather*has no LOD bias or clamp operand and returns one channel, soemit_mimgrefuses gather4 with a bias / clamp modifier and with a multi-channel dmask. No translator change.One topic, +33: one test in
tests/exec_mem/mimg.rs.What was missing
Neither refusal (
gather4 with LOD bias or clamp unsupported,gather4 with dmask {m:#x} unsupported) was mentioned by any test.The test
image_gather4_bias_and_dmask_refusals:image_gather4_b(0x45), dmask 0xfErr("gather4 with LOD bias or clamp unsupported")image_gather4_b_cl(0x46), dmask 0xfimage_gather4_lz(0x47), dmask 0x3Err("gather4 with dmask 0x3 unsupported")image_gather4_lz, dmask 0x8.GatherAlpha(cargo test --locked --release -p tombox-xshader --test exec -- --exact exec_mem::mimg::image_gather4_bias_and_dmask_refusals: 1 passed (x86_64-pc-windows-gnu).missingwith a note@omonkeyz on GitHub · 2026-11-23 14:08 UTC · original
Applied locally on main with your authorship kept (cherry-picked,
de4317e); the tombox-xshader suite passes in a sandbox (exec 155/155 on WARP). It ships in the next release; this PR will be closed when that is pushed. Thanks.@kiwe147 on GitHub · 2026-11-23 19:15 UTC · original
Tested head
b87f15b7c8, applied withgit apply(whitespace ignored, the line endings of my checkout differ) onmainf89e410, together with #242, #244 (one tree; the PRs touch different files). It applied without conflicts and built.Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, NVIDIA GeForce RTX 3080 (driver 621.24), MSVC, Rust 1.91.1.
tombox-xshaderlib +opcodes,synthetic,mesh,linkage,mixed_table,ps_linkage,centroid,gcn_dims,amp,xshader_cli,isa_sweepexecsuite on WARPTOMBOX_EXEC_HW=1(RTX 3080)No new failure against
mainf89e410in any of these. This is one combined tree, not a run of this PR alone.AI-assisted: yes (Claude Code)
@omonkeyz on GitHub · 2026-11-25 13:08 UTC · original
Applied on main in
de4317e(cherry-picked onto the current history with your authorship kept; comment lines stripped per CONTRIBUTING). Thank you.Pull request closed