)]}'
{
  "commit": "d28ff04c3e5f5e73159a86bc8d9712fe253261fd",
  "tree": "49656f506ea9e50a5ce76e9b5be173dd0c6cc6c6",
  "parents": [
    "604965a3e10631905cfb68560afba542765af0fe"
  ],
  "author": {
    "name": "Tarun Saini",
    "email": "sainitarun@google.com",
    "time": "Thu Oct 23 02:34:01 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Oct 23 02:34:01 2025 -0700"
  },
  "message": "Fix: WGPUBuffer getMappedRange with WGPU_WHOLE_MAP_SIZE\n\nWhen calling `wgpuBufferGetMappedRange` with `WGPU_WHOLE_MAP_SIZE`, the size of the returned mapped range should be the size of the buffer minus the offset.\n\nThis commit fixes the issue by:\n- Updating the generator to handle `WGPU_WHOLE_MAP_SIZE` for `WGPUBuffer` in `methods.cpp`.\n- Adding new tests in `BufferTest.kt` to verify the behavior of `getMappedRange` and `getConstMappedRange` with default and explicit offset/size values, including when `WGPU_WHOLE_MAP_SIZE` is used.\n\nBug: b/450476328\nChange-Id: I8c2f78474cde441ca3bcaf8185f134b1fb4425cb\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/267134\nReviewed-by: Jim Blackler \u003cjimblackler@google.com\u003e\nCommit-Queue: Tarun Saini \u003csainitarun@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "47954165f5512a7c66b735e07885e6ada539f9ec",
      "old_mode": 33188,
      "old_path": "generator/templates/art/methods.cpp",
      "new_id": "7b899aeaa966c3f5f36c78b718a73ba6d43f9299",
      "new_mode": 33188,
      "new_path": "generator/templates/art/methods.cpp"
    },
    {
      "type": "modify",
      "old_id": "bd5942fa4141717d1f3c6d9b6249d14d29804dc4",
      "old_mode": 33188,
      "old_path": "tools/android/webgpu/src/androidTest/java/androidx/webgpu/BufferTest.kt",
      "new_id": "881b7d485b1baf6e8092c6b39266789dc1742dd3",
      "new_mode": 33188,
      "new_path": "tools/android/webgpu/src/androidTest/java/androidx/webgpu/BufferTest.kt"
    }
  ]
}
