)]}'
{
  "commit": "27f57dd0167c5ff99878438d89dbe76923cdc95e",
  "tree": "731540345da8e5d2b0b620c23d412a8d73b2fa23",
  "parents": [
    "35c94bb6b2d3d26fee8de664b8eae42b75dfb6d9"
  ],
  "author": {
    "name": "Antonio Maiorano",
    "email": "amaiorano@google.com",
    "time": "Thu Sep 10 10:39:52 2026 -0700"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Sep 10 10:39:52 2026 -0700"
  },
  "message": "[d3d11] Spanify interleaved copies in WriteDepthStencilInternal and ReadStaging\n\n- Factor out `CopyInterleavedTexels2D` to unify the strided\n  depth/stencil aspect copy loops in `WriteDepthStencilInternal` and\n  `ReadStaging`.\n- Use `stagingTexture-\u003eGetMappedData()` in `WriteDepthStencilInternal`.\n- Allocate a full-slice buffer (`bytesPerRow * rowsPerImage`) in\n  `ReadStaging` with `dstRowPitch \u003d bytesPerRow`, while invoking\n  `onRowEnd` after each row to stream data while cache lines are hot.\n- Add hoisted bounds checks (`DAWN_CHECK`) and stride/pitch assertions\n  (`DAWN_ASSERT`) prior to loop execution to guarantee memory safety.\n- Enclose the performance-sensitive inner copy loops in a scoped\n  `DAWN_UNSAFE_BUFFERS` block with an explicit `SAFETY` rationale.\n- Eliminate all remaining `DAWN_UNSAFE_TODO` macros across\n  `src/dawn/native/d3d11/TextureD3D11.cpp` (12 total).\n\nBug: chromium:549088024\nChange-Id: Ia62655589493d596ad69444659b0a61dbd00a314\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/339835\nCommit-Queue: Antonio Maiorano \u003camaiorano@google.com\u003e\nReviewed-by: Kai Ninomiya \u003ckainino@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "42ae7d9f50786c08d959fb10c49818eee28a1bbb",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d11/TextureD3D11.cpp",
      "new_id": "b51af18c08f204b6262a2ca6133e7e1b6a7f2409",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d11/TextureD3D11.cpp"
    }
  ]
}
