)]}'
{
  "commit": "62650e52be88274d3a5cb30e352b42867be57ce9",
  "tree": "25f800fe520bd692884b2f75a62c6d5834cd7932",
  "parents": [
    "162cc95bdd5640aa23ae27c61cbc9cf08c81eb45"
  ],
  "author": {
    "name": "Colin Blundell",
    "email": "blundell@chromium.org",
    "time": "Fri Jan 12 15:44:51 2024 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Jan 12 15:44:51 2024 +0000"
  },
  "message": "[Mac] Simplify Metal descriptor creation for SharedTextureMemory\n\nInitializeFromSharedTextureMemoryIOSurface() currently calls\nCreateMetalTextureDescriptor() when creating single-planar textures. The\nlatter function is very general-purpose, whereas textures created from\nSharedTextureMemory have several fixed configuration parameters by\nSharedTextureMemory semantics and validation. This CL duplicates and\nsimplifies the code from CreateMetalTextureDescriptor() inline into\nInitializeFromSharedTextureMemoryIOSurface(). This will facilitate\nrelaxing Metal texture usages for this use case in a followup CL as well\nas moving this code into SharedTextureMemoryMTL.\n\nThis CL also makes a small related simplification for the multiplanar\ncase: the sample count can be hardcoded to 1 due to SharedTextureMemory\nsemantics rather than passing GetSampleCount().\n\nChange-Id: Ibbe8d9a4d80abeb3ff51154bab58e3592d16c6b9\nBug: dawn:2152, 1493854\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/169381\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nCommit-Queue: Colin Blundell \u003cblundell@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "946f4f64c662d2f1f65336b2971f7add6d5e7d76",
      "old_mode": 33188,
      "old_path": "src/dawn/native/metal/TextureMTL.mm",
      "new_id": "7247e27baabfba2bb0c31381ef8903768f8b8ca5",
      "new_mode": 33188,
      "new_path": "src/dawn/native/metal/TextureMTL.mm"
    }
  ]
}
