mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 15:23:53 +00:00
Fixed a bug in test/gtx_simd_mat4->test_mulD
This commit is contained in:
parent
82f86a8057
commit
4479150858
1 changed files with 3 additions and 1 deletions
|
@ -181,7 +181,9 @@ void test_mulD(std::vector<glm::mat4> const & Data, std::vector<glm::mat4> & Out
|
|||
{
|
||||
_mm_prefetch((char*)&Data[i + 1], _MM_HINT_T0);
|
||||
glm::simdMat4 m(Data[i]);
|
||||
glm::detail::sse_mul_ps((__m128 const * const)&m, (__m128 const * const)&m, (__m128*)&Out[i]);
|
||||
glm::simdMat4 o;
|
||||
glm::detail::sse_mul_ps((__m128 const * const)&m, (__m128 const * const)&m, (__m128*)&o);
|
||||
Out[i] = *(glm::mat4*)&o;
|
||||
}
|
||||
|
||||
std::clock_t TimeEnd = clock();
|
||||
|
|
Loading…
Add table
Reference in a new issue