)]}'
{
  "commit": "7997cbc34bb2d5db771f0d0b2497aeb665168ed2",
  "tree": "d49b9169ca2d12e9fbbb443088f16fc02d5060e7",
  "parents": [
    "5db06cf1f22bf8e59b3cd5441bfaa860f164ae56"
  ],
  "author": {
    "name": "Alexis Hetu",
    "email": "sugoi@google.com",
    "time": "Mon Oct 18 15:05:17 2021 -0400"
  },
  "committer": {
    "name": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Oct 18 21:26:29 2021 +0000"
  },
  "message": "Fix uninitialized memoryOwner on unused DescriptorSet\n\nIn the Renderer, we call DescriptorSet::PrepareForSampling() on all\ninput descriptors, not only the ones used in the current draw pass.\nBecause of this, DescriptorSet::PrepareForSampling() might be called\non uninitialized descriptors. Before this CL:\nhttps://swiftshader-review.googlesource.com/c/SwiftShader/+/57889\nthat memory used to be zeroed out, so that wasn\u0027t an issue, but now\nthe memoryOwner pointer may be used without being initialized. This\nCL adds an initialization for the memoryOwner field on structures\nwhich use it (SampledImageDescriptor and StorageImageDescriptor).\n\nBug: chromium:1260606\nChange-Id: I41a02a8b652a48b790d8aacf16fd28d26e527336\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/58308\nPresubmit-Ready: Alexis Hétu \u003csugoi@google.com\u003e\nTested-by: Alexis Hétu \u003csugoi@google.com\u003e\nKokoro-Result: kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\nCommit-Queue: Alexis Hétu \u003csugoi@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "63a8a90c0643f3ee37a091c61361a03545472983",
      "old_mode": 33188,
      "old_path": "src/Vulkan/VkDescriptorSetLayout.cpp",
      "new_id": "f839d6b852e21a25977f14a301e9ed5e97eb721c",
      "new_mode": 33188,
      "new_path": "src/Vulkan/VkDescriptorSetLayout.cpp"
    }
  ]
}
