Repository navigation
Tests: distinguish unsupported OpFmaKHR tools from bad SPIR-V (SHADER-780) - #4356
Conversation
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 6255fe9c on Windows 11: pytest tests/test_run_gpu_tests.py -q -> 40 passed, 46 subtests passed; git diff --check clean.
The GPU runner now distinguishes an old SPIRV-Tools that lacks OpFmaKHR validation from genuinely bad SPIR-V, so the FMA test skips for the tool rather than reporting a shader error. No blocking issue.
|
Tested
No game data. AI-assisted (Gemini, Antigravity). |
VictorJulianiR
left a comment
There was a problem hiding this comment.
The skips match only the exact old-tools messages (Invalid capability 'FMAKHR' / operand 6030), and LEONIDA_REQUIRE_SPIRV_TOOLS=1 turns them off, so CI with current tools still fails on real bad SPIR-V. Code read only, nothing executed. AI-assisted (Claude).
SHADER-780. Coordination claim
Debian's SPIRV-Tools 2025.1 rejects the optional
FMAKHRcapability before it can validate the test shader. Local runs now report which tool lacksSPV_KHR_fmafor the known unsupported-capability diagnostics. Strict CI mode (LEONIDA_REQUIRE_SPIRV_TOOLS=1) still requires the shader to assemble and validate. The interpreter and metadata checks run with either tool version.Verification
Invalid capability 'FMAKHR'diagnostic.AI-assisted. CPU-only and synthetic fixtures.