{
  "pass": {
    "crash": false,
    "screenshot": {
      "max_diff": 0.25
    },
    "gpu_total_ms": {
      "max_delta_pct": 20
    },
    "frametime_p99_ms": {
      "max_delta_pct": 20
    },
    "frametime_1pct_low_ms": {
      "max_delta_pct": 20
    }
  },
  "probe": [
    {
      "kind": "crash"
    },
    {
      "kind": "frametime"
    },
    {
      "kind": "gpu_passes"
    }
  ],
  "matrix": {},
  "schema": 4,
  "target": [
    {
      "name": "windows+amd",
      "tags": [
        "windows",
        "amd"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "linux+radv",
      "tags": [
        "linux",
        "radv"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "gpu": [
        "arc *"
      ],
      "name": "intel+gpu-arc-*",
      "tags": [
        "intel"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "linux+nvidia",
      "tags": [
        "linux",
        "nvidia"
      ],
      "max_reports": 2,
      "min_reports": 1
    }
  ],
  "summary": "Compare write-back performance on Death Mountain Trail and in Hyrule Field",
  "baseline": {
    "ref": "main"
  },
  "scenario": [
    {
      "env": {
        "HOS_OUTPUT_RES": "gpu",
        "RX_VK_AUTO_TUNE": "0"
      },
      "name": "trail-and-field",
      "runs": 3,
      "step": [
        {
          "do": "teleport",
          "to": "DeathMountainTrail_Child"
        },
        {
          "do": "wait",
          "map": "DeathMountainTrail_Child",
          "event": "map",
          "timeout_s": 60
        },
        {
          "do": "wait_s",
          "seconds": 3
        },
        {
          "do": "shot",
          "name": "trail-arrival",
          "upload": false,
          "compare": "baseline"
        },
        {
          "x": 0,
          "y": 1,
          "do": "stick",
          "stick": "L",
          "frames": 180
        },
        {
          "do": "repeat",
          "step": [
            {
              "do": "press",
              "frames": 45,
              "buttons": "ZL"
            },
            {
              "do": "wait_s",
              "seconds": 0.5
            }
          ],
          "count": 12
        },
        {
          "do": "shot",
          "name": "trail-after-targeting",
          "upload": false,
          "compare": "none"
        },
        {
          "do": "measure",
          "name": "trail",
          "warmup_s": 10,
          "duration_s": 30
        },
        {
          "do": "teleport",
          "to": "HyruleField_Child"
        },
        {
          "do": "wait",
          "map": "HyruleField_Child",
          "event": "map",
          "timeout_s": 60
        },
        {
          "do": "wait_s",
          "seconds": 3
        },
        {
          "do": "shot",
          "name": "field-arrival",
          "upload": false,
          "compare": "baseline"
        },
        {
          "do": "measure",
          "name": "field",
          "warmup_s": 10,
          "duration_s": 30
        }
      ],
      "start": "save:castle-gate",
      "matrix": true,
      "settings": {
        "vsync": 2,
        "resolution": 1,
        "frame_rate_cap": 6,
        "quality_preset": 0,
        "frame_generation": 0
      }
    }
  ]
}
