upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorLuis Baker <57847961+luisbaker@users.noreply.github.com>2026-11-22 01:21:20 +0100
committerLuis Baker <57847961+luisbaker@users.noreply.github.com>2026-11-22 01:21:20 +0100
commite816f20b292da370c37ac5d12b2d1590ea0d8c2a (patch)
tree9251456d2f1a9ecc00e1580994d8801e4c9cac55 /runtime/src/main.cpp
parent4abd54571b6efa02d97eda4711792fa00b455dc3 (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/main.cpp')
0 files changed, 0 insertions, 0 deletions