)]}'
{
  "commit": "8144e88bce6cdf5fb565f7ac865d1ad441a5a716",
  "tree": "4cd345e0ebb9fa9954d213d0c2360c06e3241843",
  "parents": [
    "a9ede86a0bd81b825fdc679076395d19d6d086bc"
  ],
  "author": {
    "name": "Arman Uguray",
    "email": "armansito@google.com",
    "time": "Thu Apr 18 23:34:33 2024 -0700"
  },
  "committer": {
    "name": "Arman Uguray",
    "email": "armansito@google.com",
    "time": "Fri Apr 19 00:01:21 2024 -0700"
  },
  "message": "[shaders] Support \"enable\" via post-process directive\n\nThe WGSL source currently cannot contain the \"enable\" directive as naga\ndoesn\u0027t support it (see gfx-rs/wgpu#5476). This patch works around this\nlimitation by introducing the \"#enable\" post-process directive.\n\nLines that start with \"#enable\" get turned into an inline comment during\nthe pre-process stage and converted to a standard \"enable\" directive\nfollowing the intermediate module compilation step. This allows us to\npass the WGSL shaders with enable directives on to other WebGPU\nimplementations.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bbb9fe0828f91a25f9784ad4b2f96359ed8c19c8",
      "old_mode": 33188,
      "old_path": "crates/shaders/src/compile/mod.rs",
      "new_id": "34ad5f829ff7926fbdb700d7009dcc5e3c9bc140",
      "new_mode": 33188,
      "new_path": "crates/shaders/src/compile/mod.rs"
    },
    {
      "type": "modify",
      "old_id": "ba9a90ffe0e486349b618df00bfa7eff05d68db6",
      "old_mode": 33188,
      "old_path": "crates/shaders/src/compile/preprocess.rs",
      "new_id": "74195f5f160225911c8bb7d644c79b6ef805a21c",
      "new_mode": 33188,
      "new_path": "crates/shaders/src/compile/preprocess.rs"
    },
    {
      "type": "modify",
      "old_id": "a30b0dedeb520812c93ad8d4cd9ca2a0721a9f5c",
      "old_mode": 33188,
      "old_path": "shader/fine.wgsl",
      "new_id": "58e099f3cf23f4809fcd266968939c46703242c3",
      "new_mode": 33188,
      "new_path": "shader/fine.wgsl"
    },
    {
      "type": "modify",
      "old_id": "f392e3af2eb7c112e5f167b663fff3c3b15d9166",
      "old_mode": 33188,
      "old_path": "src/shaders/preprocess.rs",
      "new_id": "05f888a5a3756e7db5409f50c5279b7757c37703",
      "new_mode": 33188,
      "new_path": "src/shaders/preprocess.rs"
    }
  ]
}
