tests: regenerate abi_layout_table.h at ABI 24; complete abi_layout_rows.h

abi_layout_test has been red since 9d67df3 bumped RAD_ABI_VERSION to 24 without
regenerating the snapshot, and the row file never listed Batch.sampler or any of the
trailing debug fields (dbg_ve_*, dbg_dit_*, dbg_vd_* — 61 rows missing from the
snapshot). Verified purely additive: no previously-listed field moved or changed size,
both growths are fields past the old struct ends. kTableAbi 24.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
gearwave00001andClaude committed 2026-10-22 00:57:42 -05:00
1 parent 80b13b49d8
commit 5fb9dc92ad
3 files changed
+90 -6

No files matched your search

+62 -3
View File
@@ -1,4 +1,4 @@
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 23 and
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 24 and
* RAD_FORMAT_VER 2, as { type, field, offset, size } rows ("" is the struct itself). A snapshot
* of the headers on x86-64 Linux, which abi_layout_test.cpp holds the layout to; regenerate it
* from the test's printout only together with a version bump. */
@@ -588,7 +588,7 @@
{ "RadTunable", "n_values", 16, 4 },
{ "RadTunable", "deflt", 24, 8 },
{ "RadTunable", "doc", 32, 8 },
{ "RadVideoGenBatch", "", 0, 248 },
{ "RadVideoGenBatch", "", 0, 280 },
{ "RadVideoGenBatch", "lane", 0, 4 },
{ "RadVideoGenBatch", "geom", 4, 24 },
{ "RadVideoGenBatch", "geom_d", 32, 8 },
@@ -619,7 +619,11 @@
{ "RadVideoGenBatch", "enc_channels", 232, 4 },
{ "RadVideoGenBatch", "enc_slot", 236, 4 },
{ "RadVideoGenBatch", "enc_geom_d", 240, 8 },
{ "RadVideoGenDecl", "", 0, 352 },
{ "RadVideoGenBatch", "enc_kind", 248, 4 },
{ "RadVideoGenBatch", "ref_tab", 256, 8 },
{ "RadVideoGenBatch", "mod_cu", 264, 8 },
{ "RadVideoGenBatch", "sampler", 272, 4 },
{ "RadVideoGenDecl", "", 0, 784 },
{ "RadVideoGenDecl", "name", 0, 8 },
{ "RadVideoGenDecl", "tmpl", 8, 8 },
{ "RadVideoGenDecl", "max_text", 16, 8 },
@@ -666,6 +670,61 @@
{ "RadVideoGenDecl", "max_enc_samples", 336, 8 },
{ "RadVideoGenDecl", "enc_ratio", 344, 4 },
{ "RadVideoGenDecl", "ref_rows", 348, 4 },
{ "RadVideoGenDecl", "max_ref_segs", 352, 4 },
{ "RadVideoGenDecl", "dbg_enca", 356, 4 },
{ "RadVideoGenDecl", "dbg_enca_bytes", 360, 8 },
{ "RadVideoGenDecl", "dbg_evc", 368, 4 },
{ "RadVideoGenDecl", "dbg_evc_bytes", 376, 8 },
{ "RadVideoGenDecl", "dbg_ae_mp", 384, 4 },
{ "RadVideoGenDecl", "dbg_ae_mp_bytes", 392, 8 },
{ "RadVideoGenDecl", "dbg_ae_pre", 400, 4 },
{ "RadVideoGenDecl", "dbg_ae_pre_bytes", 408, 8 },
{ "RadVideoGenDecl", "dbg_ae_amb", 416, 4 },
{ "RadVideoGenDecl", "dbg_ae_amb_bytes", 424, 8 },
{ "RadVideoGenDecl", "dbg_ve_q2", 432, 4 },
{ "RadVideoGenDecl", "dbg_ve_q2_bytes", 440, 8 },
{ "RadVideoGenDecl", "dbg_ve_q48", 448, 4 },
{ "RadVideoGenDecl", "dbg_ve_q48_bytes", 456, 8 },
{ "RadVideoGenDecl", "dbg_ve_nout", 464, 4 },
{ "RadVideoGenDecl", "dbg_ve_nout_bytes", 472, 8 },
{ "RadVideoGenDecl", "dbg_ve_trunk", 480, 4 },
{ "RadVideoGenDecl", "dbg_ve_trunk_bytes", 488, 8 },
{ "RadVideoGenDecl", "dbg_ve_cin", 496, 4 },
{ "RadVideoGenDecl", "dbg_ve_cin_bytes", 504, 8 },
{ "RadVideoGenDecl", "dbg_ve_l0", 512, 4 },
{ "RadVideoGenDecl", "dbg_ve_l0_bytes", 520, 8 },
{ "RadVideoGenDecl", "dbg_ve_l1", 528, 4 },
{ "RadVideoGenDecl", "dbg_ve_l1_bytes", 536, 8 },
{ "RadVideoGenDecl", "dbg_ve_l2", 544, 4 },
{ "RadVideoGenDecl", "dbg_ve_l2_bytes", 552, 8 },
{ "RadVideoGenDecl", "dbg_ve_l3", 560, 4 },
{ "RadVideoGenDecl", "dbg_ve_l3_bytes", 568, 8 },
{ "RadVideoGenDecl", "dbg_ve_l4", 576, 4 },
{ "RadVideoGenDecl", "dbg_ve_l4_bytes", 584, 8 },
{ "RadVideoGenDecl", "dbg_dit_h0", 592, 4 },
{ "RadVideoGenDecl", "dbg_dit_h0_bytes", 600, 8 },
{ "RadVideoGenDecl", "dbg_dit_vel", 608, 4 },
{ "RadVideoGenDecl", "dbg_dit_vel_bytes", 616, 8 },
{ "RadVideoGenDecl", "dbg_dit_temb", 624, 4 },
{ "RadVideoGenDecl", "dbg_dit_temb_bytes", 632, 8 },
{ "RadVideoGenDecl", "dbg_dit_mod", 640, 4 },
{ "RadVideoGenDecl", "dbg_dit_mod_bytes", 648, 8 },
{ "RadVideoGenDecl", "dbg_dit_blk", 656, 4 },
{ "RadVideoGenDecl", "dbg_dit_blk_bytes", 664, 8 },
{ "RadVideoGenDecl", "dbg_dit_hn", 672, 4 },
{ "RadVideoGenDecl", "dbg_dit_hn_bytes", 680, 8 },
{ "RadVideoGenDecl", "dbg_dit_nout", 688, 4 },
{ "RadVideoGenDecl", "dbg_dit_nout_bytes", 696, 8 },
{ "RadVideoGenDecl", "dbg_vd_lat", 704, 4 },
{ "RadVideoGenDecl", "dbg_vd_lat_bytes", 712, 8 },
{ "RadVideoGenDecl", "dbg_vd_x0", 720, 4 },
{ "RadVideoGenDecl", "dbg_vd_x0_bytes", 728, 8 },
{ "RadVideoGenDecl", "dbg_vd_blk", 736, 4 },
{ "RadVideoGenDecl", "dbg_vd_blk_bytes", 744, 8 },
{ "RadVideoGenDecl", "dbg_vd_n", 752, 4 },
{ "RadVideoGenDecl", "dbg_vd_n_bytes", 760, 8 },
{ "RadVideoGenDecl", "dbg_vd_pix", 768, 4 },
{ "RadVideoGenDecl", "dbg_vd_pix_bytes", 776, 8 },
{ "RadVideoGeom", "", 0, 24 },
{ "RadVideoGeom", "n_text", 0, 4 },
{ "RadVideoGeom", "frames", 4, 4 },