linebender / linebender/vello

Add wgpu Hybrid browser tests to `vello_sparse_tests`

Open
#1,025 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-gpu testing
Dominant language
Rust
Stars
4.3k
Forks
300
Avg merge
2d 13h
Merged PRs (30d)
61

Description

This task tracks a followup to https://github.com/linebender/vello/pull/1020#discussion_r2109157411

Currently `wasm-pack test --chrome --features webgl` tests the WebGL renderer backend.

Completion criteria of this task depends on the command `wasm-pack test --chrome` testing the wgpu backend with WebGPU enabled. Currently this command will fail. I believe it simply detects 0 tests.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in vello_sparse_tests by running `wasm-pack test --chrome --features webgl` and then `wasm-pack test --chrome` to compare the existing WebGL and wgpu paths. Trace how the browser tests select the renderer; done means the no-feature command discovers and runs tests with WebGPU enabled instead of failing with zero tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
computer-graphics, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.