shader: check FP32 exponent edge cases on Vulkan #467
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/473"
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 venetanji on 2026-11-22T05:49:28Z.
Change
Add an optional Vulkan compute fixture for the
frexp_mant32andldexp32helpers introduced in #310. Check 23 input pairs against Python's floating-point reference. Compare finite results, zeros, and infinities by raw binary32 bits and compare NaNs by class. A negative control changes tie-to-even rounding to round up on ties. The fixture generates its shader and inputs from source and adds no CI dependency.Refs #312 for the separate question of pixel shader floating-point mode.
Verification
Tested commit
17810653e27cf6583891e628e7d4987fa7604dc1on x86-64 Linux with Python 3.14.8, DXC 1.9.2609.5, VkRunner3f73c7c3, and NVIDIA driver 615.78.08.The RTX 3080 Ti and RTX 3090 each passed 46 output-word comparisons and rejected the altered rounding rule at the storage-buffer comparison. There were no capability skips. The LLVM 23.1.3 binary lowering and docs checks passed. The optional probe measures helper behavior through SPIR-V on Vulkan.
GitHub Actions passed the Linux checks and the Windows dev job. The Windows /O2 job passed
pixel_aot_warpbut failed the existingcpu_native_worker_alivetest after a timeout on its first launch. That symptom is also reported in #281. CI runEvidence and follow-up
The fixture uses synthetic binary32 inputs and the repository's HLSL helpers. The added test is an original MIT-licensed contribution. The Linux host guide records the command and prerequisites.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-22T05:49:40Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
1781065ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.