The steps

Each step has a counter of what it removed, and a warm A/B/B/A (warmrt.sh) of the race and of a Switch game.

  1. Storage behind each Surf. One storage for each Surf: no behavior changes. The tests pass, and the race's counters and screenshots are the same.
  2. Layouts for each subresource. vk_surf_use with ranges. Sync validation (VK_LAYER_VALIDATE_SYNC=1) finds no new hazard.
  3. Targets come first, array layers. The cascades and the arrays move to the texture's storage. Of the four lines above, this is 121 MB of the bytes. Checks: the takes into layers fall to about 0 a present after the first frame, and copy_layers's GPU time falls.
  4. Targets come first, levels. The downsample chains. The texture of several levels stops its load from memory.
  5. The texture comes first. A target made over a storage is a view at once.
  6. Storage images. A dispatch's storage image over a texture's subresource writes the texture's image.

A shadow mode, as for the pool map, can run the views and the takes side by side in steps 3 and 4. It compares the texels of each view with the take's copy, and counts each one that differs.


Made from docs/dev/one-image.md at 69237645142c. GPL-3.0-or-later.