)]}'
{
  "commit": "168d54a050758eb88e25757111b850bb1e97ed90",
  "tree": "2bf7ee929f68ad9d9a0f6151c0fe236b547f3cdf",
  "parents": [
    "ea65cb32ca9e29ddf3779262d669fdc8d846ab71"
  ],
  "author": {
    "name": "Antonio Maiorano",
    "email": "amaiorano@google.com",
    "time": "Thu Jun 19 11:27:58 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jun 19 11:27:58 2025 -0700"
  },
  "message": "d3d12: Add BlockCount and TexelCount typed integers\n\n- Add new typed integers TexelCount and BlockCount, along with strongly\n  typed versions of TexelOrigin3D, TexelExtent3D, and TexelBlockInfo.\n- Modify TextureCopySubresource, the return value from the\n  TextureCopySplitter API, to use these new strong types.\n- Update TextureCopySplitter implementation to convert input args to\n  strong types and use them.\n- Update CopySplitTests to use strong types.\n- Update CopySplitTests to also tests the relaxed versions of\n  TextureCopySplitter API (these were completely untested).\n- Fixed a bug in\n  Compute3DTextureCopySubresourceWithRelaxedRowPitchAndOffset when\n  setting `copyInfo1-\u003ebufferSize`, which was found by using strong\n  types.\n- Fixed a bug in CopySplitTests BaseBufferSpecs which when computing\n  bytesPerRow.\n- Added SCOPED_TRACE to CopySplitTests so that test failures can\n  actually be debugged, since each test actually performs multiple\n  subtests.\n\nA few things worth noting:\n- TexelCount and BlockCount are uint64_t, not uint32_t, because as typed\n  integers, they do not participate in type promotion to uint64_t, which\n  was being relied on for computing buffer offsets and such.\n- There are multiple type conversions between\n  Origin3D/Extent3D/TexelBlockInfo and their strongly typed\n  counterparts. Future CLs will remove many of these, and should\n  eventually only occur in one place, probably post-validation.\n\nBug: 424536624\nChange-Id: I1be5fd2fa2ee8faa6a0cbc0aa51b9ab7e2b3693b\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/247374\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nCommit-Queue: Antonio Maiorano \u003camaiorano@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b866cf07690497045c916580b4dd109688b9f8b3",
      "old_mode": 33188,
      "old_path": "src/dawn/native/BUILD.gn",
      "new_id": "f164a77effc203b5991f2649a3d7b1ab06923dac",
      "new_mode": 33188,
      "new_path": "src/dawn/native/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "33c17c83c979b54d1bf967dc2a4fb8b9ac580ece",
      "new_mode": 33188,
      "new_path": "src/dawn/native/BlockInfo.h"
    },
    {
      "type": "modify",
      "old_id": "3ff07d88db53b6f33352ed0d8f2a17e1f286181b",
      "old_mode": 33188,
      "old_path": "src/dawn/native/CMakeLists.txt",
      "new_id": "c5eae75e4f1814584c3389ab76be24fad58576dd",
      "new_mode": 33188,
      "new_path": "src/dawn/native/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "b11005fa2fc1bc7b7b7975d14f691e87f55ec8bd",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/TextureCopySplitter.cpp",
      "new_id": "2ec4d5df2a452e7eea2d922fadd940a9e8207025",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/TextureCopySplitter.cpp"
    },
    {
      "type": "modify",
      "old_id": "82a801274cb468f3f1d9b9d7e41e8ca16ccbd162",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/TextureCopySplitter.h",
      "new_id": "470337768dfe03c986cd4b7b1c786d058f80487e",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/TextureCopySplitter.h"
    },
    {
      "type": "modify",
      "old_id": "54bf6b4a96ff77aa5656932c40a33d4741d76217",
      "old_mode": 33188,
      "old_path": "src/dawn/native/d3d12/UtilsD3D12.cpp",
      "new_id": "a29497519cdd1ac27d5a8e4d107654a152f45b5a",
      "new_mode": 33188,
      "new_path": "src/dawn/native/d3d12/UtilsD3D12.cpp"
    },
    {
      "type": "modify",
      "old_id": "01d93993b35266d43bfd302f997bfc3e0a95182c",
      "old_mode": 33188,
      "old_path": "src/dawn/tests/unittests/d3d12/CopySplitTests.cpp",
      "new_id": "619158e66a0fb75128a4cab45089b485dc2b9d0e",
      "new_mode": 33188,
      "new_path": "src/dawn/tests/unittests/d3d12/CopySplitTests.cpp"
    }
  ]
}
