)]}'
{
  "commit": "880a3d6311971046304506bd18dc2e936447cb15",
  "tree": "d4f700c5921cece383299a8b111d8884654a165b",
  "parents": [
    "21ce5d2965485853c2f87e386fd356689486b7c2"
  ],
  "author": {
    "name": "Hao Li",
    "email": "hao.x.li@intel.com",
    "time": "Tue May 18 01:13:08 2021 +0000"
  },
  "committer": {
    "name": "Commit Bot service account",
    "email": "commit-bot@chromium.org",
    "time": "Tue May 18 01:13:08 2021 +0000"
  },
  "message": "Fix query index of availability in timestamp shader\n\nCurrently we use offset to calculate the index of the queries in\ntimestamp compute shader, which is incorrect. The offset is the buffer\noffset where we start to write the query results, and has nothing to\ndo with query index. In the query availability detection, the query\nindex should be based on the parameter firstQuery.\n\nAdd new test for resolving a timestamp query twice to the same\ndestination buffer with potentially overlapping ranges.\n\nBug: dawn:434\nChange-Id: I2b5c5b192cf5d987ac48187e8240a25937957f51\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/50760\nReviewed-by: Austin Eng \u003cenga@chromium.org\u003e\nCommit-Queue: Hao Li \u003chao.x.li@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fa1013f3a8074a570767c3cd9e95adc0fcef8c32",
      "old_mode": 33188,
      "old_path": "src/dawn_native/CommandEncoder.cpp",
      "new_id": "05d06565f1ebe8e6760fa2988653f4350d12927e",
      "new_mode": 33188,
      "new_path": "src/dawn_native/CommandEncoder.cpp"
    },
    {
      "type": "modify",
      "old_id": "efc851b0aba57342879ed496b09e50efde502e40",
      "old_mode": 33188,
      "old_path": "src/dawn_native/QueryHelper.cpp",
      "new_id": "b9f58c5af9622e4686793f9e497475d9232c84b9",
      "new_mode": 33188,
      "new_path": "src/dawn_native/QueryHelper.cpp"
    },
    {
      "type": "modify",
      "old_id": "82ed5e172b4345f799bf953ecb35c8da518faca1",
      "old_mode": 33188,
      "old_path": "src/dawn_native/QueryHelper.h",
      "new_id": "90f3398294b3f8ad468c291585428117c8a6e863",
      "new_mode": 33188,
      "new_path": "src/dawn_native/QueryHelper.h"
    },
    {
      "type": "modify",
      "old_id": "861a3f185297e0f0703cd146921ea8bbb3684fa9",
      "old_mode": 33188,
      "old_path": "src/tests/end2end/QueryTests.cpp",
      "new_id": "55aab8a73b49fa326f4bf2ccc87f73e2ac0722de",
      "new_mode": 33188,
      "new_path": "src/tests/end2end/QueryTests.cpp"
    },
    {
      "type": "modify",
      "old_id": "11b9a12118ddafa80ce921dd5e5c8ab6ab8e3bd9",
      "old_mode": 33188,
      "old_path": "src/tests/white_box/QueryInternalShaderTests.cpp",
      "new_id": "4dad29c986bc3c548ac77c1d180c7a0b5dbb5b84",
      "new_mode": 33188,
      "new_path": "src/tests/white_box/QueryInternalShaderTests.cpp"
    }
  ]
}
