tooling: treat pixel disassembly failures as PSO blockers #404
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/410"
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 aadi-varc on 2026-11-22T00:41:54Z.
Change
Fixes
tools/pso_readiness.pyso a pixel shader withdisassembly_failedmarks its pipelineblockedwithfirst_blockerpopulated instead of falling intoneeds_evidencewithfirst_blocker: null.tools/pso_readiness.py: adds"disassembly_failed"alongside"unsupported_opcodes"and"pixel_lowering_rejected"inreport().missing_root_signaturestill takes precedence; absent manifest entries stayneeds_evidence.tests/pso_readiness_check.py: tests bothdisassembly_failedpaths (empty stream andValueError),first_blocker, precedence, single-scan caching, andneeds_evidence.Independent fix; no open PR edits
tools/pso_readiness.py(PR #341 edits an unrelated function intests/pso_readiness_check.py).Verification
Commit
6669325(base6549244), Ubuntu 24.04 x86_64, Python 3.12.16, LLVM 15.0.7 (libLLVM-15.so.1).Before/after (
tools/pso_readiness.py --llvm libLLVM-15.so.1, synthetic\xff\xff\xff\xffandb""pixel files):6549244): bothstatus='needs_evidence',first_blocker=None6669325): bothstatus='blocked',first_blocker={'reason': 'disassembly_failed', 'stage': 'pixel', 'detail': ...}pso_readiness_check.py:PSO census, evidence states, and native hash control passedrdna2_tools_check.pyw/LLVM_LIB: 26 tests, 0 skips).build-and-testCI).Evidence and follow-up
Synthetic inputs only (MIT License). Negative controls:
missing-rootkeepsmissing_root_signatureahead ofdisassembly_failed;absent-recordstaysneeds_evidence.Checklist
AI-assisted.