Files
metal2vulkan/docs
Anees Iqbal 3a34b49814 Leave copies-only formats to format-footprints in the texture table, and refuse their fills
Two tests from the afb4e8cc2b copies-only change, which never had a whole
suite pass:

- textures' the_table_is_exactly_the_formats_whose_texels_are_metals_bytes
  wanted a texture-round-trip case for ARGB8Unorm_sRGB and the other formats
  now held for copies alone, since byte_format answers their R16_UINT or
  R32_UINT. format_footprints already records the same host round trip of
  each of them (fresh read, replaceRegion: over BEFORE, read back), beside
  the footprints and texture types Metal answers. So the table's predicate
  leaves them to that family.
- blit_fill's every_texture_format_has_a_fill_unit found no fill unit for
  them. A fill of such a texture reached
  internal("a fill of a format the runtime makes no texture of"). Metal's
  fills of these formats are not measured, so a fill is now refused
  Unsupported(Format, NotImplemented), named by its format, as their sparse
  textures are. fill_texture's doc and docs/REFUSALS.md (the new blit_fill.rs
  site, regenerated) say so, and the test excepts the copies-only formats.

Found by m3-max-4172 and m3-max-4304 (ms01).

The previous commit's message (ee5ba4cbab) says
candidates_are_known_formats already skips copies-only formats. The test
that does is direct_formats_round_trip.

(cherry picked from commit 9a22813ff057ffd81cce438c7a49652798f67bf7)
2026-11-07 10:04:13 -08:00
..