)]}'
{
  "commit": "be30aa6471c802eb9b29802b3b0ad379ed7cb55a",
  "tree": "05d5f1a04dbb51d3fd9775187e91f0e2602a211c",
  "parents": [
    "16826bfa6f73e938d9f4e01c94af1f8d71028efc"
  ],
  "author": {
    "name": "Nicolas Capens",
    "email": "capn@google.com",
    "time": "Wed Aug 10 11:34:51 2022 -0400"
  },
  "committer": {
    "name": "Nicolas Capens",
    "email": "nicolascapens@google.com",
    "time": "Thu Aug 11 02:56:11 2022 +0000"
  },
  "message": "Support constructing a SIMD constant from a lambda expression\n\nThis makes it easier to construct complex SIMD width dependent constant\nvectors. The lambda expression takes the lane index as input and must\nreturn the value for that lane.\n\nExample usage:\n\nSIMD::Int([](int i) { return 1 \u003c\u003c i; })\n\nProduces {1, 2, 4, 8, 16, 32, ...}.\n\nNote we also still support construction from an std::vector\u003c\u003e. This is\nmore verbose as it requires creating a temporary and explicitly looping\nfor SIMD::Width iterations, but may be easier to read in some cases. It\nalso supports shorter input vectors, by implicitly applying a modulo\noperation, which this new lambda approach does not. So they both have\ntheir uses.\n\nBug: b/214583550\nChange-Id: Ib0b2024cf57254bfa9cc7836ef656f2f507fe21a\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/67429\nReviewed-by: Alexis Hétu \u003csugoi@google.com\u003e\nTested-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ddf2d5630d7de5202c4476e4fac109ebc3de13cf",
      "old_mode": 33188,
      "old_path": "src/Reactor/SIMD.cpp",
      "new_id": "ee02cdb2001f0e72936f1b21bddfcf4207063c03",
      "new_mode": 33188,
      "new_path": "src/Reactor/SIMD.cpp"
    },
    {
      "type": "modify",
      "old_id": "650870400d2511d142d5685a7728235bbce14731",
      "old_mode": 33188,
      "old_path": "src/Reactor/SIMD.hpp",
      "new_id": "cf54f293100d78c90adde690f8e8755d4d244f5c",
      "new_mode": 33188,
      "new_path": "src/Reactor/SIMD.hpp"
    }
  ]
}
