)]}'
{
  "commit": "45510ad8a77862c1ce2e33f0efed41544f5f048b",
  "tree": "88fe7c378ee7082d5596a4c210143815121a5a51",
  "parents": [
    "f3b74473010b85ace647c7c302b21d82fb91e399"
  ],
  "author": {
    "name": "Nicolas Capens",
    "email": "capn@google.com",
    "time": "Thu Jun 04 22:26:40 2020 -0400"
  },
  "committer": {
    "name": "Nicolas Capens",
    "email": "nicolascapens@google.com",
    "time": "Thu Jun 11 03:17:40 2020 +0000"
  },
  "message": "Validate the SPIR-V code in debug builds\n\nhttps://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkShaderModuleCreateInfo.html\nstates that the \"code must adhere to the validation rules described by\nthe Validation Rules within a Module section of the SPIR-V Environment\nappendix\"\n\nThis makes it the application\u0027s responsibility to only pass valid SPIR-V\ncode to vkCreateShaderModule. However, improperly validated code\nmay cause bugs which are hard to root cause, so validate in our\nimplementation as well in debug builds. This can also help with fuzzing\nefforts.\n\nBug: b/158228522\nChange-Id: Ib4f41fa70a021fb902e1f8504005b87c92286942\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/45569\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": "337e1881d35835b5820358dd11e8f688f98afe26",
      "old_mode": 33188,
      "old_path": "src/Vulkan/VkShaderModule.cpp",
      "new_id": "55c091da1bc6031db810ad9db40811ca8eecc562",
      "new_mode": 33188,
      "new_path": "src/Vulkan/VkShaderModule.cpp"
    }
  ]
}
