tools/ptr_truncation_census.py runs rdna2spirv.translate() up to its shader_meta.collect call, writes no SPIR-V,
and records every base pair shader_meta's truncates_high / ptr32_lo rule looks at: the access (descriptor-table
load, scalar load, global_*), the low and the high half. Over package 1.0.2.1 every truncated pointer is the base
of a 4/8/16-dword descriptor load from a user SGPR (86,036 in 25,865 shaders, at most 5 per shader); no global_*
or 1-2 dword s_load base is truncated. docs/d3d12_vulkan.md replaces "some"/"many" with those counts.
Controls from the same pass: 26,503 shaders per stage as docs/design.md, user_sgpr_census.py on its index gives
section 3.5's 9,830 / 1,660 / 2,364 / 7,977, and 204 sampled shaders match a full translate's build_meta.
Co-Authored-By: Claude Opus <noreply@anthropic.com>
A malformed module whose array type names itself made the element walk spin
inside CreateGraphicsPipelineState; it now stops after 16 levels, with a case in
spirv_stores_test. d3d12_stores_atomics_test turns the validation layer on for
itself only when the variable is unset. The docs say how the 1,018 of 1,038
figure is counted.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
create_vulkan_device_standalone never enabled fragmentStoresAndAtomics or
vertexPipelineStoresAndAtomics, so a pixel shader with a writable storage
image (an image atomic: 1,018 corpus pixel shaders) broke
VUID-RuntimeSpirv-NonWritable-06340 while CreateGraphicsPipelineState
answered S_OK.
The device enables both where the GPU has them. A graphics PSO whose stage
declares writable storage (src/spirv_stores.h reads the declarations) on a
device without the feature is refused with E_NOTIMPL and a log line.
spirv_stores_test checks the rule on hand-built SPIR-V; d3d12_stores_atomics_test
checks the refusal and the standalone device under the validation layer.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The local exporter writes vertex_count and triangle_count, not index_count. Remove the invented index_count from the synthetic fixtures and expect the documented unknown index total; keep index_count optional for inputs that actually supply it.
docs/gamedata.md called the hour of each timecycle sample unmeasured in
the timecycle section, while a paragraph that had ended up under the
tyre section said this build reads them from time_data. Move that
paragraph back into the timecycle section, drop the stale note, and add
the measured hours with the payload offset and the command that prints
them.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
`--force-feedback` creates a constant effect at magnitude 1.0 on motor 0 and
holds it for a second, so the wheel owner the RT-160 finding asks for can feel
the magnitude and the axis instead of only reading `forcefeedback=`; a pad with
no force-feedback motor is skipped with the reason printed. Docs and the probe
comment name the flag.
AI-assisted
The Inputs and outputs row lost the qualifier when #436 merged
(51d954a2), 31 s before #2063 landed. Restate the rule the translator and
tests/test_translate.py::test_mrtz_depth_only_from_an_enabled_x enforce,
including that an export without Z must not declare DepthReplacing.
AI-assisted
WinHttpSendRequest assigned its dwContext to the request unconditionally, so a client that set the context with
WINHTTP_OPTION_CONTEXT_VALUE and sent with 0 got 0 back from WinHttpQueryOption and in its REQUEST_ERROR and
HANDLE_CLOSING callbacks. The host's winhttp.dll (Windows 11, asynchronous session, loopback) keeps the option's
value in all three. A nonzero dwContext still replaces it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A data.rpf sample puts the decoded 8-bit vector on the U tangent 1,992/1,992 corner uses (median |dot| 0.999598) and bit 30 on the dP/dv side 101/104; the three exceptions are one indexed vertex with mixed UV determinants. Records the exception for a consumer building a tangent frame.