Skip to content
Snippets Groups Projects

tests: Check that side effects do not happen after discard.

Merged Giovanni Mascellani requested to merge giomasce/vkd3d:etna into master
1 unresolved thread

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
42 y[uint2(0, 0)] += 1;
43 if (x.x == 9.0f)
44 discard;
45 if (pos.x == 0.5 && pos.y == 0.5)
46 y[uint2(1, 0)] += 1;
47 return x;
48 }
49
50 [test]
51 uniform 0 float4 1 2 3 4
52 todo(glsl) draw quad
53 probe all rgba (1, 2, 3, 4)
54 if(sm<6) probe uav 1 (0, 0) r (1.0)
55 if(sm<6) probe uav 1 (1, 0) r (1.0)
56 if(sm>=6) probe uav 0 (0, 0) r (1.0)
57 if(sm>=6) probe uav 0 (1, 0) r (1.0)
  • Alexandre Julliard approved this merge request

    approved this merge request

  • Alexandre Julliard added 62 commits

    added 62 commits

    Compare with previous version

  • Giovanni Mascellani mentioned in merge request !784 (merged)

    mentioned in merge request !784 (merged)

  • Please register or sign in to reply
    Loading