diff options
| author | Luis Baker <57847961+luisbaker@users.noreply.github.com> | 2026-11-22 01:21:20 +0100 |
|---|---|---|
| committer | Luis Baker <57847961+luisbaker@users.noreply.github.com> | 2026-11-22 01:21:20 +0100 |
| commit | e816f20b292da370c37ac5d12b2d1590ea0d8c2a (patch) | |
| tree | 9251456d2f1a9ecc00e1580994d8801e4c9cac55 /runtime/src/pe_loader.cpp | |
| parent | 4abd54571b6efa02d97eda4711792fa00b455dc3 (diff) | |
Runtime: SNORM/SINT render targets and clear conversion (D3D-45)
Add DXGI->Vulkan mappings and footprint sizes for SNORM and SINT render-target formats, and extend render_target_clear_color to convert SINT clears numerically (NaN to zero, clamp to the signed range, truncate toward zero) instead of copying float bits. Rename d3d12_uint_clear_test to d3d12_clear_test and widen it to compare UNORM/SNORM/FLOAT/UINT/SINT render-target and depth/stencil clears against Windows WARP, full and rectangle. SRGB clears are left out of the byte-exact comparison: the linear->sRGB encoding rounds differently at the .5 boundary on WARP vs Vulkan (a 1-ulp driver difference).
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions