mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
bx math API cleanup.
This commit is contained in:
@@ -121,10 +121,10 @@ void simd_bench()
|
||||
for (uint32_t ii = 0; ii < numVertices; ++ii)
|
||||
{
|
||||
float* ptr = (float*)&src[ii];
|
||||
ptr[0] = bx::fabs(ptr[0]);
|
||||
ptr[1] = bx::fabs(ptr[1]);
|
||||
ptr[2] = bx::fabs(ptr[2]);
|
||||
ptr[3] = bx::fabs(ptr[3]);
|
||||
ptr[0] = bx::abs(ptr[0]);
|
||||
ptr[1] = bx::abs(ptr[1]);
|
||||
ptr[2] = bx::abs(ptr[2]);
|
||||
ptr[3] = bx::abs(ptr[3]);
|
||||
}
|
||||
|
||||
simd_bench_pass(dst, src, numVertices);
|
||||
|
||||
Reference in New Issue
Block a user