)]}'
{
  "commit": "2abcbbc2fa528dfe5a2f7bdbc901bbd9cacc1771",
  "tree": "2ab60afa570d246b6bdc15da1898e3a388b30588",
  "parents": [
    "c6da3961d255e19094bfbc6158c1de8b95e8c187"
  ],
  "author": {
    "name": "Alex Soliman",
    "email": "alexander.soliman@gmail.com",
    "time": "Tue Nov 24 11:26:16 2026 -0800"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Nov 24 11:26:16 2026 -0800"
  },
  "message": "[vulkan] Report a maxBufferSize that is a multiple of 4\n\nOn Vulkan, Dawn rounds non-host-mapped buffer allocation sizes up to a\nmultiple of 4 bytes. When VK_KHR_maintenance4 is supported,\nmaxBufferSize is taken directly from the driver, which on Mesa lavapipe\nis 0xffffffff (4 GiB - 1). Creating a buffer at that limit rounds the\nVulkan size up to 0x100000000 and fails vkCreateBuffer with OOM (hit by\nwebgpu:api,validation,buffer,create:limit with untiered limits).\n\nAlign Vulkan\u0027s reported maxBufferSize down to a multiple of 4\n(0xfffffffc on lavapipe) and assert this in MaxLimitTests.MaxBufferSizes.\nThis does not cover the extra padding added for vertex, index, or uniform\nbuffers.\n\nBug: None\n\nThis is an imported pull request from\nhttps://github.com/google/dawn/pull/97\n\nGITHUB_PR_HEAD_SHA\u003d0ba9b5727d8c53d85e79723281f8129ca968a32a\nORIGINAL_AUTHOR\u003dAlex Soliman \u003calexander.soliman@gmail.com\u003e\nGitOrigin-RevId: ecb5b48c05825978d38a4474ccb128069d27afb8\nChange-Id: I79d9efced95199ef4489aaef45496c359b498a08\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/361637\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\nReviewed-by: Kai Ninomiya \u003ckainino@chromium.org\u003e\nCommit-Queue: Kai Ninomiya \u003ckainino@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fbf22b955f7e4bceb1867ebaf5f5a7e63f17927b",
      "old_mode": 33188,
      "old_path": "src/dawn/native/vulkan/PhysicalDeviceVk.cpp",
      "new_id": "e64f626d98ae1bb1ae6f75ab18e2f5a62ea16f40",
      "new_mode": 33188,
      "new_path": "src/dawn/native/vulkan/PhysicalDeviceVk.cpp"
    },
    {
      "type": "modify",
      "old_id": "c0b8d37a085c1bec7efd27a9fb5b4acc05558121",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/end2end/MaxLimitTests.cpp",
      "new_id": "9bc01990cd95253153654984de9646f6d6e75404",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/end2end/MaxLimitTests.cpp"
    }
  ]
}
