)]}'
{
  "commit": "a5df8c51ea116ba5c9926725637da323f4b5d0ed",
  "tree": "86edf593cd6ad50d2bbca3b54f6a97a81e5c1a34",
  "parents": [
    "43c7c10ca0b712ce3f18d5dff4a7cac4ed53d17f"
  ],
  "author": {
    "name": "dan sinclair",
    "email": "dsinclair@chromium.org",
    "time": "Mon Mar 17 14:24:52 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Mar 17 14:24:52 2025 -0700"
  },
  "message": "[glsl] Only apply BGRA swizzle to `in` address space.\n\nCurrently the `bgra_swizzle` values are getting applied to all address\nspaces. This means if we have a `location(0)` in the `in` address space\nand a `location(0)` in the `out` address space we\u0027ll apply the BGRA\nswizzle to both of them. Is then can cause issues if the output address\nspace item isn\u0027t a `vec4f` as the assignment will fail.\n\nChange the `bgra_swizzle` code to only apply to `in` address space\nlocations.\n\nBug: 389559096\nChange-Id: I992ff2612627644c791913a65d9c6e25a9aa8a34\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/231494\nCommit-Queue: dan sinclair \u003cdsinclair@chromium.org\u003e\nReviewed-by: James Price \u003cjrprice@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1bbb711bf4725063b38b7f51def3a4403b9c0ce4",
      "old_mode": 33188,
      "old_path": "src/tint/lang/glsl/writer/raise/shader_io.cc",
      "new_id": "cbae280448d14650612cb6b0c5d5165e37e9f84c",
      "new_mode": 33188,
      "new_path": "src/tint/lang/glsl/writer/raise/shader_io.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8b0e2eb9899f6a92f994ab0a62e81e3b604bff16",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "269e4025283b59a90e2e36b89cb58d1dc0b80f80",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.dxc.hlsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "269e4025283b59a90e2e36b89cb58d1dc0b80f80",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.fxc.hlsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4a55df84edc551b1871c6316e87acc688cadf61b",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.glsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cdda84bcf5bf2d9fdf0c52510425efc056210283",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.ir.dxc.hlsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cdda84bcf5bf2d9fdf0c52510425efc056210283",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.ir.fxc.hlsl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "72553187ae1ca2a36e6a47287d81e00a8e5f438f",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.msl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "981bd83fa9f30ccd9e29542003f0f3f11f059a5c",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.spvasm"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0626524bdb3c102694872e3ab83f51d639012887",
      "new_mode": 33188,
      "new_path": "test/tint/bug/tint/389559096.wgsl.expected.wgsl"
    }
  ]
}
