ci: run the native control, IR and DXIL checks in the pr preset #3644
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3644"
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 R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-30T20:01:48Z.
Change
Add
startup_triage_runandnative_.*_(ir|dxil|controls)totestPresets.pr.filter.include.The
prpreset is a smoke selection, so these checks run for the first time onmain. Three times in fivedays a pull request merged green and left
mainred because of it:mainfailed withnative_sdwa_f16_*,native_cvt_pk_u8_hardwarestartup_triage_run: a refusal literal added without aCOMPUTE_DISPATCH_REASONSentrynative_cvt_f16_i16_*,native_sdwa_profiles_*: stale SDWA refusal expectationsToday's four remaining
mainfailures were all in this set too ΓÇönative_direct_mesh,startup_image_sample_b_flow_warp,startup_image_get_lod_flow_warpandstartup_gfx2hlsl_cvt_off_f32_i4_warpΓÇö and none of them could be seen before merge.
Cost
Measured here,
--parallel 4, in-box dev preset:prpresetBoth counts moved with the base since the measurement: #3606 and later merges added checks to the same list, taking the
prpreset from 86 to 95 tests. The added subset is unchanged.The added subset alone, at the current head:
All CPU-side: they drive the compiler and the Python fixtures, so they add no GPU or driver requirement to
the PR job. The Windows job spends far longer than that on configure and build.
Why the wider subset
The minimum that covers today is three tests (
startup_triage_run,native_cvt_f16_i16_controls,native_sdwa_profiles_ir) at about 4 seconds. This sends the wholenative_*_(ir|dxil|controls)familyinstead, because that is the family that keeps breaking: #3052's two failures and three of today's four are
inside it, and
_dxilmatters as well as_irΓÇönative_sdwa_profiles_dxilwas one of today's four while asubset with only
_irand_controlsmissed it.If the maintainers prefer the smaller change, it is a one-line difference and I will send that instead.
Refs #3554, #3052.
The build preset needs the tools too
The first CI run failed with 38
Not Runtests, which is the change working as intended: theprtestfilter selected them, but the
prbuild preset only lists 36 targets and none of the four tools thesetests drive.
So the build preset gains
native_compute_ir_dump,native_pixel_ir_dump,native_store_replayandnative_raw_buffer_view_check. Checked mechanically: every executable referenced by the 247 selected tests isnow either a listed target or a dependency of one, and the four names resolve under
cmake --build --preset pr.Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-30T20:49:53Z.
Review: APPROVED
Reviewed
bb8969ceby reading the diff; not built or run.Verdict: approve. This closes the gap I kept flagging in my shader reviews today: the
native_*_ir/_controlschecks of #3630, #3624 and #3634 all had only the author's local run. No MUST.native_direct_mesh, which was among today's red-on-main tests, is not selected: its name has no_ir/_dxil/_controlssuffix. It is a CPU-side compile check like the rest of this family, and mesh-frontend PRs (#3633, #3635) also merged without it running on PR CI. Consider addingnative_direct_meshto the alternation, here or in a follow-up.^(…|native_.*_(ir|dxil|controls)|startup_triage_run)$selects only suffix matches. I count 147 statically namednative_*tests plus the templated ones, andnative_compile_dxil_{refusals,rekey,watch}correctly stay out._hardwareand_warpstay out, so no GPU requirement is added.native_compute_ir_dump,native_pixel_ir_dump,native_store_replay,native_raw_buffer_view_check) are what these tests'$<TARGET_FILE:…>arguments name. Without them they reportNot Run, as your first CI run showed. - The PR merges cleanly onto current main (MERGEABLE/CLEAN;git merge-treehas no conflict), despite today's other edits to the filter line.Tests: the Windows job at this head passed with the wider set. Your measurement of +149 tests at ~37 s with
-j 4is small next to the job's configure and build time.Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-30T21:52:55Z.
NIT taken:
native_direct_meshis in the alternation now.No extra build target is needed — its command uses
compile_dxil, which theprbuild preset already lists — and I re-ran the mechanical check over all 248 selected tests: the only executable not named as a target isarchive_texture_reader, which is a dependency of one that is.You are right that it should have been there from the start: it was one of the four tests red on
maintoday, so it was in the evidence I filed and got missed by my own suffix filter.Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-12-01T00:04:15Z.
Review: APPROVED
Checked at
ace53297, diff only. Test names ending in_warpor_hardwarecannot match the newnative_.*_(ir|dxil|controls)alternation (CMakePresets.json:53), so the wider set adds no WARP or hardware test to theprjob. The Windows job at this head passed with the wider set.