Skip to content

Commit

Permalink
WGSL textureSample tests
Browse files Browse the repository at this point in the history
Add all the textureSample tests. cube and cube-array tests with
derivatives are currently skipped or filtered out as the software
rasterizer can't handle this case correctly or at least doesn't
match too many GPUs. Rather than increase the tolerances I'm
hoping to find something I can measure, like the mapping between
derivative and mix-weight, that will give us some way to test
per GPU.

There's a big change to the soft rasterizer to compute derivatives
by setting up 2x2 pixels and computing the derivatives by the
differences between the directions.
  • Loading branch information
greggman committed Sep 20, 2024
1 parent a95f649 commit 6dd0281
Show file tree
Hide file tree
Showing 2 changed files with 2,053 additions and 280 deletions.
Loading

0 comments on commit 6dd0281

Please sign in to comment.