{
  "pass": {
    "crash": false,
    "screenshot": {
      "max_diff": 0.25
    },
    "boot_time_s": {
      "max_delta_pct": 20
    }
  },
  "probe": [
    {
      "kind": "crash"
    },
    {
      "kind": "boot_time"
    },
    {
      "kind": "shader_compile"
    },
    {
      "kind": "log_value",
      "value": [
        {
          "name": "cache_lost",
          "take": "count",
          "pattern": "the driver's shader cache has .*noted pipelines asked.*it lost them"
        },
        {
          "name": "warm_pass",
          "take": "count",
          "pattern": "precompile: .*built into the pipeline cache and let go"
        },
        {
          "name": "cache_check",
          "take": "count",
          "pattern": "the driver's shader cache has .*noted pipelines asked"
        }
      ]
    }
  ],
  "matrix": {},
  "schema": 9,
  "target": [
    {
      "name": "windows+amd",
      "tags": [
        "windows",
        "amd"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "gpu": [
        "rx 5xx"
      ],
      "name": "windows+amd+gpu-rx-5xx",
      "tags": [
        "windows",
        "amd"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "gpu": [
        "rx 7xxx"
      ],
      "name": "windows+amd+gpu-rx-7xxx",
      "tags": [
        "windows",
        "amd"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "gpu": [
        "arc *"
      ],
      "name": "windows+intel+gpu-arc-*",
      "tags": [
        "windows",
        "intel"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "windows+nvidia",
      "tags": [
        "windows",
        "nvidia"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "linux+radv",
      "tags": [
        "linux",
        "radv"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "linux+nvidia",
      "tags": [
        "linux",
        "nvidia"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "steamdeck",
      "tags": [
        "steamdeck"
      ],
      "max_reports": 2,
      "min_reports": 1
    }
  ],
  "summary": "Compare startup cache checks and shader preparation, with Linux driver-cold recovery and gameplay pictures",
  "baseline": {
    "ref": "main"
  },
  "scenario": [
    {
      "env": {
        "HOS_OUTPUT_RES": "1280x720",
        "RX_VK_AUTO_TUNE": "0"
      },
      "name": "repeated-starts",
      "runs": 3,
      "step": [
        {
          "do": "teleport",
          "to": "Market_Child"
        },
        {
          "do": "wait",
          "map": "Market_Child",
          "event": "map",
          "timeout_s": 120
        },
        {
          "do": "wait_s",
          "seconds": 3
        },
        {
          "do": "shot",
          "name": "market",
          "upload": false,
          "compare": "baseline"
        },
        {
          "do": "teleport",
          "to": "HyruleField_Child"
        },
        {
          "do": "wait",
          "map": "HyruleField_Child",
          "event": "map",
          "timeout_s": 120
        },
        {
          "do": "wait_s",
          "seconds": 3
        },
        {
          "do": "shot",
          "name": "field",
          "upload": false,
          "compare": "baseline"
        }
      ],
      "start": "save:market-entrance",
      "matrix": true,
      "settings": {
        "resolution": 1,
        "quality_preset": 0
      }
    },
    {
      "env": {
        "HOS_OUTPUT_RES": "1280x720",
        "RX_VK_AUTO_TUNE": "0"
      },
      "name": "driver-cold",
      "runs": 2,
      "step": [
        {
          "do": "teleport",
          "to": "Market_Child"
        },
        {
          "do": "wait",
          "map": "Market_Child",
          "event": "map",
          "timeout_s": 120
        },
        {
          "do": "wait_s",
          "seconds": 3
        },
        {
          "do": "shot",
          "name": "cold-market",
          "upload": false,
          "compare": "baseline"
        }
      ],
      "cache": "driver_cold",
      "start": "save:market-entrance",
      "matrix": true,
      "settings": {
        "resolution": 1,
        "quality_preset": 0
      }
    }
  ]
}
