)]}'
{
  "commit": "0f50426acc3e18e7e7f0f92999d6f7f166b09c47",
  "tree": "951f730da087e058bbe41d4a456fd0ae1024bbe4",
  "parents": [
    "5cd7150db41d0b341382dee251539fc9fab1f6c4"
  ],
  "author": {
    "name": "Lokbondo Kung",
    "email": "lokokung@google.com",
    "time": "Thu Nov 05 03:27:56 2026 -0800"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Nov 05 03:27:56 2026 -0800"
  },
  "message": "[d3d12] Track shared texture usage when recording commands.\n\n- Prior to this change, the D3D12 backend only updated a shared\n  texture\u0027s last shared texture memory usage serial in\n  SynchronizeTextureBeforeUse(), which is called when the command list\n  is executed. However, the texture\u0027s initialized state is updated as\n  soon as the commands are recorded. If the command list was never\n  executed (e.g. because the submit failed or the device was lost),\n  EndAccess was not aware that the texture was used, and could report\n  it as initialized even though the commands initializing it never\n  ran.\n- This change instead updates the usage serial when the texture is\n  added to the shared texture list while recording, like the other\n  backends already do, and no longer updates it in\n  SynchronizeTextureBeforeUse(). This also avoids updating the usage\n  serial after the access already ended when EndAccess flushes the\n  pending commands.\n\nBug: 577360270\nChange-Id: Ida95b9c6dd4ef57f593e0898d43d9f41e23eaec6\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/355035\nAuto-Submit: Loko Kung \u003clokokung@google.com\u003e\nReviewed-by: Antonio Maiorano \u003camaiorano@google.com\u003e\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nCommit-Queue: Antonio Maiorano \u003camaiorano@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b6f6b7384ad7fe894df437d041e1cf573e8ea76e",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/TextureD3D12.cpp",
      "new_id": "eb8eec5c899ce98972e6c0b439893884b321a4da",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/TextureD3D12.cpp"
    }
  ]
}
