)]}'
{
  "commit": "531663f4669bbb466f020b4dd490f6e1dfd3c6b7",
  "tree": "64fe65ccfe860d8412bba86eaa5b0d48158afd02",
  "parents": [
    "8d5c7953376556f7eb07901ed8c4920ec8b21542"
  ],
  "author": {
    "name": "dan sinclair",
    "email": "dsinclair@chromium.org",
    "time": "Thu Nov 02 13:53:22 2023 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Nov 02 13:53:22 2023 +0000"
  },
  "message": "Fixup binding generator for duplicate bindings.\n\nWhen using multiple entry points it\u0027s possible for bindings to be\nduplicated and existing in different binding type hashes. Currently this\nwould trigger an error in Tint as it would report a duplicate binding.\n\nThis CL changes the duplicate checking to allow duplicate entries as\nlong as the `src,dst` pair are the same. So, different entry points can\nre-bindd the same source to the same dest without issue. This fixes up\nthe `tint` usage as it always remaps a binding to itself, so they are\nalways the same.\n\nThis does not effect Dawn as Dawn always runs the single entry point\ntransformation.\n\nBug: tint:2076\nChange-Id: I3a08ac77a5a640f08bca37a75bbd47c423fff8d1\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/158840\nCommit-Queue: dan sinclair \u003cdsinclair@chromium.org\u003e\nReviewed-by: James Price \u003cjrprice@google.com\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6b664470e31e00d8dbf32711565e8ae170855e61",
      "old_mode": 33188,
      "old_path": "src/tint/lang/spirv/writer/common/option_builder.cc",
      "new_id": "55181fc3d76b24d1e542ff4556bb2e635d5bf33d",
      "new_mode": 33188,
      "new_path": "src/tint/lang/spirv/writer/common/option_builder.cc"
    },
    {
      "type": "modify",
      "old_id": "c0f5e28e0ed9a4a88696b3d4923e9a51e23bebea",
      "old_mode": 33188,
      "old_path": "src/tint/lang/spirv/writer/common/options.h",
      "new_id": "96b585efd1a0aa0688ea3f820d6170e6653d7df5",
      "new_mode": 33188,
      "new_path": "src/tint/lang/spirv/writer/common/options.h"
    },
    {
      "type": "modify",
      "old_id": "1f429baaacc54f41cdb720fd880d8c3dbf713903",
      "old_mode": 33188,
      "old_path": "src/tint/lang/spirv/writer/helpers/generate_bindings.cc",
      "new_id": "21ef88bb205cf970ec111c39558d6ba6b7a1d5c0",
      "new_mode": 33188,
      "new_path": "src/tint/lang/spirv/writer/helpers/generate_bindings.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2e966041438000e81856c1ea3966cfa2c5efecf6",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0030a48e2e2d2a86d135767389eb06f094141ac5",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl.expected.dxc.hlsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0030a48e2e2d2a86d135767389eb06f094141ac5",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl.expected.fxc.hlsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0027ffdf26c291158aa3ced9ec17bff274d8c5de",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl.expected.glsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ff281a8e079763d4b316a8028a93e7ccd26d4b36",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl.expected.ir.spvasm"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c3c3d8c690a065118a737f5b2b02ce8aa0c69960",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl.expected.msl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8502b702cebeef29867bc1a0cbe76e76f3f026fc",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl.expected.spvasm"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "376de51c04425e8aa6067d9d964c5920b9c6c06b",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/2076.wgsl.expected.wgsl"
    }
  ]
}
