This commit is contained in:
Бранимир Караџић
2019-02-04 12:56:59 -08:00
parent 457f0700f6
commit 7b92fc0afd
3 changed files with 8 additions and 22 deletions

View File

@@ -14,10 +14,10 @@ TEST_CASE("StrideAlign")
REQUIRE(12 == bx::strideAlign(ii+1, 12) );
}
REQUIRE(0 == bx::strideAlign16(0, 12) );
REQUIRE(0 == bx::strideAlign<16>(0, 12) );
for (uint32_t ii = 0; ii < 12; ++ii)
{
REQUIRE(48 == bx::strideAlign16(ii+1, 12) );
REQUIRE(48 == bx::strideAlign<16>(ii+1, 12) );
}
uint32_t offset = 11;