Files
metal2vulkan/crates/metal2vulkan-validation/src/specialization
Anees Iqbal bc43cfb68a Tests that asked for the resident-table domains take them; the venue toys state device addresses
What and why: (b)'s reds after DevicePolicy::default() became the identity domains (2bbf157668),
each classed. The class is one of:
- A: a test that asked for the old domains and now names DevicePolicy::RESIDENT_TABLES. It tests a
  mechanism of the executor's own context or of the binder, which the identity domains refuse or
  never run. It goes with (c), which deletes that mechanism.
- B: a test whose own input lacked what the default policy now needs.
No red was a product defect under identity beyond the binder's, fixed in the previous commit.

Product crate (A):
- engine_profile_f::profile_f_functions_reach_every_buffer_through_a_descriptor: Profile F has no
  device addresses, so Device::from_queries refuses it under the identity domains.
- engine_air_2_1::a_status_less_reads_alpha_is_observed_only_where_the_function_uses_it: its one
  checking profile is runtime-floor without robustImageAccess2, below the runtime's floor. It asks
  for the out-of-bounds alpha fact under the resident-table domains. Under the default policy no
  profile asked for it (asked == 0, m3-max-62870).
- spirv/verify/tests.rs:958 takes the same policy as the test it serves.

Validation crate (A):
- acceptance::a_stage_input_kernel_row_compiles_under_its_implied_descriptor: stage input is an
  own-context family, and the identity binder refuses its encoder values.
- candidate::platform::acceptance::descriptor_pools_hold_every_binding_of_the_layout: set 1's heap
  arrays are the handle table's. Under identity, set 1 holds the identity arrays, whose sampler
  count is 4,000, not the heap capacity.
- companion::generated_companions_link_with_their_cases_in_the_engine: mesh and object stages,
  refused under identity.
- coverage: a_compile_records_the_containment_it_compiled_under, a_vertex_case_compiles_under_its_
  vertex_descriptor, the_out_of_bounds_fixtures_contain_each_target_as_declared, the_ob2_ and
  the_ob3_fixtures_contain_each_target_...: the tier table (coverage/tier_table.rs, test-only)
  checks the resident-table containment mechanisms: the root table, descriptor views and
  in-shader checks. committed_profiles and compile_module's ModuleFacts take RESIDENT_TABLES, as
  do the two devices the coverage tests derive beside it. Under identity a storage buffer is
  reached at its device address, a loaded pointer is unchecked and vertex input is unchecked.
  This is what executor_contract/out_of_bounds.rs states for PointerDomain::Identity; those tests
  already used RESIDENT_TABLES for their module facts.
- specialization::attempt: a_storage_texture_is_supplied_the_widest_format_of_its_class and
  a_tile_function_is_supplied_its_members_formats. The storage-texture format and the tile member
  formats are inputs the binder supplies. Under identity the first is refused and the second is a
  resource bound through a descriptor. A resident_tables helper derives the profile.
- worker::compile::a_bound_compute_request_crosses_the_exchange_with_its_shape: the texture's
  format input and the plan are the binder's.
- integration authored_compile_census::case_compiles_lists_the_replay_variants_where_the_device_
  replay_runs: executed command buffers are an own-context family, and the no-device-address floor
  device cannot take the identity domains. Both of its devices take RESIDENT_TABLES.
- integration authored_compile_census::the_census_compiles_the_mesh_pipelines_no_candidate_draws:
  mesh pipelines, as above.
- integration compile_worker::a_constant_blob_crosses_the_worker_without_a_copy: a 4-MiB constant
  blob, which identity refuses past 64 KiB.
- integration engine_linked_cases::a_case_with_a_visible_function_table_binds_the_products_table_
  words: visible-function tables are an own-context family, and the test plans through the binder.

Validation crate (B):
- c3::a_venue_profile_states_its_identity and the two index venue tests,
  a_venue_record_is_current_only_under_its_venue_profiles_key and
  a_venue_record_of_another_build_is_current_while_it_executed_this_builds_artifact. Their toy
  vulkaninfo documents now state shaderInt64 and bufferDeviceAddress. The index toy stated
  bufferDeviceAddress false.
- Venue keys stay derived under the default policy (acceptance::derived_profile), as (b) left them.
  The committed venue records re-keyed at (b), when the fingerprint's policy moved. The rekey path
  (corpus-status --venue-keys / --rekey) moves records whose artifacts stayed byte-identical.
  The alternative was to derive keys under RESIDENT_TABLES, which would make the committed records
  current again until (c) deletes that policy. It was not taken: the executor's opened-profile
  check and the C3 Apple reading derive through the same function.

Not here: the_runtime_sources_are_the_committed_ones, re-pinned in the previous commit, and the
four bless-owned product reds: the render key, the golden table's staleness, the engine
fixtures' printout and the public-fixture inventory part 4.

Verified, at the same change on f61383d22b (development's commits since then touch none of
these files):
- cargo fmt --all;
- m3-max-62975, the validation suite at 34ec190bc1: 1363 passed, 3 skipped, 0 failed (it was 19
  failed at ef03053e2d, m3-max-62869);
- m3-max-62968: fmt and clippy of metal2vulkan and metal2vulkan-validation (all targets, all
  features), rc 0;
- m3-max-62965: the product tests above pass.
2026-11-21 03:42:29 -08:00
..