Files
metal2vulkan/docs
Anees Iqbal ac72291f01 translator: the binder writes a slot's biased word under the identity domains; the slot-pointer test drops ptrtoint; the old render key re-pinned
Three failures of the landed biased slot word (development's suite, job 51276):

- engine_identity::the_binders_edge_regions_set_multi_region_on_from_queries_and_store_metals_grid
  trapped out of bounds at 0x6_8000_0000: the translator's own binder
  (BindingPlan::instantiate_*) still wrote SlotGuestBase as gpu_address + offset, while a
  pipeline compiled under the identity domains adds 2^31 back to that word. This was a code bug in
  the landed change. rt was not affected: it writes its own push (pipeline::address_word) and does
  not use the binder. The binder now writes the word less 2^31 (bind::instantiate::guest_word)
  wherever the plan's device compiles under the identity domains. The flag is
  ResourceTemplate::biased_slot_words, set by the compute and render planners. All three writers
  read it: slot_field, the render rebind's bases and its loose words. RUNTIME_VERSION
  2538 -> 2539: a run of an unchanged plan pushes another word under the identity domains. The
  runtime sources' pin moves with the binder's files.

- engine_identity::a_slot_pointer_used_as_a_value_is_its_metal_address was refused at compile
  (Unsupported{IdentityDomains}, not implemented). Its ptrtoint makes the slot pointer a wide
  pointer, which reads the root table, a push field identity_admits does not admit. The refusal
  is the test's premise, not the bias: select and the plan are unchanged by the bias. The test
  now covers two address compares and two loads, one 4 bytes below a bind address, with the two
  slots on either side of 2^31: their words lie on either side of 0, so a compare of the words
  would answer the other way. A new test,
  a_slot_pointer_converted_to_an_integer_is_refused_under_the_identity_domains, pins the ptrtoint
  refusal on both profiles, where the default domains compile the kernel. docs/API.md section 5
  says so; it no longer claims that a converted pointer reads the bias back.

- pipeline::compile::tests::the_old_render_descriptor_key_keeps_its_value: the key moved only
  because SEMANTICS_VERSION and ARTIFACT_FORMAT_VERSION moved (2186/544 -> 2188/546); the
  fixture's bytes are unchanged. Re-pinned to the value job 51276 computed.
2026-11-19 03:42:31 -08:00
..