)]}'
{
  "commit": "6aa8aae9c2564d8bb73cb4da9fec0da86ccc8714",
  "tree": "bbeb7526f833bcb791301b4cc63f2eec17e7f9d1",
  "parents": [
    "b6a3a7e82c4e91c5ac9aeae3e754edf513b5e491"
  ],
  "author": {
    "name": "Gregg Tavares",
    "email": "gman@chromium.org",
    "time": "Thu Jan 22 08:22:26 2026 -0800"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jan 22 08:22:26 2026 -0800"
  },
  "message": "Capture: Handle unmap by dirty flag.\n\nWe can\u0027t capture on Unmap if the buffer is new\n(mappedOnCreation) because calling CaptureUnmappedBuffer\nwill end up calling AddResource which will try to capture\nthe buffer\u0027s contents. We can\u0027t capture the buffer\u0027s\ncontents because it\u0027s currently mapped.\n\nInstead, mark the buffer as \"needs capture\" and\ncapture it again later if it\u0027s used.\n\nBug: 477349135\nChange-Id: I6a6a696466378f70100cdb8973761f00d974f5e3\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/285935\nReviewed-by: Shrek Shao \u003cshrekshao@google.com\u003e\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nCommit-Queue: Gregg Tavares \u003cgman@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c5ee6fb3aa999ed59623e705a1e139d38ca8f3d7",
      "old_mode": 33188,
      "old_path": "src/dawn/native/webgpu/BufferWGPU.cpp",
      "new_id": "81070a39dfbfe422ba029f39a0af2bae4162a444",
      "new_mode": 33188,
      "new_path": "src/dawn/native/webgpu/BufferWGPU.cpp"
    },
    {
      "type": "modify",
      "old_id": "fcdc83f9dd90d46fe135f73562195a69c23031b4",
      "old_mode": 33188,
      "old_path": "src/dawn/native/webgpu/BufferWGPU.h",
      "new_id": "2c1a2a15ab01652c56d830765b09643e70588840",
      "new_mode": 33188,
      "new_path": "src/dawn/native/webgpu/BufferWGPU.h"
    },
    {
      "type": "modify",
      "old_id": "17820c289d15856f92650714c324e0060f38307e",
      "old_mode": 33188,
      "old_path": "src/dawn/native/webgpu/CaptureContext.cpp",
      "new_id": "773a299647d52f6aac2468b7782114587b86ac59",
      "new_mode": 33188,
      "new_path": "src/dawn/native/webgpu/CaptureContext.cpp"
    },
    {
      "type": "modify",
      "old_id": "06d2c270abd2759f802ba7b5017e2814c4e8c083",
      "old_mode": 33188,
      "old_path": "src/dawn/native/webgpu/CaptureContext.h",
      "new_id": "8233f79dec629135c820aa26ae8da1e2b9f34642",
      "new_mode": 33188,
      "new_path": "src/dawn/native/webgpu/CaptureContext.h"
    },
    {
      "type": "modify",
      "old_id": "8bba788aef9d32e7e7c9c354a50ea9c4716de19c",
      "old_mode": 33188,
      "old_path": "src/dawn/replay/Replay.cpp",
      "new_id": "7942d10f5127ac7ac476fa46187a40ad1d708e5e",
      "new_mode": 33188,
      "new_path": "src/dawn/replay/Replay.cpp"
    },
    {
      "type": "modify",
      "old_id": "00108064b448d0a263b64c543c28e14e4472ac70",
      "old_mode": 33188,
      "old_path": "src/dawn/serialization/Schema.h",
      "new_id": "9b630dd7b87e80385ff96592431ab2894e36dc67",
      "new_mode": 33188,
      "new_path": "src/dawn/serialization/Schema.h"
    },
    {
      "type": "modify",
      "old_id": "c976d156063f2037f0bfe15e63f6bbe6fa3c757d",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/end2end/CaptureAndReplayTests.cpp",
      "new_id": "9c15f6ee36632ccea5dc62d7eec5c459d1e527aa",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/end2end/CaptureAndReplayTests.cpp"
    }
  ]
}
