)]}'
{
  "commit": "91beb8d4902fa8fdb56110f5eb009e5390ca3bc0",
  "tree": "843a7a0ef06f6381906b35831c9889b0aaefdb4f",
  "parents": [
    "d0b5f1bce8301e4b56a9b4bfdd89cf7ed256f9d7"
  ],
  "author": {
    "name": "Nicolas Capens",
    "email": "capn@google.com",
    "time": "Tue Mar 06 09:55:35 2018 -0500"
  },
  "committer": {
    "name": "Nicolas Capens",
    "email": "nicolascapens@google.com",
    "time": "Tue Mar 06 16:01:51 2018 +0000"
  },
  "message": "Prevent crashing when no current program is set.\n\nThis fixes a regression caused by\nhttps://swiftshader-review.googlesource.com/14489\n\nContext::applyVertexBuffer() expects a valid program, so we need to\ncheck for it sooner. Not having a current program is not an error and\nmakes the draw call a no-op, but\ndEQP-GLES3.functional.negative_api.vertex_array.* still expects\nvalidation to happen before leaving the function. In particular,\nthe framebuffer completeness check has to be performed. Note that\nConvertPrimitiveType() should never return an error because we already\ncheck the primitive type in the entry function, sampler validation\ncan only be done when we have a valid program, and likewise\napplyVertexBuffer() requires a program, so these validations can still\nhappen after the early-out.\n\nChange-Id: I7036ca59d37ea0385f79bf87afd1eeeb9728f7af\nReviewed-on: https://swiftshader-review.googlesource.com/17228\nTested-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\nReviewed-by: Lingfeng Yang \u003clfy@google.com\u003e\nReviewed-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "627366dd740e470997ffc69d0ee986962acd89b7",
      "old_mode": 33188,
      "old_path": "src/Common/Version.h",
      "new_id": "f73a7e9b5ee63c6f3a8c42ae6adb447058a6d907",
      "new_mode": 33188,
      "new_path": "src/Common/Version.h"
    },
    {
      "type": "modify",
      "old_id": "92b9a0a7284a6fd3262e314f5ea7f154735478a1",
      "old_mode": 33188,
      "old_path": "src/OpenGL/libGLESv2/Context.cpp",
      "new_id": "fa081c5bb94ca6f991dafedb18a56658f6efc934",
      "new_mode": 33188,
      "new_path": "src/OpenGL/libGLESv2/Context.cpp"
    }
  ]
}
