)]}'
{
  "commit": "4faf3581b87541c8bdb93c0ae8baaba74ef6c4cf",
  "tree": "e86093e2be77dbdff1422799919a586fbc72813f",
  "parents": [
    "25d564157b87b683d8f8f50aa773f6a384d1aacf"
  ],
  "author": {
    "name": "Zhaoming Jiang",
    "email": "zhaoming.jiang@intel.com",
    "time": "Wed Oct 26 08:23:25 2022 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Oct 26 08:23:25 2022 +0000"
  },
  "message": "Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return\n\nThis CL fix the spv code generated for atomicCompareExchangeWeak,\nspecifically the emulated `exchanged` field of the returned struct.\nIt should be true if and only if the `old_value`, i.e. the return value\nof spv `OpAtomicCompareExchange`, equals to the comparator, rather than\nequals to new value.\n\nFixed: tint:1663\nChange-Id: I1cb0de6bb6b90ae681f5053b8bdd6f6b247146f6\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107180\nReviewed-by: Ben Clayton \u003cbclayton@google.com\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nCommit-Queue: Zhaoming Jiang \u003czhaoming.jiang@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "29f2f850ec312b0abb4996778a14fb99a535f182",
      "old_mode": 33188,
      "old_path": "src/tint/writer/spirv/builder.cc",
      "new_id": "97a29f3eded1fa54ad1d058c41988992e3c7e9f6",
      "new_mode": 33188,
      "new_path": "src/tint/writer/spirv/builder.cc"
    },
    {
      "type": "modify",
      "old_id": "dddc47545c7af81e160334c46f70fbca7d2d4c67",
      "old_mode": 33188,
      "old_path": "src/tint/writer/spirv/builder_builtin_test.cc",
      "new_id": "3c97da7ca9a6115ac2707e5104ffb24a6aed2190",
      "new_mode": 33188,
      "new_path": "src/tint/writer/spirv/builder_builtin_test.cc"
    },
    {
      "type": "modify",
      "old_id": "84757262c0d4353665df8f5ddd94ae4ca452a5b9",
      "old_mode": 33188,
      "old_path": "test/tint/bug/tint/1573.wgsl.expected.spvasm",
      "new_id": "c24a87f84a0f44525d25455f9de8189fec1f08ce",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/1573.wgsl.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "be3e7f0a6ada0fc84d23bf42c698d2062c36fff6",
      "old_mode": 33188,
      "old_path": "test/tint/bug/tint/1574.wgsl.expected.spvasm",
      "new_id": "79f74c63d77b8b38572c56367cf3cbedae938d58",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/1574.wgsl.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "0c17de2d92146c5f5a4a980bbcc6d1b757029072",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.spvasm",
      "new_id": "b7e56391343708d4ce8a3c97884f6e78b7b5c977",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "279b70fb8516d9b49d8a0630473173c997dd6934",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.spvasm",
      "new_id": "4ea59127a23dc8f7f8eb180b3d170b4cd5278b9f",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "b6cb96d4eec5a6610de5dc919c1e3a6aa85aefb7",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.spvasm",
      "new_id": "2c9ca9f3c8c2649fde2dc654365dfb35794e2e57",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "14223f77604f412d426bdd172d5af084d0bd7ff4",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.spvasm",
      "new_id": "89af02b5c815d4a065bf04b78e0ccb02f1064370",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "09999696466c6bf1195970861c9587d75712bab3",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.spvasm",
      "new_id": "5ae726d031c997a2a1b43180172436baeef6cc5c",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "3723643514b6c86635a1f7331faeccb3f83cce44",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/63d8e6.wgsl.expected.spvasm",
      "new_id": "57368c472edcc33041f8d6470e93dddff69d098f",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/63d8e6.wgsl.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "b163b6f12cd523a554ea49fc1a59e3a8d9f36a89",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/83580d.wgsl.expected.spvasm",
      "new_id": "05cd15a8eaa1f63d9d043c1c685730d99ba7c9dd",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/83580d.wgsl.expected.spvasm"
    },
    {
      "type": "modify",
      "old_id": "b4e3102de610051c9316ebe36b385f1a58bff38e",
      "old_mode": 33188,
      "old_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.spvasm",
      "new_id": "531d46877e46ca9e8d5a1c2a902291c398c4b049",
      "new_mode": 33188,
      "new_path": "test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.spvasm"
    }
  ]
}
