)]}'
{
  "commit": "06a0f32c4af176cea4e68255581e5624e00d47e6",
  "tree": "3d1b4afe96626ceee6ae332bbd3801c206e9f94c",
  "parents": [
    "7d3a860bdf7d9a71fab7ddaf0cd3ad0bdd035686"
  ],
  "author": {
    "name": "Nicolas Capens",
    "email": "capn@google.com",
    "time": "Thu Sep 16 08:05:24 2021 -0400"
  },
  "committer": {
    "name": "Nicolas Capens",
    "email": "nicolascapens@google.com",
    "time": "Mon Sep 20 17:35:42 2021 +0000"
  },
  "message": "Cache optimized SPIR-V binaries instead of compiled shaders\n\nPreviously the optimization of the SPIR-V binary and the compilation\ninto a SpirvShader object took place in the same function, and the\nlatter would be cached for potential reuse. This change splits the\nbinary optimization step from the compilation step, and caches the\nresult of the former instead.\n\nSince spirvtools::Optimizer processes an entire SPIR-V module, while\nSpirvShader objects represent a single entry point, this will enable\nsubsequent changes to reuse optimized SPIR-V binaries containing\nmultiple entry points. This change still uses the same cache key,\nwhich includes the entry point.\n\nBug: b/197982536\nChange-Id: I64b185512b03beb9307b1606f505c9a854b876a1\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/57129\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": "aae21040cedc0d26da9a0ece86ea3dfcbfad7849",
      "old_mode": 33188,
      "old_path": "src/Vulkan/VkPipeline.cpp",
      "new_id": "0fb6f9d5e0544605d488886b6584e26a3d8725df",
      "new_mode": 33188,
      "new_path": "src/Vulkan/VkPipeline.cpp"
    },
    {
      "type": "modify",
      "old_id": "9c479e405be008da7a67f7a79d902f01327bbfb1",
      "old_mode": 33188,
      "old_path": "src/Vulkan/VkPipelineCache.hpp",
      "new_id": "c959e0da5d95bb18a499dfb5e934709d1413e7b4",
      "new_mode": 33188,
      "new_path": "src/Vulkan/VkPipelineCache.hpp"
    }
  ]
}
