Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/device-linear-texture-alignments.json
T
Anees Iqbal 99859aeb4a Re-bless two cost records with measured causes at 0950c1a0ab
pass-bytes-srgb-decode-all-bytes: object_churn.vk_memory_allocations 131 -> 3 and vk_memory_freed
128 -> 0. The submission checks' import-tax work (32 imports of 16 MiB held, their tries and frees)
counts in WorkCounts::device_checks since 09253899ac, which cost::DEVICE_CHECKS leaves out; this
case is the first in its run to meet a fresh device whose checks have no record. Contrast: costat
at 239c429579 (m3-max-5970/5971, 8 runs alone) read allocations 3 and freed 0, every other listed
count equal to 49d9a3fd06's (259 and 256 there). The 3 left are the case's own pooled blocks.

device-linear-texture-alignments: linear_alignments_probed 0 -> 175, with the probe's 864 images
made and destroyed, 128 allocations and frees and 1 fence: the first query probes all 175 formats
(b8f7b5a7f9..810842140b). The counter moves only in this case.

Every other record a whole-set write moved (scheduler_* counts, buffers_evicted with
vk_buffers_destroyed, commands_recorded.*, primaries_begun_ahead) has no contrast and was put back:
those move with run order and timing.

A correction to 49d9a3fd06's message: its only gated rises were the fills cases and the xr-masked
per_state counts; the scheduler_ and object_churn. counts it listed are reported only (racy), and
the pass-bytes allocations came from 9d3ac94e85's import-tax check (measured 11-07), not fresh
pages. Measured on the M3 (s37-pl.sh record: cost --runs 8 --write over the whole set, the other
records put back, then cost --runs 8 --alone --write and times over the two).

(cherry picked from commit acb8e62ccdde1ac4475a041c2c854196c9817e64)
2026-11-07 20:08:52 -08:00

371 lines
11 KiB
JSON

{
"format": 1,
"case": "device-linear-texture-alignments",
"suite_version": 1,
"answers": [
{
"key": {
"chip": "apple-m3-max",
"os_version": "27.0.1",
"os_build": "26A434",
"metal_level": "27.0.1"
},
"provenance": "metal_run",
"device": "Apple M3 Max",
"runs": 3,
"outcomes": [
{
"runs": 3,
"transcript": {
"root": {
"name": "case",
"observed": {
"value": "absent"
},
"children": [
{
"name": "inputs",
"observed": {
"value": "absent"
},
"children": [
{
"name": "queries",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "e9c7291226622ddfe589f0b56243ddb9424d8684d4defa6cbb4272faa3a6c216"
}
}
}
]
},
{
"name": "MTLPixelFormatA8Unorm",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatR8Unorm",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatR8Snorm",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatR8Uint",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatR16Float",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatRG8Unorm",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatR32Uint",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatR32Float",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatRGBA8Unorm",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatRGBA8Unorm_sRGB",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatBGRA8Unorm",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatBGRA8Unorm_sRGB",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatRGB10A2Unorm",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatRGB9E5Float",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatRG32Float",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "MTLPixelFormatRGBA32Float",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"uint": 16
}
}
}
}
},
{
"name": "notices",
"observed": {
"value": "absent"
},
"children": [
{
"name": "set",
"observed": {
"value": {
"nothing": "announced_nothing"
}
}
},
{
"name": "counts",
"observed": {
"value": {
"fields": {}
}
}
}
]
}
]
}
}
}
],
"validated": "ran"
}
],
"costs": [
{
"venue": "Apple M3 Max",
"runs": 8,
"measured": "8 run(s) of the whole selection on Apple M3 Max, in the case set's own order, the largest each count reached",
"contrasted": "8 run(s) of each case on its own on Apple M3 Max, nothing before it on the device, the largest each count reached",
"bounds": {
"linear_alignments_probed": 175,
"object_churn.making_sites_dropped": 864,
"object_churn.vk_images_destroyed": 864,
"object_churn.vk_images_made": 864
}
}
],
"times": [
{
"leg": "metal",
"venue": "native Metal",
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 6.10 and ours at 6.01; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 295,
"times": {
"case": "device-linear-texture-alignments",
"calls": 16,
"in_calls": 41333,
"on_cpu": 43669,
"blocked": 0,
"elsewhere": 2167,
"spend": 44374,
"spend_least": 41498,
"spend_most": 60125,
"per_call": [
{
"call": "minimum_linear_texture_alignment",
"least_calls": 16,
"most_calls": 16,
"wall": 2250,
"on_cpu": 2375,
"blocked": 0,
"wall_least": 2208,
"wall_most": 2333,
"wall_total": 41333,
"on_cpu_total": 43669,
"blocked_total": 0
}
]
}
},
{
"leg": "ours",
"venue": "Apple M3 Max",
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 6.10 and ours at 6.01; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 312,
"times": {
"case": "device-linear-texture-alignments",
"calls": 16,
"in_calls": 5583502,
"on_cpu": 5585833,
"blocked": 0,
"elsewhere": 5083,
"spend": 5587585,
"spend_least": 5484376,
"spend_most": 7287918,
"per_call": [
{
"call": "minimum_linear_texture_alignment",
"least_calls": 16,
"most_calls": 16,
"wall": 459,
"on_cpu": 625,
"blocked": 0,
"wall_least": 459,
"wall_most": 584,
"wall_total": 5583502,
"on_cpu_total": 5585833,
"blocked_total": 0
}
]
}
}
]
}