upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-29 21:14:02 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-29 21:14:02 -0500
commit1341d658b7672ef382bdc8460dcda1d2fbd995d7 (patch)
treee1b0aaa12930e90c4624631cc86fd7b8021ee102 /runtime/test/vk_queue_query_sync_test.cpp
parent0eab02a8bcffbb9d1609f9c2fba40c2357513d06 (diff)
Translator: saturating float-to-int, SCC of shift-adds, the division fix-up's zeros; BC7 rotation; null CBVs; freed 32-bit memory forgotten
Ported from voidopcode/vilocity's batch of 2026-11-30 (each checked against Leonida's own code first): - v_cvt_{i32,u32,flr_i32,rpi_i32}_f32 clamp their operand before the DXIL conversion, NaN to 0 and past the range to its top, as RDNA 2 does (LEONIDA_CVT_SATURATE, on); s_lshl{1..4}_add_u32 set SCC to the carry of the 64-bit sum (LEONIDA_LSHL_ADD_SCC, on). ReTerryDavis/ReVIctory a892756, 9c99926, through vilocity eaa934e. - v_div_fixup_f32 resolves 0/y and x/inf before a NaN quotient's infinity (LEONIDA_DIV_FIXUP_ZERO_FIRST, on). cool_fox 2b2b00fa, VIctory-NVIDIA feb90ade, through vilocity 83bcc2a. (Its s_min/s_max SCC half was in Leonida already.) - BCPack BC7: control bits 4:3 rotate channels in modes 4 and 5 only. fxceless/victory-fork 06702fe8, through vilocity 4365d81. (Its dictionary half was in Leonida since trustno1 f9de61c5.) - A constant buffer view made with no description is a null view, and a draw's table nulls that slot. makmatvey, Marvisak/VIctory#2449, VIctory-NVIDIA 8d2d77c4, through vilocity 12cf6fb. - XMemFreeDefault's 32-bit path tells the GPU side before it releases the reservation. ZigZagBoi1/ ScarlettPort 745d6f3, through vilocity ed024d5. Findings: LEONIDA_WC_PARTS_NO_BACK measured and dropped (0.0 MB ever in such parts, d128); LEONIDA_TEXTURE_HASH_BACKOFF measured by turns (frame -1.2 ms, submitting thread -2.75 ms, d118). Tests: float_to_integer_conversions_saturate, scalar_shift_adds_set_scc_to_their_carry, division_fixup_puts_zeros_before_a_nan_quotient (the whole valu suite, 44 passed, on an RTX 4060 Ti, driver 616.64, and on WARP); bc7_rotation_is_only_of_modes_4_and_5; a_null_constant_view_replaces_the_ view_there_before (to run with the next build). AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions