tombox-xshader tests: pin the gather4 bias and dmask refusals #248
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/248"
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?
Imported from omonkeyz/xbox-emulator. Originally posted by azerioxfr on 2026-11-23T07:22:16Z.
Library / 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 noteImported from omonkeyz/xbox-emulator. Originally posted by omonkeyz on 2026-11-23T14:08:14Z.
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.Imported from omonkeyz/xbox-emulator. Originally posted by kiwe147 on 2026-11-23T19:15:09Z.
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)
Imported from omonkeyz/xbox-emulator. Originally posted by omonkeyz on 2026-11-25T13:08:16Z.
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