)]}'
{
  "commit": "8a2b6b4658e7b873024038dffa7ea709f21107cf",
  "tree": "b884166bab5aff37242330ab4081075dda2311a1",
  "parents": [
    "d9d3586652ac1f340fa92b4b4e39a60c6a77e4db"
  ],
  "author": {
    "name": "Andrew Jakubowicz",
    "email": "ajakubowicz@canva.com",
    "time": "Thu Jun 26 07:29:16 2025 +1000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jun 25 21:29:16 2025 +0000"
  },
  "message": "[vello_sparse_tests] Add vello_cpu scalar test coverage on WASM (#1065)\n\n### Context\n\nThis is a test only PR - adding additional test coverage for scalar\nvello_cpu tests running on the browser.\n\n**Before this PR:**\n\n```sh\n$ wasm-pack test --firefox --headless --features\u003dwebgl\ntest result: ok. 85 passed; 0 failed; 165 ignored; 0 filtered out; finished in 7.49s\n```\n\n**After this PR:**\n\n```sh\n$ wasm-pack test --firefox --headless --features\u003dwebgl\ntest result: ok. 581 passed; 0 failed; 169 ignored; 0 filtered out; finished in 22.18s\n```\n\nThis can also be seen [in\nCI](https://github.com/linebender/vello/actions/runs/15842375361/job/44657293874?pr\u003d1065#step:11:790)\nof this PR.\n\n### Changes \n\n- `load_image` has been moved into `utils` and has become a macro. This\nis required such that WASM can embed the image assets into the compiled\nWASM binary (as wasm doesn\u0027t have access to filesystem).\n- Most changes are to the `vello_test` proc macro, which now generates\ntwo additional tests, a u8 and f32 scalar wasm cpu test.\n\n### Test plan\n\nThis whole PR is the test.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "79f164ab99d635c17009beb28c67e2192a487984",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_dev_macros/src/test.rs",
      "new_id": "8f35d9fdb2877f539c79adbd3b43e5db724aa370",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_dev_macros/src/test.rs"
    },
    {
      "type": "modify",
      "old_id": "d8903ddd41d3e701a0a6ec0f39706e850f67d455",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_sparse_tests/README.md",
      "new_id": "ca44ee9e62de6b1ebacdc4e77c4f5b91dd539511",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_sparse_tests/README.md"
    },
    {
      "type": "modify",
      "old_id": "c55ba72ce1aed6cb606d80f1c9846b9f6dcd2998",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_sparse_tests/tests/image.rs",
      "new_id": "8bab917bc229b0dfd904dace04abf324214fcabd",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_sparse_tests/tests/image.rs"
    },
    {
      "type": "modify",
      "old_id": "e141a2b2770135675051ed627f00ba5fd6d11dd5",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_sparse_tests/tests/mix.rs",
      "new_id": "9b00cc810fae3e7bc40833a312de75f95245f936",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_sparse_tests/tests/mix.rs"
    },
    {
      "type": "modify",
      "old_id": "4d9f627b89c1163921c279933dc977f4d592516f",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_sparse_tests/tests/mod.rs",
      "new_id": "6f5658e505bc0e805dd793f7a52a2fbfdddc050d",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_sparse_tests/tests/mod.rs"
    },
    {
      "type": "modify",
      "old_id": "0d5469e3b79a05153750fe756a98d698d7928839",
      "old_mode": 33188,
      "old_path": "sparse_strips/vello_sparse_tests/tests/util.rs",
      "new_id": "a38200450f1af3f3e09ce6cbe7bfcbe44aad4fc0",
      "new_mode": 33188,
      "new_path": "sparse_strips/vello_sparse_tests/tests/util.rs"
    }
  ]
}
