Skip to content

Commit

Permalink
fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
fairywreath committed Jan 1, 2025
1 parent 14b6a3b commit fd61c11
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
if (index < 4)
{
// Quad 1.
// Should return true, index 0's expr is true while all other indices' expre are false.
// Should return true, index 0's expr is true while all other indices' expr are false.
outputBuffer[index] = uint(QuadAny((index % 4) == 0));
}
else if (index < 8)
Expand All @@ -26,15 +26,15 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
else if (index < 12)
{
// Quad 3.
// Should return false, index 0's expr is true while all other indices' expre are false.
// Should return false, index 0's expr is true while all other indices' expr are false.
outputBuffer[index] = uint(QuadAll((index % 4) == 0));
}
else
{
// Quad 4.
// Should return true, all indices' expr are true.
bool trueCondition = (5 == 5);
outputBuffer[index] = uint(QuadAny(trueCondition));
outputBuffer[index] = uint(QuadAll(trueCondition));
}
}

0 comments on commit fd61c11

Please sign in to comment.