)]}'
{
  "commit": "2d5bbdc4d9de7bf12bb3da9cf87ca9c353ab6523",
  "tree": "bc188d11d349945b9a588dd53efd8e892f6621b9",
  "parents": [
    "efbc5caf2df7890a73072969685a03bb042a5a29"
  ],
  "author": {
    "name": "Nicolas Capens",
    "email": "capn@google.com",
    "time": "Tue Sep 01 11:17:32 2020 -0400"
  },
  "committer": {
    "name": "Nicolas Capens",
    "email": "nicolascapens@google.com",
    "time": "Tue Sep 01 17:51:20 2020 +0000"
  },
  "message": "Assert multisample resolve has equal input and output formats\n\nWhile our generic Blitter routine can handle resolving any multisample\nformat into any other format, the \u0027fastResolve()\u0027 method performs simple\nper-component sample averaging, thus assuming the input and output\nformats are identical.\n\nThis is also demanded by the Vulkan specification:\n- vkCmdResolveImage: \"srcImage and dstImage must have been created with\n  the same image format.\"\n- VkSubpassDescription: \"each resolve attachment that is not\n  VK_ATTACHMENT_UNUSED must have the same VkFormat as its corresponding\n  color attachment.\"\n\nThis change adds an assert which would catch violations of that.\n\nBug: b/147802090\nChange-Id: I23d2d463efbbaed04a782a0cf61b255bf1c25b03\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/48088\nPresubmit-Ready: Nicolas Capens \u003cnicolascapens@google.com\u003e\nTested-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\nKokoro-Result: kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Alexis Hétu \u003csugoi@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "29767d13c0e123c3b41921b23efcc5a7f8a7d095",
      "old_mode": 33188,
      "old_path": "src/Device/Blitter.cpp",
      "new_id": "f709c3158bc49dd344b1afba810d6859476f33c8",
      "new_mode": 33188,
      "new_path": "src/Device/Blitter.cpp"
    }
  ]
}
