)]}'
{
  "commit": "c41d693ddb0dac6d3b86ff9d533fa60a72b6d606",
  "tree": "d68e1c388c15d11517ad34bc0dd340424d9c9657",
  "parents": [
    "d723a14fc753eb54cdc20f3ef7faa276a0ee3dd2"
  ],
  "author": {
    "name": "Natalie Chouinard",
    "email": "chouinard@google.com",
    "time": "Mon Apr 13 12:23:53 2026 -0700"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Apr 13 12:23:53 2026 -0700"
  },
  "message": "[tint][hlsl] Don\u0027t promote const-zero structs and arrays\n\nAvoid promoting the initializers of module scope struct and array\nvariables that are constant zero and prefer initializing them with the\nHLSL zero-casting syntax. This works around a bug where DXC fails to\nconst fold global static const variables causing a validation error.\n\nBug: 498646773\nChange-Id: I502db4a5d5914809583b7a3036ccb0ed6a6a6964\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/302116\nReviewed-by: James Price \u003cjrprice@google.com\u003e\nCommit-Queue: Natalie Chouinard \u003cchouinard@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "82e263a74097f6b20883563a8dd2edd860717747",
      "old_mode": 33188,
      "old_path": "src/tint/lang/hlsl/writer/constant_test.cc",
      "new_id": "3153ead38bc9fdaa3b4d420969e720e02493639d",
      "new_mode": 33188,
      "new_path": "src/tint/lang/hlsl/writer/constant_test.cc"
    },
    {
      "type": "modify",
      "old_id": "fb1287f8a2fd81315f1c00fabadba763ae2e63af",
      "old_mode": 33188,
      "old_path": "src/tint/lang/hlsl/writer/raise/promote_initializers.cc",
      "new_id": "2b3e6fc4bf10a81d59bf5fd519bf69148dd9fc9b",
      "new_mode": 33188,
      "new_path": "src/tint/lang/hlsl/writer/raise/promote_initializers.cc"
    },
    {
      "type": "modify",
      "old_id": "fdce1443946a0440e241537868340865b51f18d7",
      "old_mode": 33188,
      "old_path": "src/tint/lang/hlsl/writer/raise/promote_initializers_test.cc",
      "new_id": "0d752fe6eaa2a6140ee7560ab5a489f12aa6f030",
      "new_mode": 33188,
      "new_path": "src/tint/lang/hlsl/writer/raise/promote_initializers_test.cc"
    },
    {
      "type": "modify",
      "old_id": "23daf515d97f9aeab4b0781dcfe69acbd6658b1d",
      "old_mode": 33188,
      "old_path": "test/tint/bug/chromium/1367602_private_space_initializer_valid_count.wgsl.expected.dxc.hlsl",
      "new_id": "40dc903ea61b0bd0a022e15780ba7db4a596e95c",
      "new_mode": 33188,
      "new_path": "test/tint/bug/chromium/1367602_private_space_initializer_valid_count.wgsl.expected.dxc.hlsl"
    },
    {
      "type": "modify",
      "old_id": "23daf515d97f9aeab4b0781dcfe69acbd6658b1d",
      "old_mode": 33188,
      "old_path": "test/tint/bug/chromium/1367602_private_space_initializer_valid_count.wgsl.expected.fxc.hlsl",
      "new_id": "40dc903ea61b0bd0a022e15780ba7db4a596e95c",
      "new_mode": 33188,
      "new_path": "test/tint/bug/chromium/1367602_private_space_initializer_valid_count.wgsl.expected.fxc.hlsl"
    },
    {
      "type": "modify",
      "old_id": "c6d0c6b830fc060a9f4e78a21b7784d8e4cf2631",
      "old_mode": 33188,
      "old_path": "test/tint/types/module_scope_var_initializers.wgsl.expected.dxc.hlsl",
      "new_id": "8a2f1ad7f4cbbf7e219088352b777ba16154d114",
      "new_mode": 33188,
      "new_path": "test/tint/types/module_scope_var_initializers.wgsl.expected.dxc.hlsl"
    },
    {
      "type": "modify",
      "old_id": "c6d0c6b830fc060a9f4e78a21b7784d8e4cf2631",
      "old_mode": 33188,
      "old_path": "test/tint/types/module_scope_var_initializers.wgsl.expected.fxc.hlsl",
      "new_id": "8a2f1ad7f4cbbf7e219088352b777ba16154d114",
      "new_mode": 33188,
      "new_path": "test/tint/types/module_scope_var_initializers.wgsl.expected.fxc.hlsl"
    },
    {
      "type": "modify",
      "old_id": "af7202ac87137d2e341a9a5589b5fe5757770fb4",
      "old_mode": 33188,
      "old_path": "test/tint/var/inferred/global.wgsl.expected.dxc.hlsl",
      "new_id": "0466b6b73e39ff16ffc2c1dafc46a17f9bdff6e3",
      "new_mode": 33188,
      "new_path": "test/tint/var/inferred/global.wgsl.expected.dxc.hlsl"
    },
    {
      "type": "modify",
      "old_id": "af7202ac87137d2e341a9a5589b5fe5757770fb4",
      "old_mode": 33188,
      "old_path": "test/tint/var/inferred/global.wgsl.expected.fxc.hlsl",
      "new_id": "0466b6b73e39ff16ffc2c1dafc46a17f9bdff6e3",
      "new_mode": 33188,
      "new_path": "test/tint/var/inferred/global.wgsl.expected.fxc.hlsl"
    }
  ]
}
