)]}'
{
  "commit": "4bdded68d58ddbcaa7f243602b96f83833da98c0",
  "tree": "10743571c2c57ecb6b3ec6832b5bdac53e77c13d",
  "parents": [
    "edbd5a467b599c181c8406a252ca4afe2f5af01e"
  ],
  "author": {
    "name": "Zhaoming Jiang",
    "email": "zhaoming.jiang@intel.com",
    "time": "Thu May 19 01:32:48 2022 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu May 19 01:32:48 2022 +0000"
  },
  "message": "Dawn: vertex buffer never OOB with zero stride count draw/Indexed\n\nAccording to the spec, when call draw or drawIndexed, vertex step mode\nvertex buffer never OOB if (vertexCount + firstVertex) \u003d 0, and instance\nstep mode vertex buffer never OOB if (instanceCount + firstInstance) \u003d 0.\nModify the validation implementation to be aligned with the spec, and\nadd corresponding unit tests.\nThis patch also add unit test case for (strideCount - 1) * arrayStride +\nlastStride \u003c\u003d bound buffer size \u003c strideCount * arrayStride.\n\nBug: dawn:1287\nChange-Id: If444e400f5ac24f86ca12ff59fb886d8ef70e8c7\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90584\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nReviewed-by: Austin Eng \u003cenga@chromium.org\u003e\nCommit-Queue: Zhaoming Jiang \u003czhaoming.jiang@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eb3affb88ac20597f7bdbf460ea1464592eceb86",
      "old_mode": 33188,
      "old_path": "src/dawn/native/CommandBufferStateTracker.cpp",
      "new_id": "3a213fe48b2f852dffb06b0d6b0cba24efe0e51e",
      "new_mode": 33188,
      "new_path": "src/dawn/native/CommandBufferStateTracker.cpp"
    },
    {
      "type": "modify",
      "old_id": "06e14582ab8f7bf38d0ed69c5031fe3f041c3614",
      "old_mode": 33188,
      "old_path": "src/dawn/native/RenderEncoderBase.cpp",
      "new_id": "242e47be8398db340036290501f77bea10f6eb75",
      "new_mode": 33188,
      "new_path": "src/dawn/native/RenderEncoderBase.cpp"
    },
    {
      "type": "modify",
      "old_id": "e2f19063dbd6b65135b4d4f9bb2c5309579775f6",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/unittests/validation/DrawVertexAndIndexBufferOOBValidationTests.cpp",
      "new_id": "fa66bbaeec6909df74ed98f0fe1334d578e5b054",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/unittests/validation/DrawVertexAndIndexBufferOOBValidationTests.cpp"
    }
  ]
}
