Skip to content

vitest for testing webgpu shaders? #262

@mighdoll

Description

@mighdoll

Would you like to explore having tests for the WebGPU shaders? I made a more isolated example test to consider.

Here's a PR on my forked lygia you can look at. It adds a simple test for one of the shaders in #260 (and simplifies the changes from some of the fluff you spotted in the earlier rev of #260). We can use this issue to discuss.

(I would have made the PR against the main lygia repo, but I couldn't figure out a way to diff against #260..)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions