upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authord7ommy <abnalstlll@gmail.com>2026-11-25 21:29:28 +0300
committerd7ommy <abnalstlll@gmail.com>2026-11-25 21:29:28 +0300
commit065df3d8b2468fb27cd4f388232bff19d8803b7d (patch)
tree9e2a5c9fd2ba1690bedc7d1158ace21401ac32d7 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parentb9320a118d46b24de665e30e577425c131b4a2ee (diff)
runtime: guard align_up_saturating against zero alignment and add unit tests (RT-XS-ALLOC-SIZE-GUARDS-AND-TESTS)
Guard align_up_saturating against zero alignment (to == 0) in runtime/shims/d3d12_xs_alloc_size.h, avoiding division by zero and underflow. Add standalone CPU-only unit test runtime/test/d3d12_xs_alloc_size_test.cpp covering align_up_saturating, render_target_element_bytes, console_depth_planes, console_render_target_size, console_depth_stencil_size, and console_placement. Register test executable and CTest in runtime/CMakeLists.txt. AI-assisted (Claude Code)
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions