)]}'
{
  "commit": "e6f2f66c7c1930bf1f097c00497cffa724b3f80f",
  "tree": "05ac910f8b70f5552f45474b4b798b1c4a2048d4",
  "parents": [
    "530dde2636a09d3804fcc09f5804f57ff4791939"
  ],
  "author": {
    "name": "James Price",
    "email": "jrprice@google.com",
    "time": "Wed Aug 26 08:11:35 2026 -0700"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Aug 26 08:11:35 2026 -0700"
  },
  "message": "[glsl] Use structs for padding when possible\n\nWhen the number of padding bytes is large and the current offset is\naligned, use structures to pad out the struct to avoid emitting too\nmany members and initializer values. We use structures of uint values\nto avoid increasing the alignment of the containing struct.\n\nThis significantly reduces the number of members needed for large\namounts of padding, which helps with some fuzzer cases.\n\nAlso add proper handling for padding amounts smaller than 4 bytes,\nwhich can happen with f16 members.\n\nChange-Id: I8ccb22a64ed32a1bec92ee2e4b12c945e8409cfa\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/336055\nAuto-Submit: James Price \u003cjrprice@google.com\u003e\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\nReviewed-by: Ryan Harrison \u003crharrison@chromium.org\u003e\nCommit-Queue: James Price \u003cjrprice@google.com\u003e\nCommit-Queue: Ryan Harrison \u003crharrison@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "110c8f587278bb37f9a0873847d7704e77113f99",
      "old_mode": 33188,
      "old_path": "src/tint/lang/glsl/writer/access_test.cc",
      "new_id": "3606b8efd858d6d24900540d1610ca94f14fc5f0",
      "new_mode": 33188,
      "new_path": "src/tint/lang/glsl/writer/access_test.cc"
    },
    {
      "type": "modify",
      "old_id": "0844afd84f7a952dfff7c257d5a091ffdc940cad",
      "old_mode": 33188,
      "old_path": "src/tint/lang/glsl/writer/printer/printer.cc",
      "new_id": "c7ffb7d65792796be39f0dc6cb540a899d30e10b",
      "new_mode": 33188,
      "new_path": "src/tint/lang/glsl/writer/printer/printer.cc"
    },
    {
      "type": "modify",
      "old_id": "6a8887ca599997bf02501398a06306f4999947e2",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.glsl",
      "new_id": "cb1068f886472c91f21782d15dd33d843dd2d20e",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "821ede3b0939a2fe673659dc3d444f0a28a6328d",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.glsl",
      "new_id": "c17b88d1c897fecc382a418df2a81cc3ad62db3f",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "9485cd2f130c6cf18b445266f44361781de88f3b",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/storage/static_index/read_f16.wgsl.expected.glsl",
      "new_id": "8ec47fda957f256cb0e1f1de36a3cb3b01f0e975",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/storage/static_index/read_f16.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "30c3b44dc1c4db78afbe50341ed2ecddec246fd1",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/storage/static_index/write_f16.wgsl.expected.glsl",
      "new_id": "628e19e60ce2868fd7d9741b4781b40cd2ef53a0",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/storage/static_index/write_f16.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "4f4eab9532819cd53b63a7f4e707f91ce55107f6",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/storage/types/struct_f16.wgsl.expected.glsl",
      "new_id": "5b0ab2199325a72ed7d0be44f7680513b4afc3f9",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/storage/types/struct_f16.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "4bcddeeb91b2079ae3e49c695528fd2363638c1d",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_storage.wgsl.expected.glsl",
      "new_id": "70a1fa101c64c9b6db17dc2a17684d6d0b6320cd",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "aba34991c54ce9c69f380907d97c5797388fad62",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_storage.wgsl.expected.glsl",
      "new_id": "b21c2e3a133d1f4e0779ddf139f3ec0ac8f0dca7",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "301df4a7848fa3dae738d4eb37f3e3c39f78c288",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_storage.wgsl.expected.glsl",
      "new_id": "ffc307e82cb705143496d6a450afb594d036c6c8",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "b9556fe3986e838276ee3eba832f8b7bd9f4ea3c",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_storage.wgsl.expected.glsl",
      "new_id": "03bbfe8ddf56c4b84623e21caab91cd28c14320b",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "b7cef2954afcc393e28f72fe5c873614d00a21e0",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_storage.wgsl.expected.glsl",
      "new_id": "92bf4109c3781a8947e2de5df481e7697c16acba",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "708138067a4327f90591df38fbaf4c678bd9afde",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_storage.wgsl.expected.glsl",
      "new_id": "d2d24c971febc6def711aec85cf5731a12525e3a",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "da40c69812b5228b75b36fe46d5d76c0f4a5a5d6",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_storage.wgsl.expected.glsl",
      "new_id": "24d5f20844fd2f02cb64f39a86a87ed9da74b59c",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "4a2e68e1365c4324fb80e8d5d01a83c38d47adba",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_storage.wgsl.expected.glsl",
      "new_id": "e74c6d2a2ff371037d907116a64ed14917f13ab6",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "e5638782c6e9f54d618f7fa60795094dd3365659",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_storage.wgsl.expected.glsl",
      "new_id": "d02bbd109f8eff7a9afb4db40de257a4dcddbc63",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "7a3341c03473dd5ab0bb870428649228cfbb1c61",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_storage.wgsl.expected.glsl",
      "new_id": "d941dc911fd9444cdf324eeb34d02088a147850e",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "33a66a2742557e8c66653c0a083adc8ed1ee7f6c",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_storage.wgsl.expected.glsl",
      "new_id": "9d77e54322d0a54f0e13a4f2c810105fe50bab61",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "64d9d44b06c350f98fb7e76adac270128fd8b888",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_storage.wgsl.expected.glsl",
      "new_id": "b8b63589ea1ea539b2215787f0a17a1e7f6ac63d",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "edcf193f6768968b6437266aa524158334e3e282",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_storage.wgsl.expected.glsl",
      "new_id": "706a38e9a35d2427542768a43a9c397e1d8b4edc",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "ead8a164c8e0e4705c661f5da18fd996c9b63545",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_storage.wgsl.expected.glsl",
      "new_id": "dd0bed55fc76b76f1747136950bbf95e36973314",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "66c8b7cd611d0cc315a8474971d9b4a2e9f87b53",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_storage.wgsl.expected.glsl",
      "new_id": "6b8d9ee6cfc78bc3c29077afbe3e004756e2f03f",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "26e20d2bb732338ee513829db39d4a2a33ead505",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_storage.wgsl.expected.glsl",
      "new_id": "21cede81c7106eac2650b304dc74553f1b27c51a",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "3990c8321b1afe20d92df8a92f307ba0a531f2ae",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_storage.wgsl.expected.glsl",
      "new_id": "d6bee05bbe2f9e115fe576d41d828074a8960e31",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "aa7f9c3ca16a259f247a1264744e88e0bb215b5e",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_storage.wgsl.expected.glsl",
      "new_id": "05b75544a06cd79ec3846e10e8ff5cbe6f47cc15",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_storage.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "54977ae5b612d0a5a044d0dedb8a772381242634",
      "old_mode": 33188,
      "old_path": "test/tint/buffer/uniform/types/struct_f16.wgsl.expected.glsl",
      "new_id": "8dc3cd1c44d3289294a7d4d4c6a94f475dd4a1d0",
      "new_mode": 33188,
      "new_path": "test/tint/buffer/uniform/types/struct_f16.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "5d548adae596df39a76b33cde3d59a9ad2978ad1",
      "old_mode": 33188,
      "old_path": "test/tint/expressions/swizzle/write/packed_vec3/f16.wgsl.expected.glsl",
      "new_id": "5440d3e4e3c1e6b025ce4f1ddae897d3379a912d",
      "new_mode": 33188,
      "new_path": "test/tint/expressions/swizzle/write/packed_vec3/f16.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "9d2e01bb20c9eae2f6c1a75fd20613807f000d3d",
      "old_mode": 33188,
      "old_path": "test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.glsl",
      "new_id": "b0005be49150edd2c02fd9102882714d8357c893",
      "new_mode": 33188,
      "new_path": "test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "4099ca0bb56a6fc3e95554b892e26acf0d24d5bd",
      "old_mode": 33188,
      "old_path": "test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.glsl",
      "new_id": "c69fd93a307bf1f52f8bac488dd1198dba104c9b",
      "new_mode": 33188,
      "new_path": "test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "72518657c7071c63aead5fec122e6e83b018ffb7",
      "old_mode": 33188,
      "old_path": "test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.glsl",
      "new_id": "243e9349ecdee7fc58640b0c1f03f541162ae6b1",
      "new_mode": 33188,
      "new_path": "test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.glsl"
    }
  ]
}
