)]}'
{
  "commit": "97abd958de339a267933e2da2166e9fb09e9a4e9",
  "tree": "2b5fdcb5a3681c3b057756ecff002c473efbaa70",
  "parents": [
    "35c93497c88c4a754c8378d2f9894685455d078f"
  ],
  "author": {
    "name": "Kai Ninomiya",
    "email": "kainino@chromium.org",
    "time": "Tue Oct 13 08:14:01 2026 -0700"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Oct 13 08:14:01 2026 -0700"
  },
  "message": "[dawn][tint] ArgBufs: match shader layout to argbuf encoder layout\n\nIt turns out the MSL struct is a literal struct that views the argbuf\nmemory. It needs to have exactly the same layout as the argbuf encoder.\nTo do this, pass the entire layout in from Dawn to Tint, and have Tint\nreplicate that struct. Tint uses the types provided by the shader if\nany, and otherwise generates placeholder types.\n\ndawn_end2end_tests --enable-backend-validation --enable-toggles\u003dmetal_use_argument_buffers:\n- BindGroupTests.ReusedUBO\n- BindGroupTests.UBOSamplerAndTexture\n- BindGroupTests.MultipleBindLayouts\n\nNotes on internal-only binding enum values:\n- The only ones that matter are the storage buffer binding types, the\n  others are just for completeness.\n- Currently \"unknown\" filtering/filterability is unhandled, unsure if it\n  will need to be.\n- Tests:\n  - MetalBufferRobustnessTest.*\n  - BufferZeroInitTest.IndirectBuffer*\n  - InternalStorageBufferBindingTests.QueryResolveBufferBoundAsInternalStorageBuffer\n  - ... and random others I didn\u0027t keep track of\n\nBug: 363031535\nChange-Id: I2dc2903098a7e21d44e03503167b9b6d4a332be2\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/294535\nAuto-Submit: Kai Ninomiya \u003ckainino@chromium.org\u003e\nCommit-Queue: dan sinclair \u003cdsinclair@chromium.org\u003e\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "39a277757462952383f4d94a7c421fb5a0c71100",
      "old_mode": 33188,
      "old_path": "src/dawn/native/TintUtils.cpp",
      "new_id": "e5d53635d8d716c648c6e5f91904d117b20ed2a7",
      "new_mode": 33188,
      "new_path": "src/dawn/native/TintUtils.cpp"
    },
    {
      "type": "modify",
      "old_id": "ac938267f14300fe74c3f19960e456d2651ad37c",
      "old_mode": 33188,
      "old_path": "src/dawn/native/TintUtils.h",
      "new_id": "e0619f410edb8f30600c17a916a14a27792295bd",
      "new_mode": 33188,
      "new_path": "src/dawn/native/TintUtils.h"
    },
    {
      "type": "modify",
      "old_id": "a63265969fd562d970a8ebca905fd8bb8ef3b86d",
      "old_mode": 33188,
      "old_path": "src/dawn/native/metal/BindGroupLayoutMTL.h",
      "new_id": "9e0a56e736659bea2329a999fbba570315e38104",
      "new_mode": 33188,
      "new_path": "src/dawn/native/metal/BindGroupLayoutMTL.h"
    },
    {
      "type": "modify",
      "old_id": "f6bb201e6d22cabb95bfeef327586f02190fca79",
      "old_mode": 33188,
      "old_path": "src/dawn/native/metal/BindGroupLayoutMTL.mm",
      "new_id": "208c0d047a085313981f9279fa7b75561f0b4728",
      "new_mode": 33188,
      "new_path": "src/dawn/native/metal/BindGroupLayoutMTL.mm"
    },
    {
      "type": "modify",
      "old_id": "1d9c832bfa991a3109dd42f5b878609032f197e8",
      "old_mode": 33188,
      "old_path": "src/dawn/native/metal/ShaderModuleMTL.mm",
      "new_id": "aa9fce9caed324a62da001b248cddbd27730e9cb",
      "new_mode": 33188,
      "new_path": "src/dawn/native/metal/ShaderModuleMTL.mm"
    },
    {
      "type": "modify",
      "old_id": "e42e0bc738142a1770dc4e5fae3839f72f3b6a67",
      "old_mode": 33188,
      "old_path": "src/tint/api/common/resource_type.h",
      "new_id": "733f1acb5b3d9dc08c23af1b4ae209180bef7686",
      "new_mode": 33188,
      "new_path": "src/tint/api/common/resource_type.h"
    },
    {
      "type": "modify",
      "old_id": "5bfb3f440b5246b211c773b23f524a6dbe8c48be",
      "old_mode": 33188,
      "old_path": "src/tint/cmd/tint/main.cc",
      "new_id": "ae59b678fbce9cdb235ff1f8808c0d10e3029187",
      "new_mode": 33188,
      "new_path": "src/tint/cmd/tint/main.cc"
    },
    {
      "type": "modify",
      "old_id": "0c11a53022d89d4079e5672b6a8d0478dcb8e9c5",
      "old_mode": 33188,
      "old_path": "src/tint/lang/core/type/resource_type.cc",
      "new_id": "189eac747ac5de2ee7d83fa2d52a2219fc01e688",
      "new_mode": 33188,
      "new_path": "src/tint/lang/core/type/resource_type.cc"
    },
    {
      "type": "modify",
      "old_id": "93d51e5f1a86cae21d6d57c5f36bf74d2bbe7ee7",
      "old_mode": 33188,
      "old_path": "src/tint/lang/msl/writer/common/options.h",
      "new_id": "bd8d5a415515f809ccfc4680202df3eb47206e5b",
      "new_mode": 33188,
      "new_path": "src/tint/lang/msl/writer/common/options.h"
    },
    {
      "type": "modify",
      "old_id": "cd03a66ffef6316a8b094ed52bb728d7a6874c11",
      "old_mode": 33188,
      "old_path": "src/tint/lang/msl/writer/raise/argument_buffers.cc",
      "new_id": "14c06a29c3ec53849869d2eb7ae88d2fd4a922b5",
      "new_mode": 33188,
      "new_path": "src/tint/lang/msl/writer/raise/argument_buffers.cc"
    },
    {
      "type": "modify",
      "old_id": "5da6df4ebd441b79a3252ea73009a96fd57d6b85",
      "old_mode": 33188,
      "old_path": "src/tint/lang/msl/writer/raise/argument_buffers_test.cc",
      "new_id": "22dd138bf14d8fe7f65d8f72b98eb3d63c87df9d",
      "new_mode": 33188,
      "new_path": "src/tint/lang/msl/writer/raise/argument_buffers_test.cc"
    },
    {
      "type": "modify",
      "old_id": "0c0194085ff0a0347f1f039c660f07e099892396",
      "old_mode": 33188,
      "old_path": "test/tint/samples/compute_boids_arg_buffer.wgsl",
      "new_id": "3f4579372f5730e6513a2bf7ec419d30de3e11c0",
      "new_mode": 33188,
      "new_path": "test/tint/samples/compute_boids_arg_buffer.wgsl"
    }
  ]
}
