)]}'
{
  "commit": "fc4c3e3937ae1bdaddd415c63fa1dd37ac92145e",
  "tree": "a489a66f024f86f5da2225e8727077754cb0304b",
  "parents": [
    "61ae74d573c624e64d404e18f817433acad49af8"
  ],
  "author": {
    "name": "Corentin Wallez",
    "email": "cwallez@chromium.org",
    "time": "Fri Oct 03 05:26:48 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Oct 03 05:26:48 2025 -0700"
  },
  "message": "[dawn][native] Remove BGL::GetBindingIndex(BindingNumber)\n\nBindingNumbers only make sense to convert to APIBindingIndex since\nthat\u0027s the integer type used to represent packed bindings that match\nuser-facing bindings.\n\nOne use of GetBindingIndex in the GL backend is only for sampled\ntextures and can be replaced with AsBindingIndex(GetAPIBindingIndex).\n\nThe other use of GetBindingIndex was in the Vulkan backend to convert\nthe BindingNumber in StaticSamplerBindingInfo::sampledTextureBinding to\na BindingIndex. In this CL that member is replaced with a BindingIndex\nin the same BGL, which requires updating the StaticSamplerBindingInfo\nafter the reordering of bindings in the BGL creation, and updates to the\nBindGroup validation code.\n\nBug: 42240282\nChange-Id: I0eabaabcea69f3aeae18753c160890af1419b663\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/264035\nReviewed-by: Geoff Lang \u003cgeofflang@chromium.org\u003e\nReviewed-by: Loko Kung \u003clokokung@google.com\u003e\nCommit-Queue: Corentin Wallez \u003ccwallez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5f25a4f61de95998275315bbdd8b96f99097eb65",
      "old_mode": 33188,
      "old_path": "src/dawn/native/BindGroup.cpp",
      "new_id": "580d9a247ac9ede88f980462d87fcf2f17a351be",
      "new_mode": 33188,
      "new_path": "src/dawn/native/BindGroup.cpp"
    },
    {
      "type": "modify",
      "old_id": "3f010572a3e30987bcaac52b0bc65ee1a789396a",
      "old_mode": 33188,
      "old_path": "src/dawn/native/BindGroupLayoutInternal.cpp",
      "new_id": "374b66175ecfc98a77ce4c6b9ba5febef6f80eee",
      "new_mode": 33188,
      "new_path": "src/dawn/native/BindGroupLayoutInternal.cpp"
    },
    {
      "type": "modify",
      "old_id": "88eb604a8ee76d39789967edca6470e33409239c",
      "old_mode": 33188,
      "old_path": "src/dawn/native/BindGroupLayoutInternal.h",
      "new_id": "039ed0a6fefbfa8fb029e48eb73ba7ae91618514",
      "new_mode": 33188,
      "new_path": "src/dawn/native/BindGroupLayoutInternal.h"
    },
    {
      "type": "modify",
      "old_id": "17356fc2f4acea2c2181a4e3a5173e847f58e278",
      "old_mode": 33188,
      "old_path": "src/dawn/native/BindingInfo.cpp",
      "new_id": "61de3aa20dab0792c21acfc4055ce3cd02ca37f7",
      "new_mode": 33188,
      "new_path": "src/dawn/native/BindingInfo.cpp"
    },
    {
      "type": "modify",
      "old_id": "f53ef74bcfca28dd5bf5dbcf27d5d77c3e56c250",
      "old_mode": 33188,
      "old_path": "src/dawn/native/BindingInfo.h",
      "new_id": "0d021de6d63a95320c8a71a7b2ec0fc2c5b31f2b",
      "new_mode": 33188,
      "new_path": "src/dawn/native/BindingInfo.h"
    },
    {
      "type": "modify",
      "old_id": "1f7bb82b41863af7d4562dbbc1193b6604b7993f",
      "old_mode": 33188,
      "old_path": "src/dawn/native/opengl/ShaderModuleGL.cpp",
      "new_id": "aca3b806f0453c2967f6e1b7c1f89369caaa2757",
      "new_mode": 33188,
      "new_path": "src/dawn/native/opengl/ShaderModuleGL.cpp"
    },
    {
      "type": "modify",
      "old_id": "e3a914312178e471a956d7fe9c25dddaa0b1d51a",
      "old_mode": 33188,
      "old_path": "src/dawn/native/vulkan/BindGroupLayoutVk.cpp",
      "new_id": "1044cc6bf4d63a35bd1b7f8eccd6f94741762036",
      "new_mode": 33188,
      "new_path": "src/dawn/native/vulkan/BindGroupLayoutVk.cpp"
    }
  ]
}
