Runtime README: the Iris's read_write refusal beside the words' measured cost there

The planner closed holding a format as words where its own view lacks the read without a
format (a whole-format move): on the Iris Xe it serves read_write but slows every other read of
those formats, and trades the refusal for another (a read through a sampler would be
Gap::TexelBufferOwnView). The read_write refusal stays the typed known gap
(Gap::StorageElement, ReadWithoutFormat).

The row now records, so nobody times it again:
- job m3-max-82136, Iris Xe (RPL-P), ANV (Mesa 26.2.6, read on the node by job
  m3-max-82150): GPU p50 of texel_buffer_bgra8_read 11857.1 us as words against 9007.0 us as
  its own view (+31.6%), texel_buffer_b5g6r5_read 12133.8 us against 9215.2 us (+31.7%); the
  median of 8 rounds of 500 runs, the two builds alternating, the own view's build against
  itself within 0.1%, every run's values checked against the CPU references;
- job m3-max-82025's listing: the committed ANV profiles (irisxe-rplp, irisxe, uhd770) answer
  the same for seven formats (adding RG11B10Float, RGB10A2Unorm and RGB10A2Uint), and no other
  committed profile does;
- the trigger: no further form is built; that changes on a guest's run or stream that meets the
  refusal.
This commit is contained in:
Anees Iqbal committed 2026-12-02 22:11:56 -08:00
1 parent 6589b1df9d
commit 8a2acc84fb
1 file changed
+12 -3
+12 -3
View File
@@ -2399,9 +2399,18 @@ made, with no lock, and never rewritten for layouts.
buffer, a storage texel buffer and `VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT`, the
three uses `metal::format::texel_buffer_form` asks. They lack
`VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT`, the read without a format on the format's
own view, so there a draw or dispatch whose function reads a texture buffer of one of them
through `access::read_write` at a slot is `Gap::StorageElement` (case `ReadWithoutFormat`; job
m3-max-81883).
own view, so there a draw or dispatch whose function reads a texture buffer of one of them through
`access::read_write` at a slot is `Gap::StorageElement` (case `ReadWithoutFormat`; jobs
m3-max-81883 and m3-max-82116). Its committed profile (`intel-irisxe-rplp-anv`) answers the same
for `RG11B10Float`, `RGB10A2Unorm` and `RGB10A2Uint`, and so do `intel-irisxe-anv` and
`intel-uhd770-rpls-anv` for all seven (job m3-max-82025). Holding those formats as words would
serve that read and slows every other: on that Iris Xe (ANV, Mesa 26.2.6) the harness rows
`texel_buffer_bgra8_read` and `texel_buffer_b5g6r5_read` take a GPU p50 of 11857.1 us and 12133.8
us as words against 9007.0 us and 9215.2 us as their own views, 31.6% and 31.7% more (the median
of 8 rounds of 500 runs each, the two forms' builds alternating, the own views' build against
itself within 0.1%; job m3-max-82136), and a read through a sampler, which the own view serves,
would be `Gap::TexelBufferOwnView`. No further form is built for this; that changes on a guest's
run or stream that meets this refusal.
- An upload into a 32-bit float depth (`Depth32Float`, or the depth of `Depth32Float_Stencil8`)
by `replace_region`, `upload_region` or a blit's `copy_from_buffer` is the device's copy into
the depth aspect, on every device, under the static note `PrecisionNote::RestrictedDepthUpload`