{
  "pass": {
    "crash": false,
    "compare": [
      {
        "axis": "RX_VK_ASYNC_FENCES",
        "side": "pr",
        "value": "1",
        "metric": "frametime_p50_ms",
        "against": "0",
        "max_delta_pct": 10
      },
      {
        "axis": "RX_VK_ASYNC_FENCES",
        "side": "pr",
        "value": "1",
        "metric": "frametime_p99_ms",
        "against": "0",
        "max_delta_pct": 15
      }
    ],
    "screenshot": {
      "max_diff": 0.2
    },
    "frametime_p50_ms": {
      "max_delta_pct": 10
    },
    "frametime_p99_ms": {
      "max_delta_pct": 15
    },
    "log_forbidden_hits": {
      "max": 0
    },
    "frametime_1pct_low_ms": {
      "max_delta_pct": 15
    }
  },
  "probe": [
    {
      "kind": "crash"
    },
    {
      "kind": "frametime"
    },
    {
      "kind": "log_match",
      "expected": [],
      "forbidden": [
        "FATAL",
        "device lost",
        "[Vv]alidation [Ee]rror"
      ]
    }
  ],
  "matrix": {
    "pr_only": {
      "RX_VK_ASYNC_FENCES": [
        "0",
        "1"
      ]
    }
  },
  "schema": 8,
  "target": [
    {
      "gpu": [
        "rtx 4070"
      ],
      "name": "windows+nvidia+gpu-rtx-4070",
      "tags": [
        "windows",
        "nvidia"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "gpu": [
        "arc b580"
      ],
      "name": "windows+intel+gpu-arc-b580",
      "tags": [
        "windows",
        "intel"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "gpu": [
        "rx 6600"
      ],
      "name": "linux+radv+gpu-rx-6600",
      "tags": [
        "linux",
        "radv"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "steamdeck",
      "tags": [
        "steamdeck"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "linux+nvidia",
      "tags": [
        "linux",
        "nvidia"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "linux+amd",
      "tags": [
        "linux",
        "amd"
      ],
      "max_reports": 2,
      "min_reports": 1
    },
    {
      "name": "windows+amd",
      "tags": [
        "windows",
        "amd"
      ],
      "max_reports": 2,
      "min_reports": 1
    }
  ],
  "summary": "Compare threaded rendering with async fences off and on in Kokiri Forest and Hyrule Field",
  "baseline": {
    "ref": "main"
  },
  "scenario": [
    {
      "env": {
        "RX_VK_ASYNC": "1"
      },
      "name": "forest-field",
      "runs": 2,
      "step": [
        {
          "do": "teleport",
          "to": "KokiriForest_Child"
        },
        {
          "do": "wait",
          "map": "KokiriForest_Child",
          "event": "map",
          "timeout_s": 90
        },
        {
          "do": "wait_s",
          "seconds": 10
        },
        {
          "do": "shot",
          "name": "forest",
          "upload": false,
          "compare": "baseline"
        },
        {
          "do": "measure",
          "name": "forest",
          "warmup_s": 5,
          "duration_s": 60
        },
        {
          "do": "teleport",
          "to": "HyruleField_Child"
        },
        {
          "do": "wait",
          "map": "HyruleField_Child",
          "event": "map",
          "timeout_s": 90
        },
        {
          "do": "measure",
          "name": "field",
          "warmup_s": 5,
          "duration_s": 60
        }
      ],
      "start": "save:kokiri-start",
      "matrix": true,
      "settings": {}
    }
  ]
}
