shader: lower gfx1013 v_rndne_f32 in pixel_aot #506
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/512"
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 PrivacyOnion on 2026-11-22T08:39:55Z.
## Summary
v_rndne_f32(_e32and_e64, including-src,abs(src), andclamp) totools/pixel_aot.py, lowering to HLSLround(...)(DXILRound_ne, IEEE 754 round-to-nearest-even preserving-0.0).tools/scan_unsupported_shaders.pyderivesPIXEL_ALU_NAMESdirectly frompixel_aot.ALU, scanner and PSO readiness tracking pick upv_rndne_f32automatically.tests/pixel_rndne_check.pyand registerpixel_aot_rndne_warpandpixel_aot_rndne_hardwareinCMakeLists.txt(withFORM_COVERAGE_RECORDandSKIP_RETURN_CODE 77on hardware):vmcnt(0)sample reads.0.5,1.5,2.5,3.5,-0.5,-1.5,-2.5,-3.5) including-0.0sign preservation, non-ties (+/-0.25,+/-0.75), and_e64modifiers (-,abs(),clamp).v_trunc_f32_e32,v_floor_f32_e32,v_ceil_f32_e32, and unclamped_e64.Verification
10.0.26100.0, D3D12 debug layer enabledNVIDIA GeForce RTX 5070(vendor=10de device=2f04,driver=32.0.16.1664)Microsoft Basic Render Driver(vendor=1414 device=008c,driver=10.0.26100.9818)ctest --preset dev --no-tests=error -R "^(pixel_aot_rndne_warp|pixel_aot_rndne_hardware|pixel_aot_e64_warp)$" -V-> PASSED (max_absolute_error=0,debug_errors=0 debug_warnings=0on both WARP and RTX 5070)out/pe-env/Scripts/python.exe -B tests/pso_readiness_check.py-> PASSout/pe-env/Scripts/python.exe -B tests/rdna2_tools_check.py-> OK (31 tests, 1 skipped)out/pe-env/Scripts/python.exe -B tests/form_coverage_check.py-> PASSout/pe-env/Scripts/python.exe -B tests/bidi_controls_check.py-> PASSout/pe-env/Scripts/python.exe -B tests/docs_links_check.py-> PASS