Skip to content
Snippets Groups Projects

tests/hlsl: Add 64-bit wave op tests.

Merged Conor McCarthy requested to merge cmccarthy/vkd3d:wave_ops_64 into master
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
61 [test]
62 todo dispatch 4 1 1
63 probe uav 1 (0) rgd (14.0, 4.5)
64 probe uav 1 (1) rgd (14.0, 4.5)
65 probe uav 1 (2) rgd (14.0, 4.5)
66 probe uav 1 (3) rgd (14.0, 4.5)
67
68
69 [compute shader]
70 RWBuffer<float2> u0;
71 RWBuffer<double2> u1;
72
73 [numthreads(4, 1, 1)]
74 void main(uint id : SV_GroupIndex)
75 {
76 u1[id] = WaveActiveProduct(u0[id]);
  • Giovanni Mascellani
    Giovanni Mascellani @giomasce started a thread on an outdated change in commit d7405d2d
  • 455 [compute shader]
    456 RWBuffer<int64_t2> u0;
    457 RWBuffer<int64_t2> u1;
    458
    459 [numthreads(4, 1, 1)]
    460 void main(uint id : SV_GroupIndex)
    461 {
    462 u1[id] = WaveActiveMax(u0[id]);
    463 }
    464
    465 [test]
    466 todo dispatch 4 1 1
    467 probe uav 1 (0) rgbai (0, 5, -1, 2)
    468 probe uav 1 (1) rgbai (0, 5, -1, 2)
    469 probe uav 1 (2) rgbai (0, 5, -1, 2)
    470 probe uav 1 (3) rgbai (0, 5, -1, 2)
  • I guess it doesn't make sense to test, say, 16 bit types because they end up being treated as 32 bit anyway?

  • This is a big unpolished and I'm planning to split everything out to the existing test files. We will need 16-bit tests when 6.2 starts going upstream, so it makes sense to stick with the existing categories.

  • Conor McCarthy added 1254 commits

    added 1254 commits

    Compare with previous version

  • Conor McCarthy marked this merge request as ready

    marked this merge request as ready

  • The tests are now appended to the wave op float/uint/int test scripts. I fixed the tests which performed the wave op on float, and rebased.

  • Conor McCarthy added 32 commits

    added 32 commits

    Compare with previous version

  • Rebased.

  • Giovanni Mascellani approved this merge request

    approved this merge request

  • Henri Verbeet approved this merge request

    approved this merge request

  • Henri Verbeet added 36 commits

    added 36 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading