Rust-GPU / Rust-GPU/rust-gpu

Use VulkanShaderExamples rust-gpu port as difftests

Open
#316 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
Rust
Stars
3.4k
Forks
125
PR merge metrics
No merged PRs in 30d

Description

While we have difftests, Use https://github.com/Rust-GPU/VulkanShaderExamples as benchmarks contains a lot of real-world shaders across multiple impls. We should use them as an additional difftest corpus. I am unsure if it is currently set up to render to a file to compare, but at least there is a "pause" method and perhaps a way to step through time.

related to https://github.com/Rust-GPU/rust-gpu/issues/315

Contributor guide

Open the contributing guide

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 by reading the existing difftests and related issue #315, then inspect the VulkanShaderExamples repository, especially its pause or time-stepping approach. Determine how its shaders can be added as a corpus and whether rendering can be captured for comparison. Done means the examples run as additional difftests with repeatable comparison results.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, computer-graphics, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.